Bug 379864 - Task Manager fails to restore multi window eclipse application after minimize
Summary: Task Manager fails to restore multi window eclipse application after minimize
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (other bugs)
Version First Reported In: 5.9.5
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-15 17:14 UTC by Till Schäfer
Modified: 2017-05-17 05:04 UTC (History)
1 user (show)

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


Attachments
example screencast (3.62 MB, video/ogg)
2017-05-15 17:26 UTC, Till Schäfer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Till Schäfer 2017-05-15 17:14:02 UTC
I am currently using an eclipse configured as multi window to span multiple desktops. 

This works correctly: 
- The second window is not recognized as independent application, but only one task manager entry is visible. 
- When doing a right click -> minimize on the task managers entry, both windows get minimized
- When hovering the task manager only the main window is shown in the preview.

This is not working: 
- When trying to restore eclipse by clicking the application in the task manager only the second window is shown. There is no possibility to restore the main window using the task manager. 

Workaround: 
- Use Alt+Tab through the all windows and select the main eclipse window (here both windows are listed separately).


I am currently using: 
- kde-frameworks 5.34
- qt 5.7.1
- eclipse 4.6.3 (Neon)
Comment 1 Till Schäfer 2017-05-15 17:26:03 UTC
Created attachment 105567 [details]
example screencast

here is a scree cast that shows the problem.
Comment 2 Till Schäfer 2017-05-15 17:27:15 UTC
some interesting detail (also shown in the video): after minimizing the window, and restoring (partially) it by clicking the entry, it is not possible to minimize it again using the task manager.
Comment 3 Eike Hein 2017-05-16 05:49:26 UTC
These are most likely Eclipse bugs, but I'll try to find some time at some point to install it and have a look.
Comment 4 Eike Hein 2017-05-16 05:49:51 UTC
You could help that process BTW by telling me what I need to set up in Eclipse to recreate your setup.
Comment 5 Till Schäfer 2017-05-16 10:29:16 UTC
- Install / Open Eclipse
- choose some workspace file system location
- close the welcome tab
- drag some view (i.e. a tab) like "console" out of the main window. This will create a second window. 
- minimize the application over task bar
- try to restore the application by clicking the taskbar
Comment 6 Till Schäfer 2017-05-16 16:04:38 UTC
I have investigated the problem a bit further and was not able to reproduce the issue on another machine. 

Seems, that I had a window rule installed that had "ignore requested geometry" set to force/true. After removing this, the task manager works as expected. 

Is this still a bug then, or should we close this as invalid? I am not sure what "ignore requested geometry" actually does in this context.
Comment 7 Eike Hein 2017-05-17 05:04:20 UTC
Honestly I don't know either, but it sounds like it's a window manager thing then, not related to the Task Manager - the Task Manager just tells the window manager "please unminimize" ...

Thanks for the follow-up!