Bug 379864

Summary: Task Manager fails to restore multi window eclipse application after minimize
Product: [Plasma] plasmashell Reporter: Till Schäfer <till2.schaefer>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Eike Hein <hein>
Status: RESOLVED NOT A BUG    
Severity: normal CC: plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.9.5   
Target Milestone: 1.0   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: example screencast

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!