Bug 457018 - Full screen fails and displays a window without toolbar
Summary: Full screen fails and displays a window without toolbar
Status: CONFIRMED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 22.04.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-22 13:58 UTC by cipricus
Modified: 2022-11-15 15:33 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 cipricus 2022-07-22 13:58:03 UTC
SUMMARY
https://www.reddit.com/r/kde/comments/w5ab68/okuar_if_in_full_screen_while_tabs_are_disabled/

STEPS TO REPRODUCE
1. Option to open new documents in tab is disabled
2. Full screen is enabled for an open document (this first document can be then closed; the result is the same)
3. Open a new document from the file manager

OBSERVED RESULT

The new document is not full screen and it has no toolbar.

If this is closed and the initial document is opened it is also affected. Menus and fullscreen can be triggered with shortcut. Toolbar can also be restored from shortcut - if that was set.

EXPECTED RESULT

The second document should be fullscreen or in normal view

If a fullscreen document is closed and then re-opened it opens in fullscreen. But if instead a new one is opened this is not fullscreen and has no toolbar.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.25.3
KDE Frameworks Version: 5.96
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 1 cipricus 2022-07-22 15:54:00 UTC
If a fullscreen document is closed and then re-opened it opens in fullscreen. But if instead a new one is opened (if the first one is closed and stays closed) this (the second one) is not fullscreen and has no toolbar. If the first document opened in fullscreen is not closed, then the second one is also opened in fullscreen.
Comment 2 Albert Astals Cid 2022-07-23 10:45:17 UTC
i guess you're using Plasma/Wayland instead of Plasma/X11? Can you confirm all works fine in Plasma/X11?
Comment 3 cipricus 2022-07-23 22:04:09 UTC
(In reply to Albert Astals Cid from comment #2)
> i guess you're using Plasma/Wayland instead of Plasma/X11? Can you confirm
> all works fine in Plasma/X11?

No, it is not in Wayland, I only use X11.
Comment 4 cipricus 2022-07-23 22:07:07 UTC
(In reply to cipricus from comment #3)
> (In reply to Albert Astals Cid from comment #2)
> > i guess you're using Plasma/Wayland instead of Plasma/X11? Can you confirm
> > all works fine in Plasma/X11?
> 
> No, it is not in Wayland, I only use X11.

Fedora 36 KDE, Plasma 5.25.3, Okular 22.04.1.

I though this issue more severe before realizing I can set a shortcut for restoring toolbar.
Comment 5 Albert Astals Cid 2022-08-13 17:20:25 UTC
Ah i see what you mean, sorry i had misread the original reproduction steps
Comment 6 cipricus 2022-11-15 15:27:08 UTC
I have this bug again from time to time always in relation to Okular being closed while in fullscreen. 

Kubuntu 22.10 with backports repos.
Plasma 5.26.2
Okular 22.08.2

looking back this is an very very old bug! for example a report from 2009: https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/329337