[konsole] [Bug 465448] New: Allow to manipulate splits programmatically

Gustavo bugzilla_noreply at kde.org
Tue Feb 7 21:42:55 GMT 2023


https://bugs.kde.org/show_bug.cgi?id=465448

            Bug ID: 465448
           Summary: Allow to manipulate splits programmatically
    Classification: Applications
           Product: konsole
           Version: 22.12.2
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: split-view
          Assignee: konsole-devel at kde.org
          Reporter: cadastros at claroenigma.com.br
  Target Milestone: ---

SUMMARY

Konsole lacks a way to manipulate splits programmatically. I can't create,
focus, resize or move splits, neither by its CLI interface nor by DBUS. It
would be useful if it provided such an API.

For instance, on Kitty, that's how one creates a new split [1]:

kitty @ launch --type=tab --tab-title "My Tab" --keep-focus bash

And that's how one changes focus to another tab/split:

kitty @ focus-window --match 'title:^Output'

Third party programs can then use those APIs to manipulate splits. Kakoune
(which implements a client/server architecture) for instance uses them to spawn
clients on new splits [2].

STEPS TO REPRODUCE
1. On Konsole, type: konsole --help
2. Type:  qdbus $KONSOLE_DBUS_SERVICE

OBSERVED RESULT

There's no CLI option nor DBUS method to manipulate splits.

EXPECTED RESULT

Be presented with an API for programmatic manipulation of splits.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed 20230204
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION

[1]: https://sw.kovidgoyal.net/kitty/remote-control/

[2]:
https://github.com/mawww/kakoune/blob/eb0e9831330d3b1e1d3ddb2bc789000706e6e445/rc/windowing/kitty.kak#L28

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list