Summary: | Window size incorrect in asymmetric multi-monitor setup | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Bernd Steinhauser <linux> |
Component: | xrandr | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sebas |
Priority: | NOR | Flags: | thomas.luebking:
ReviewRequest+
|
Version: | 4.11.9 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
URL: | https://git.reviewboard.kde.org/r/118412/ | ||
Latest Commit: | Version Fixed In: |
Description
Bernd Steinhauser
2014-05-19 19:26:39 UTC
can confirm. Observed the same just a few hours ago. Similar setup, smaller screen on the right, tried to open window on the right screen. Didn't check the size, though. Source is https://git.reviewboard.kde.org/r/114484/ The client restores to the fomer size (resp. the one of the "wrong" primary screen) - but the oversize should be constrained (and the window set maximized) Nope. It's not constrained by (my ...) intention - there's heuristic for the special "+1" case and since the requested window size still fits into the combined screen, i took this as "window wants this size, but doesn't fit into the current screen - doesn't matter since there's enough space") The client is (likely) still vertically maximized, since it will fit that "+1" case in this direction. The bug here (in KWin) is that the new window can still partially drop out of the combined screen - that should not happen (needs a special keepInArea() call for the FullArea) > The client is (likely) still vertically maximized, since it will fit that
> "+1" case in this direction.
Correct:
_NET_WM_STATE(ATOM) = _NET_WM_STATE_MAXIMIZED_VERT
"fix" what should be fixed. fix for the actual problem linked in comment #2, kdelibs defect Git commit d7c2434a9e144dd2e7f1519d78b333e7d4d3bfc7 by Thomas Lübking. Committed on 29/05/2014 at 20:40. Pushed by luebking into branch 'KDE/4.11'. keep oversized windows in fullscreen area huge windows are not contrained to their initial screen (the user might want to move them to the other instead), but we must not let them drop out of the fullscreen area either REVIEW: 118412 M +10 -3 kwin/manage.cpp http://commits.kde.org/kde-workspace/d7c2434a9e144dd2e7f1519d78b333e7d4d3bfc7 Git commit d6ea601005664bd86c46193d8e27de659d3dc479 by Martin Gräßlin, on behalf of Thomas Lübking. Committed on 29/05/2014 at 20:40. Pushed by graesslin into branch 'master'. keep oversized windows in fullscreen area huge windows are not contrained to their initial screen (the user might want to move them to the other instead), but we must not let them drop out of the fullscreen area either Forward port of d7c2434a9e144dd2e7f1519d78b333e7d4d3bfc7 from kde-workspace M +10 -3 manage.cpp http://commits.kde.org/kwin/d6ea601005664bd86c46193d8e27de659d3dc479 Fixed long ago, not sure why this bug isn't closed. |