[Bug 951117] New: Qt 5 applications do not remember window size/position
http://bugzilla.opensuse.org/show_bug.cgi?id=951117 Bug ID: 951117 Summary: Qt 5 applications do not remember window size/position Classification: openSUSE Product: openSUSE Factory Version: 2015* Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: jimmy@boombatower.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.64 Safari/537.36 Build Identifier: My understanding is there are qt 5 patches that other distros have applied and even suse has but they do not seem to work. Several people have discuss in IRC and I am hoping we can resolve this. Not sure what componen to place this under as I do not see anything close to plasma 5 / qt 5. Reproducible: Always Steps to Reproduce: 1. leave a qt 5 application open when logout 2. login and watch it load in random location or not at all alternatively, instead of session restore, close window and reopen to see same results. Actual Results: window not previous size or position Expected Results: previous size and position -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=951117 http://bugzilla.opensuse.org/show_bug.cgi?id=951117#c1 Stephan Kulow <coolo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Other |KDE4 Workspace --- Comment #1 from Stephan Kulow <coolo@suse.com> --- Not sure what to make out of this. I don't see as bug of the library - can you name an application? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=951117 http://bugzilla.opensuse.org/show_bug.cgi?id=951117#c2 --- Comment #2 from Jimmy Berry <jimmy@boombatower.com> --- (In reply to Stephan Kulow from comment #1)
Not sure what to make out of this. I don't see as bug of the library - can you name an application?
Some examples that do notremember: - mumble (against qt 4.x) - ksysguard (against qt 5.x) - konversation (against qt 5.x) - akregator (against qt 4.x) - chromium (gtk right?) Whereas the following seem to always remember just fine (perhaps they do so internally) - steam - skype Additionally, if I force kwin to remember size and position specific for application (custom rule) then it seems to work (just started doing that). This was understood to be a bug by kde folks when I talked with them in #kde and several people have discussed in #suse. If I am not mistake I believe someone indicated that patch2010 (0001-Fix-QWidget-setWindowRole.patch) was the one supposed to fix this behavior, but doesn't seem to in suse. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=951117 http://bugzilla.opensuse.org/show_bug.cgi?id=951117#c3 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wbauer@tmo.at --- Comment #3 from Wolfgang Bauer <wbauer@tmo.at> --- (In reply to Jimmy Berry from comment #2)
If I am not mistake I believe someone indicated that patch2010 (0001-Fix-QWidget-setWindowRole.patch) was the one supposed to fix this behavior, but doesn't seem to in suse.
Yes, the patch is applied since months, and it works as intended AFAICT. But as it is a patch for Qt5, it only affects Qt5 applications of course (which already rules out most in your list). And it only makes the window position being stored/restored by session management, i.e. windows that were open at logout (or when you manually save the session) will be restored at the same position at the next login. kwin itself does not (and never did) remember window positions AFAIK. If you close an application and open it again, kwin decides on its own where to place the windows regardless on where they were postioned before. You can influence the placement via kwin's settings though to a certain degree, and you can force specific windows to a certain position/size (or even to remember theposition/size) via "window rules". Closing as INVALID as I don't see a bug here. Although FEATURE or UPSTREAM would probably also be fitting... Feel free to reopen if you disagree, though. PS: the session management problems regrading KF5 applications should be fixed already since a while too, see bug#955280. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=951117 http://bugzilla.opensuse.org/show_bug.cgi?id=951117#c4 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #4 from Wolfgang Bauer <wbauer@tmo.at> --- See my previous comment. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=951117 http://bugzilla.opensuse.org/show_bug.cgi?id=951117#c5 --- Comment #5 from Jimmy Berry <jimmy@boombatower.com> --- Talking about window position+size restoration on restoration of session (ie re-log in). Which it does half way. That use to work on Plasma 4.x and does inconsistently on Plasma 5.x. Typically some windows are restored slightly offset from original position while others work perfectly. Either way it most certainly used to work. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com