Bug 377234

Summary: Panel auto hide is unaware of focus stealing prevention
Product: [Plasma] plasmashell Reporter: Patrick <mail>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Eike Hein <hein>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.9.3   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Patrick 2017-03-05 12:50:49 UTC
If the main panel (with the task bar) is set to auto hide, it is unaware of the focus stealing prevention of an application. A typical example: To open urls from external applications (e.g. Akregator or command line) in Chromium in the background, you have to enable the focus stealing prevention in the special application settings. The focus then stays on the window from which Chromium is called. However, the panel appears and remains visible until the focus is switched to Chromium.

Steps to reproduce:
1. Enable auto hide on the panel with the task bar.
2. Enable focus stealing prevention for Chromium (in the special application settings) and set it to 'Force' and 'High'.
3. Open Konsole.
4. Enter 'chromium google.com' on the command line.

Actual result:
The panel appears and remains visible until the focus has changed to Chromium.

Expected result:
The panel remains hidden.

Note:
This bug is also reproducible with other applications.
Comment 1 David Edmundson 2017-03-06 00:06:24 UTC
This is nothing to do with focus.
Chromium sets it's window state to "needs attention" on first run until it gets it.

See linked report.

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