[konsole] [Bug 505804] New: FEATURE REQUEST - layout save/load should respect size of views

"Dmitry L." <[email protected]>
Newsgroups gmane.comp.kde.devel.konsole
Message-ID <[email protected]/>
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: [email protected]
          Reporter: [email protected]
  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 the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.