Bug 494982 - Okular opens a specific pdf automatically when I turn on my computer.
Summary: Okular opens a specific pdf automatically when I turn on my computer.
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 24.08.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-18 10:11 UTC by Hector
Modified: 2024-10-21 21:28 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 Hector 2024-10-18 10:11:24 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

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
I opened a pdf via Obsidian, with the "Open in defaut app" option. Okular opened and I added some sticky notes, saving the process while Obsidian was open. Then I move the Okular window into another virtual desktop. Lately I closed Obsidian. I think that I forgot that I moved the Okular window to other virtual desktop, and I turned off the computer.
When I turned it on again, the Okular window was in the second virtual desktop.
I rebooted, closing the window before, and continue happeing.

STEPS TO REPRODUCE
1. Open a pdf via Obsidian.
2. Move the window to other virtual desktop (KDE Plasma).
3. Shutdown the PC.
4. Turn it on again.
5. Close the window.
6. Repeat 3 and 4.

OBSERVED RESULT
The Okular window keeps open.

EXPECTED RESULT
The Okular window shoud be closed.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0
Kernel Version: 6.11.3-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-10300H CPU @ 2.50GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics

ADDITIONAL INFORMATION
Obsidian version: 1.7.4
Comment 1 Albert Astals Cid 2024-10-21 21:28:13 UTC
Okular can not open anything when you turn on your computer because Okular is not running when you turn on your computer.

Something else (session restore or similar) is starting okular.