Summary: | Window jumps around when unmaximized using screen edge gesture activated by holding mouse on titlebar | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Nikola Kovacs <nx.devnull> |
Component: | core | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | benderamp, maxijac, myk002 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Unspecified | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Nikola Kovacs
2010-02-27 23:18:28 UTC
I've also reported bug 228819 because of the Chrome issue. *** Bug 228819 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 222100 *** This isn't a duplicate of bug 222100, bug 228819 is. We should move the window on unmaximizing *** Bug 233164 has been marked as a duplicate of this bug. *** *** Bug 235091 has been marked as a duplicate of this bug. *** *** Bug 244719 has been marked as a duplicate of this bug. *** 4.7.0, the issue is still here as described in this duplicate https://bugs.kde.org/show_bug.cgi?id=233164 : 1. Start new application (Dolphin) 2. Maximize it 3. Press mouse on the middle of window decoration and drag it down result: Window would be demiximized as expected, but mouse pointer would hold the window by the left edge of the decoration. expected result: mouse pointer should hold the window by its middle. Yes it still occurs in KDE SC 4.7 It definnitely should not be handled this way. Probably like calculating the % relative to the entire bar where the pointer is and calculating the new window position to have the mouse at the same relative % as before. Like for example, if I have my mouse at 250px from a maximized window top left corner, when I drag it, if it was 1000px wide : position = 25% from top left so if it is reduced to say a 100px wide window, my new pointer should end up at 25px (25% from the new 100px length) from the left corner. What do you think ? I don't know how this is managed on others window managers. >Probably like calculating the % relative to the entire bar...
actually it already works in this way - the issue only happens when the window is 1st demaximized in this way after starting - if you reproduce the issue with one just started window, then maximize and demaximize same window with mouse again, it would work as expected.
Git commit 3e011abbdaad63abb3396f86f39f210007dace15 by Thomas Lübking. Committed on 19/03/2012 at 19:23. Pushed by luebking into branch 'master'. fake a move event when dropping out of quick tiling REVIEW: 104347 M +4 -0 kwin/geometry.cpp http://commits.kde.org/kde-workspace/3e011abbdaad63abb3396f86f39f210007dace15 |