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

            Bug ID: 505804
           Summary: FEATURE REQUEST - layout save/load should respect size
                    of views
    Classification: Applications
           Product: konsole
      Version First unspecified
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: split-view
          Assignee: konsole-de...@kde.org
          Reporter: dim0...@gmail.com
  Target Milestone: ---

Created attachment 182400
  --> https://bugs.kde.org/attachment.cgi?id=182400&action=edit
patch: add currentSplitterId and currentViewId DBUS methods

Hello!

It is actually is not a bug.

I'd like to restore saved layout with sizes it was saved. Currently it is only
saves views (vertical or horizontal split).

As I see there is DBUS method which could be used to resize splits:
org.kde.konsole.Window.resizeSplits.
And it requires Splitter ID and sizes (percentages).
But it is useless until there are no methods to retrieve current Splitter ID.

Also there are some number of methods which require View ID.

Here is the patch which adds currentSplitterId and currentViewId methods.
Hope it will be useful.

So, I open konsole and run script to setup layout (with required sizes).

PS made patch on v25.04.2 tag (2055fba96d88dbde92cdec83a146ac49c997a61e).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to