Summary: | KDE apps remembering window position overlap existing instances if they have not been moved | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kxmlgui | Reporter: | Natalie Clarius <natalie_clarius> |
Component: | general | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | natalie_clarius, nate |
Priority: | NOR | ||
Version: | 5.92.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=426725 | ||
Latest Commit: | Version Fixed In: |
Description
Natalie Clarius
2022-04-13 00:27:46 UTC
Could this be related to https://invent.kde.org/frameworks/kxmlgui/-/merge_requests/105? I had a look at the code that introduced the overlap prevention (https://invent.kde.org/frameworks/kxmlgui/-/commit/ab43b986f3de20ff15b6438e56bfe29428bee3b1) and couldn't find anything wrong with it, but noticed that the entry `RestorePositionForNextInstance` in the application's configuration file doesn't change when according to the code it should; it does not get deleted when the window is closed. Could it be that the reason the overlap prevention didn't take effect in the cases described here is that the restore position flag just never was correctly saved, and that the above-mentioned MR would fix this? A thread in that MR mentions the position restoration feature, but I don't have a deep enough knowledge about how the configuration handling works to tell for sure. Ah yes, that seems quite likely. Good catch. Feel free to submit a merge request to fix it! Isn't this covered by the above mentioned MR? I can no longer reproduce this bug on the most recent stable Plasma version. ... on my own setup that is, but not on my test user account it seems. I'll look into it again and come back to this. I can no longer reproduce it, I think it's been fixed. Thanks for following up! |