Summary: | KWin no longer remebers window sizes and position, applications always open on the top left corner | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Alice McLafferty <xnwrsp> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | major | CC: | dkxls23, isma.af, kde, nate |
Priority: | NOR | ||
Version: | 5.21.3 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
URL: | https://bugzilla.redhat.com/show_bug.cgi?id=1944784 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Alice McLafferty
2021-04-04 19:41:16 UTC
Kwin never remembered the size and position of windows. Is this filed under the wrong component then? Maybe this is relevant? https://bugs.kde.org/show_bug.cgi?id=415150 Which windows are we talking about? KDE app windows or 3rd-party app windows or all of them? What is your Window Placement option in System Settings > Window Management > Advanced? If the leftmost window not the primary one? Does the problem go away if you have only one monitor? I suspect this is Bug 427875, but need to be sure. > Which windows are we talking about? KDE app windows or 3rd-party app windows or all of them? All windows are affected, including KDE applications such as Kate or Dolphin. The _size_ of them seems to be retained, but the positions are not. > What is your Window Placement option Window Management -> Window Behavior -> Advanced -> Window Placement is set to "Minimal Overlapping" (default). Setting them to "center" makes it a little bit more tolerable to use temporarily. > If the leftmost window not the primary one? Does the problem go away if you have only one monitor? Do you mean monitor? In Wayland session I have no way of setting a "primary monitor" (there is no such option in settings), and I can reproduce this with only a single monitor attached to the system as well. (physically disconnected the other display and re-logged in as well, just to be sure) On Wayland, lack of position memory is expected, as it requires Bug 15329 to be implemented, and this has not happened yet. So position memory right now only works on X11, and only with KDE app windows (not 3rd-party app windows). Can you try with Dolphin, Gwenview, or Okular on X11? > On Wayland, lack of position memory is expected
That is unfortunate, initially I thought this was a kwin feature (thus the bug report). So currently "everything opens on the top left corner" is the expected behavior with "Minimal Overlapping" in a wayland session?
Additionally, I have tested this in an x11 session, and position + size do work correctly for KDE applications such as dolphin or ark. 3rd party applications unfortunately do not, and I was not aware of this being expected behavior either.
(In reply to Alice McLafferty from comment #6) > > On Wayland, lack of position memory is expected > > That is unfortunate, initially I thought this was a kwin feature (thus the > bug report). On X11, it is not feasible to implement in KWin, which is why I implemented in KXMLGUI for KDE apps only. It's an imperfect solution, I know. :/ > So currently "everything opens on the top left corner" is the > expected behavior with "Minimal Overlapping" in a wayland session? Yes, "Minimal overlapping" positions the first window in the corner so that the next-opened window can be positioned as far as possible away from it, to make them overlap as little as possible (hence the name). If you don't like this, you might consider changing the positioning mode to "Centered" or something else. > Additionally, I have tested this in an x11 session, and position + size do > work correctly for KDE applications such as dolphin or ark. 3rd party > applications unfortunately do not, and I was not aware of this being > expected behavior either. OK that's good. So the X11 feature is working correctly within its limitations. :) Marking as a duplicate of Bug 427875, which requests a better version of the feature on Wayland which would apply to all windows automatically. *** This bug has been marked as a duplicate of bug 427875 *** Guess this is currently unimplemented on wayland and unfixable on x11 then, thank you for the explanations. You're welcome! |