Bug 312038 - Quick unmaximization does not move the window under the cursor
Summary: Quick unmaximization does not move the window under the cursor
Status: RESOLVED DUPLICATE of bug 295417
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL: http://www.youtube.com/watch?v=d5QMwO...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-21 15:12 UTC by Elias Probst
Modified: 2012-12-23 21:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
kwin support information (5.44 KB, application/octet-stream)
2012-12-23 16:12 UTC, Elias Probst
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elias Probst 2012-12-21 15:12:15 UTC
Using KDE 4.9.95 (4.10 RC1), Qt 4.8.4.

When moving a maximized window, it is positioned outside the cursors focus.
The window should be positioned below the cursor.

See the video in the bug URL for a short demonstration.

This behaviour might be related to the fact, that I recently had a 2nd display connected to my laptop (X was not restarted since then, only kwin).
Comment 1 Thomas Lübking 2012-12-21 20:54:14 UTC
We've had such, but it does not occur here (atm) - i'm not sure whether it's related to multiscreen setups.

It would indicate that the fakeMove is not processed.
Do you have any additional patches or could pot. check whether that call is made (add a qDebug() << "performing fake move";) or inject such debugging patch?
Comment 2 Elias Probst 2012-12-23 12:51:58 UTC
(In reply to comment #1)
> It would indicate that the fakeMove is not processed.
> Do you have any additional patches or could pot. check whether that call is
> made (add a qDebug() << "performing fake move";) or inject such debugging
> patch?

I don't use any additional patches, plain kwin-4.9.95.
Just added a corresponding debug statement to the code and it looks like the fakeMove is not executed. Trying to understand the fakeMove related code now to find out, why it does not happen.
Comment 3 Thomas Lübking 2012-12-23 13:37:53 UTC
please attach the output of "qdbus org.kde.kwin /KWin supportInformation"
fakeMove is only set true in that one location - do you have moveResizeMaximizedWindows enabled (window borders for maximized windows)?
Comment 4 Elias Probst 2012-12-23 16:12:36 UTC
Created attachment 75981 [details]
kwin support information

Yes, moveResizeMaximizedWindows is enabled in kwinrc.

Support information is attached.
Comment 5 Martin Flöser 2012-12-23 16:25:56 UTC
random thought: could you try to disable the new Maximize Window effect?
Comment 6 Thomas Lübking 2012-12-23 16:55:18 UTC
(In reply to comment #4)
> Created attachment 75981 [details]
> kwin support information
> 
> Yes, moveResizeMaximizedWindows is enabled in kwinrc.
Disable it. While the window simply does not resize at all when dragging it out of quick maximization (and rather should not) the two settings are known to conflict.

Patch to alter everything and resolve that situation unfortunately will not be in 4.10 (and the publically available version is hardly more than poc)
Comment 7 Elias Probst 2012-12-23 21:29:45 UTC
Ok, disabling "moveResizeMaximizedWindows" solved the initial issue.
So I'll just wait for 4.11 and hope the patch to resolve the conflict will be usable by then.

Thanks for your investigations.

Leaving the bug open until the patch is available in master to be tested.
Comment 8 Thomas Lübking 2012-12-23 21:39:39 UTC
:-P

*** This bug has been marked as a duplicate of bug 295417 ***