Created attachment 134641 [details] okularrc causing the issue SUMMARY Okular always starts in maximized state with the attached okularrc. STEPS TO REPRODUCE 1. place attached okularrc in ~/.config 2. start okular 3. make okular not to be maximized 4. close okular 5. start okular OBSERVED RESULT Okular starts in maximized state. EXPECTED RESULT Okular starts in not maximized state.
Operating System: Gentoo Linux KDE Plasma Version: 5.20.5 KDE Frameworks Version: 5.77.0 Qt Version: 5.15.2 Kernel Version: 5.9.14-gentoo OS Type: 64-bit Processors: 8 × Intel® Core™ i7-3770 CPU @ 3.40GHz Memory: 30.9 GiB of RAM Graphics Processor: Mesa DRI Intel® HD Graphics 4000
I do not know if this bus is special to okular or a more general issue of the system behind systemsettings "Window Behavior->Advanced->Allow apps to remember the position ...". Thus, please reassign if necessary.
This bug affects at least the following KDE apps / components: konsole dolphin systemsettings okular gwenview kolourpaint kwrite kdialog I'm still on 5.19.4 on my main system and the "Allow apps to remember window position" option isn't available in 5.19. However, I also have a 5.20 system for testing, and even after disabling that option, the problem still persists (a KDE window that has been maximized at any point in the past will always start maximized in the future regardless of "Apply initially" geometry rules -- verified at least for konsole on current Manjaro)
I'm using the following shell script, run once per minute from Cron, to fix the problem: cd /home/intrr/.config sed -i 's/^Window-Maximized.*true//' konsolerc dolphinrc systemsettingsrc okularrc gwenviewrc kolourpaintrc kwriterc kdialogrc
Created attachment 134642 [details] Video that shows the issue and "fix" (Konsole instead of Okular but it doesn't matter) Video that shows the issue and "fix" (Konsole instead of Okular but it doesn't matter)
*** This bug has been marked as a duplicate of bug 426813 ***