Bug 394012 - Falkon not raised even though it was allowed to steal focus
Summary: Falkon not raised even though it was allowed to steal focus
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: rules (show other bugs)
Version: 5.12.5
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-08 16:59 UTC by Cristian Adam
Modified: 2018-05-08 19:03 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Falkon switching to foreground (1.57 MB, video/mp4)
2018-05-08 16:59 UTC, Cristian Adam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cristian Adam 2018-05-08 16:59:04 UTC
Created attachment 112511 [details]
Falkon switching to foreground

I have learned that Falkon won't behave like Firefox or Chromium from the bug #392805.

Therefore I have added a Window Rule for Falkon allowing it to steal the focus.

But in one case it didn't:
1. select other windows in foreground
2. click on "Show Desktop" applet
3. Open a URL.

I was expecting Falkon to be in foreground. But it didn't. It could be a bug in the "Show Desktop" applet / KWin.
Comment 1 Martin Flöser 2018-05-08 17:52:21 UTC
From the video we can see that falkon does not even try to activate it's window. If it would, KWin would either activate it or pass it the demands attention state. Neither happens as we can see in the taskbar.
Comment 2 David Rosca 2018-05-08 19:03:58 UTC
It does call QWidget::raise() + QWidget::activateWindow() in both cases on the video though.