Bug 365285 - Magic Lamp does not minimize to taskbara item
Summary: Magic Lamp does not minimize to taskbara item
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (show other bugs)
Version: 5.7.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-09 14:10 UTC by rndbit
Modified: 2016-09-07 12:02 UTC (History)
3 users (show)

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


Attachments
Firefox xprop output (1.15 KB, text/plain)
2016-07-11 06:29 UTC, rndbit
Details
Good and bad xprops (4.77 KB, application/x-tar-gz)
2016-07-11 11:51 UTC, rndbit
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rndbit 2016-07-09 14:10:09 UTC
Magic lamp effect used to raise/minimize window from/to taskbar item. Now it goes to mouse position instead.

Reproducible: Always

Steps to Reproduce:
1. Enable magic lamp effect
2. Minimize window using hotkey.

Actual Results:  
Window disappears either into mouse position directly or into edge point that is closest to mouse.

Expected Results:  
Window should disappear into taskbar item of that window.
Comment 1 Thomas Lübking 2016-07-09 17:58:53 UTC
please provide the output of "xprop" on a window that doesn't work (run the command in konsole and click the window when the cursor turns into a "+")
Comment 2 rndbit 2016-07-11 06:29:26 UTC
Created attachment 100001 [details]
Firefox xprop output

This happens both when window is maximized and not.
Comment 3 Martin Flöser 2016-07-11 07:07:38 UTC
The xprop output does not have an icon geometry set. From KWin side the behavior is correct then. It doesn't know where to minimize to.

Reassigning to Plasma for investigating why the icon geometry doesn't get set.
Comment 4 Eike Hein 2016-07-11 07:17:58 UTC
Do you have any more steps to reproduce? We need to nail down the circumstances in which it doesn't get set (it's not a general problem).
Comment 5 rndbit 2016-07-11 11:51:27 UTC
Created attachment 100004 [details]
Good and bad xprops

I outsmarted myself, sorry. Thought icons are not relevant thus i omitted them. I uploaded archive with two (full) xprop logs of firefox and thunderbird. Curiously this time firefox behaves correctly while thunderbird gets minimized to closest edge.
Comment 6 b8h8vm0lf 2016-07-12 20:03:06 UTC
The same issue, but with standart minimize effect. Windows like dolphin and systemsettings are minimizing to the center of screen, not to panel. Archlinux, plasma 5.7.1.