Created attachment 151243 [details] Review tools toolbar SUMMARY If I open Okular on a virtual desktop, and then I open the review tools toolbar (e.g., with F6), the toolbar is shown on every virtual desktop, rather than the one where Okular has been opened. I guess this happens only when the toolbar is floating (see attached picture). STEPS TO REPRODUCE 1. Open Okular on any virtual desktop 2. Open Okular's review tools toolbar (e.g., with F6) 3. Switch to another virtual desktop. OBSERVED RESULT The toolbar appears on all virtual desktops EXPECTED RESULT The toolbar should appear only on the virtual desktop where Okular was started. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora 36 KDE Plasma Version: 5.25.4 KDE Frameworks Version: 5.96.0 Qt Version: 5.15.5 ADDITIONAL INFORMATION This is a long-standing "bug". I remember this happening even years ago.
Do you run Okular on Wayland or X11?
.
I am using X11. I can test wayland as well, if you need.
Indeed, the issue occurs only on X11. In wayland, the toolbar remains on the right virtual desktop. Actually, I think the issue in X11 is that the toolbar remains always visible, even when the okular window is minimized.
Cannot reproduce here. Can anyone else see that?
Created attachment 151271 [details] Video of the bug I am also attaching a recording of the bug happening.
I remember this bug from the past, but can’t reproduce it now. Other KXmlGui applications seem to have “lost” the bug too. Using KDE Neon with X11, Plasma 5.25.4, Okular 22.04.3.
My Fedora install started with like Plasma 5.1x. Might that be the issue?
I was able to reproduce the bug on a clean install of Neon. Be sure to have some virtual desktops (I have 4). 1. Open a pdf in Okular. 2. Press F6 to show the annotations toolbar 3. Right-click on the bar and disable position lock 4. Drag the toolbar and make it float. 5. Close Okular *with the toolbar being visible* 6. Open the pdf again (the toolbar should now be visible and floating) 7. Switch virtual desktop, and see the toolbar sticking on screen.
This is 99.99% broken at the kxmlgui level since i cna see it happening in dolphin, konqueror, etc.
Ok so that 99.99% totally failed and this is sadly a Qt bug https://bugreports.qt.io/browse/QTBUG-105591
Lol. At least we now precisely know where the bug lies!