Bug 490118

Summary: flatpak Okular start with invisible Window
Product: [Applications] okular Reporter: mail <mail>
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 24.05.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot

Description mail@tonekaboni.de 2024-07-11 16:12:16 UTC
Created attachment 171574 [details]
Screenshot

SUMMARY

I installed okular as flatpak, using Gnome 45 on Fedora 39. I had no problems with okular. Today I couldn't start okular. The window was invisible or not there. In Gnome overview it reserved the space for the window, but it wasn't there (see screenshot). 

I moved .var/app/org.kde.okular away. Then okular started normaly. I compared the config dir and found the problem in .var/app/org.kde.okular/data/okular/okularstaterc

This is the content:
--------------------------------------------------------------
[MainWindow]
2 screens: Window-Maximized=true
RestorePositionForNextInstance=false
State=AAAA/…
--------------------------------------------------------------

If I remove the line "2 screens: Window-Maximized=true" or change the value to "false" it works.

Sorry, when I don't follow the STEPS/Outcome template.


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Fedora 39, Gnome 45, 

KDE Plasma Version: org.kde.Platform/x86_64/6.7
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION