Bug 264472 - Magic lamp effect minimizes to mouse position
Summary: Magic lamp effect minimizes to mouse position
Status: RESOLVED DUPLICATE of bug 242772
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-27 13:43 UTC by felix_mauch
Modified: 2012-07-31 17:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description felix_mauch 2011-01-27 13:43:37 UTC
Version:           unspecified (using KDE 4.6.0) 
OS:                Linux

When using the magic lamp effect on minimizing windows, the window gets minimized to the closest position at a border compared to the current position of the mouse pointer.
So when clicking on the minimize-button in the top-right corner, the window gets minimized to the top right corner. When using a key shortcut, it leads to the closest border position.
Also on re-maximizing it takes the border-position, when calling the window by keyboard like with ALT+TAB.

Is this a wanted behaviour or a bug? I never noticed it in former versions and it feels a bit strange to me.

Reproducible: Always

Steps to Reproduce:
Activate the magic lamp effect, minimize a window and re-call it with ALT+TAB.

Actual Results:  
The window gets minimized/maximized to/from the next border-position of the mouse pointer.

Expected Results:  
Minimize/Maximize to/from the corresponding task manager entry.
Comment 1 Thomas Lübking 2011-01-27 19:17:52 UTC

*** This bug has been marked as a duplicate of bug 242772 ***
Comment 2 Thomas Lübking 2011-01-27 19:19:24 UTC
the pointer is used as "last resort" if the taskbar doesn't hint where to minimize the window (eg. because of a bug or there just is no taskbar at all)
Comment 3 Ken Vermette 2012-07-31 17:10:01 UTC
When the task manager needs to re-draw its contents, E.g. you are only showing tasks on one desktop and you change desktops, then it seems to "lose track" of the window hints and reverts to the mouse behavior.