https://bugs.kde.org/show_bug.cgi?id=456847
Bug ID: 456847 Summary: Changing Autohide setting with shortcut causes issues with maximised window sizes Product: plasmashell Version: 5.25.3 Platform: Manjaro OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Panel Assignee: plasma-b...@kde.org Reporter: osh...@eliyahu.co.uk CC: niccolo.venera...@gmail.com Target Milestone: 1.0 STEPS TO REPRODUCE 1. Set up keyboard shortcut to toggle autohide - or can use command: ``` qdbus org.kde.plasmashell /PlasmaShell evaluateScript "p = panelById(panelIds[0]); p.hiding = p.hiding == 'none' ? 'autohide' : 'none'" ``` 2. Open some windows and maximise them 3. Activate shortcut to switch from "always shown" to "autohide" 4. Windows automatically expand to fill new space 5. Activate shortcut again to switch back to "always shown" OBSERVED RESULT Windows do not automatically shrink back down to the new size. They do adjust to the new size, if you trigger some kind of recalculation. The ways I have found so far are: - Perform an alt+tab - Unmaximise + maximise window - Right click to create a menu - Click in the window after creating a right click menu EXPECTED RESULT They do automatically readjust. (This worked in Plasma 5.24.5) This does seem to happen correctly if the mouse is at the bottom of the screen duing step 5 (in this case the window is sized not taking into account with the panel on top of it, then the shortcut causes no visual change because the panel is already unhidden, but the window instantly resizes) SOFTWARE/OS VERSIONS Linux: Manjaro Linux (5.19.0-1-MANJARO) KDE Plasma Version: 5.25.3 KDE Frameworks Version: 5.96.0 Qt Version: 5.15.5 ADDITIONAL COMMENTS (Sorry for such an incredibly niche bug) Basically it seems like upon changing the hiding property of the panel, it is necessary to ensure all maximised windows have their sizes re-checked, even though normally this causes no visual difference due to being in the panel settings screen. It's only when you use a shortcut to avoid the panel settings screen that you observe the bug. -- You are receiving this mail because: You are watching all bug changes.