Bug 330364 - presentation window raises upon gaining focus, does not obey window manager settings
Summary: presentation window raises upon gaining focus, does not obey window manager s...
Status: CONFIRMED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.19.60
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-24 15:31 UTC by Cristian Tibirna
Modified: 2020-08-09 13:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cristian Tibirna 2014-01-24 15:31:36 UTC
With okular is in presentation mode, when putting a window on top (e.g. an external helper program for movie/image/code editing/etc., or simply selecting a previously existing window with Alt+Tab), if the focus goes from this new window to the presentation window (which is too easy to do in "Focus follows mouse" mode of the window manager), the presentation window raises and hides that top window. This is frustrating in a classroom or conference environment where there is frequent alternation between presentation and movie/image/code viewing. 

Reproducible: Always

Steps to Reproduce:
1. Put the window manager in "Focus follows mouse" mode
2. Open some window (e.g. konsole, systemsettings etc.) in non-maximized mode
3. Open a pdf in okular and put it in presentation mode
4. Bring the window from 1. on top (e.g. with Alt-Tab)
5. Hover the mouse from this window to the okular presentation window
Actual Results:  
The presentation window raises and hides the previous window

Expected Results:  
The presentation window should obey the window manager settings. If there is no "raise on gaining focus", then the presentation window should not come on top. The previous window should remain visible (even without focus)
Comment 1 Cristian Tibirna 2020-05-03 20:14:42 UTC
Still reproducible 6 years later.
Comment 2 Laura David Hurka 2020-07-16 22:20:26 UTC
I agree that this behavior is frustrating. As far as I can reproduce it now, it is not an Okular issue. On my KDE Neon, any fullscreen window (including non-Qt applications) raises automatically when it gets focus.

Might be interesting which window manager you use and how it is configured. Maybe it is possible to configure fullscreen windows to behave like any other window? (Would probably mean that the panel is visible.)
Comment 3 Cristian Tibirna 2020-08-09 13:53:32 UTC
Sorry for the long delay. Thanks for investigating further. I use 'kwin'. I think there should be no need for special configuration for full screen windows.