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

Méven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kxmlgui/-/commit/807
                   |                            |3e3f870bdc2344414e241724404
                   |                            |490e7558c8
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #21 from Méven <[email protected]> ---
Git commit 8073e3f870bdc2344414e241724404490e7558c8 by Méven Car.
Committed on 03/11/2026 at 10:05.
Pushed by meven into branch 'master'.

KMainWindow: don't persist dock state until the window has settled

applyMainWindowSettings() restores the dock state before the window reaches
its final size, so QMainWindow squeezes the docks while it lays them out.
DockResizeListener took the resize, show and hide events from that for user
changes and marked the settings dirty. The autosave then wrote the startup
layout over the saved state, so a dock lost width on every launch and a panel
the user had closed came back.

Arm the listener only once the window has been shown and its initial layout
has drained.

M  +19   -1    src/kmainwindow.cpp
M  +5    -0    src/kmainwindow_p.h

https://invent.kde.org/frameworks/kxmlgui/-/commit/8073e3f870bdc2344414e241724404490e7558c8

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

Reply via email to