Bug 486077 - Okular window does not activate when opening pdf file from nautilus ("Files" application in Gnome)
Summary: Okular window does not activate when opening pdf file from nautilus ("Files" ...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 22.12.3
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-24 15:03 UTC by twmlgshr@gmail.com
Modified: 2024-04-24 20:17 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description twmlgshr@gmail.com 2024-04-24 15:03:16 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
I recently switched from Debian 11 to Debian 12, and this is one of the quirks. I open pdf files from my file browser constantly for work, and now I have to alt+tab to select the Okular window after double clicking a file to open. When I'm using two screens this is really frustrating, because I'll open a file, glance, and close the tab with ctrl+W but my file browser closes, because the Okular window didn't become the active window like it normally does. I can't find any settings to change, nor any web searches that address this. It might be a Nautilus issue, but when I open other files such as a text file, my text editor window automatically comes up front and is the active window. Same for other files types. And if I right click a pdf and open with Document Viewer or Google Chrome, those applications become active and come to the front of all my windows. It's just Okular that seems to have this problem. 


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 fanzhuyifan 2024-04-24 20:17:52 UTC
Thank you for your bug report!

Debian advises users to not submit bugs upstream (https://www.debian.org/Bugs/Reporting), as this version of the KDE software is out of support from KDE, and so it's possible that the bug exists only in Debian at this point.
Could you report the bug to Debian using the report bug utility (https://packages.debian.org/stable/utils/reportbug)? If necessary, the maintainer of the package will forward the bug upstream.

Thanks for understanding!