Bug 481748 - menu is unusable; hover over menu is worse; can't even see Help|version
Summary: menu is unusable; hover over menu is worse; can't even see Help|version
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 23.08.4
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-24 05:59 UTC by Howard Johnson
Modified: 2024-02-26 12:14 UTC (History)
2 users (show)

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


Attachments
typical screenshot showing user interface and screen messed up a whole bunch of places (160.81 KB, image/png)
2024-02-24 05:59 UTC, Howard Johnson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Howard Johnson 2024-02-24 05:59:00 UTC
Created attachment 166051 [details]
typical screenshot showing user interface and screen messed up a whole bunch of places

Being able to annotate PDF files means saving paper.  But now the okular user interface, especially menu and toolbar is really messed up.  Some icons appear too big and seem to get cut off on their right or bottom.  Hovering around the menu area makes things much worse.  As it is okular can only be used for the simplistic viewing of a pdf for example.  Trying to use annotations is way too messed up to do any work with.

Steps:

1) Open any PDF file.

2a) Initially observe some UI corruption.
2b) If click on any menu item, e.g. File, then hover right menu immediately gets messed up further.


I didn't see a nightly build available to test this, so I downloaded the most recent flatpak from https://flathub.org/apps/org.kde.okular to test this.

I tried uninstalling, cleaning out any okular files, and re-installing, but this didn't fix it.

Here is another report I created awhile ago for this problem to see if anyone had any ideas of how to fix this:  
https://discuss.kde.org/t/clicking-okular-menu-bar-then-hovering-over-it-messes-the-menu-up/10284


Here is how I'm running the flatpak (with or without --version):

$ flatpak run org.kde.okular --version
Gtk-Message: 21:20:38.329: Failed to load module "xapp-gtk3-module"
Qt: Session management error: Could not open network socket
okular 23.08.4


(This bug does not appear when I run okular on my windows 11 machine, nor did it exist before I upgraded to Debian bookworm.)

Thanks for your help with this.
Comment 1 Albert Astals Cid 2024-02-24 11:14:08 UTC
Which desktop environment are you running?
Comment 2 Howard Johnson 2024-02-24 15:14:50 UTC
(In reply to Albert Astals Cid from comment #1)
> Which desktop environment are you running?

Cinnamon (on lightdm, on X11).
Comment 3 Howard Johnson 2024-02-24 15:29:56 UTC
(In reply to Albert Astals Cid from comment #1)
> Which desktop environment are you running?

$ cinnamon --version
Cinnamon 5.6.8
l
$ sudo lightdm --version
lightdm 1.26.0

$ xdpyinfo | grep version
version number:    11.0
X.Org version: 1.21.1.7
Comment 4 Albert Astals Cid 2024-02-25 22:57:38 UTC
There's probably something missing in your setup/installation.

Would be good if we could somehow warn about it, needs someone to have time to recreate your setup and figure out what's wrong.
Comment 5 Howard Johnson 2024-02-26 12:14:36 UTC
I thought it might help if I send you my ~/.config/** and ~/.local/** okular stuff:


~$ find .local -name '*okular*'         # <------ First find all okular named files in .local and cat them out:
.local/share/okular

~$ ls -ld .local/share/okular/
drwxr-xr-x 1 howard howard 14 Feb 23 20:58 .local/share/okular/

~$ ls -ld .local/share/okular/*
drwxr-xr-x 1 howard howard 150 Feb 26 03:59 .local/share/okular/docdata

~$ ls -ld .local/share/okular/docdata/6973192.System\ Controller\ 3\ --\ IQSC-3G-QIG-0062-07-EN-US-2023-11-07.pdf.xml 
-rw-r--r-- 1 howard howard 509 Feb 23 21:12 '.local/share/okular/docdata/6973192.System Controller 3 -- IQSC-3G-QIG-0062-07-EN-US-2023-11-07.pdf.xml'


~$ cat  .local/share/okular/docdata/6973192.System\ Controller\ 3\ --\ IQSC-3G-QIG-0062-07-EN-US-2023-11-07.pdf.xml 
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE documentInfo>
<documentInfo url="/home/howard/Documents/REFERENCE, skg/Stuff, skg/Minden Solar/System Controller 3 -- IQSC-3G-QIG-0062-07-EN-US-2023-11-07.pdf">
 <generalInfo>
  <history>
   <current viewport="0;C2:0.499435:0.261364:1"/>
  </history>
  <views>
   <view name="PageView">
    <zoom value="0.971262" mode="1"/>
    <continuous mode="1"/>
    <viewMode mode="0"/>
    <trimMargins value="0"/>
   </view>
  </views>
 </generalInfo>
</documentInfo>

---

~$ find .config -name '*okular*'            #  <------ Next find all okular named files in .local and cat first session & okularrc out:
.config/session/okular_1031010963faa65b75170875070122024900000024680100_1708750702_114150
.config/session/okular_1031010963faa65b75170875153024185500000024680101_1708751531_545942
.config/session/okular_1031010963faa65b75170875156069296700000024680102_1708751561_752764
.config/okularrc


~$ cat .config/session/okular_1031010963faa65b75170875070122024900000024680100_1708750702_114150 
[1]
ActiveTab=0
Urls[$e]=file:$HOME/Documents/REFERENCE\\, skg/Stuff\\, skg/Minden Solar/System Controller 3 -- IQSC-3G-QIG-0062-07-EN-US-2023-11-07.pdf

[Number]
NumberOfWindows=1

[WindowProperties1]
2 screens: XPosition=0
2 screens: YPosition=0
ClassName=Shell
HDMI-0 LVDS=LVDS
ObjectName=okular::Shell#1
State=AAAA/wAAAAD9AAAAAAAABDAAAAJjAAAABAAAAAQAAAAIAAAACPwAAAADAAAAAQAAAAEAAAAsAHEAdQBpAGMAawBBAG4AbgBvAHQAYQB0AGkAbwBuAFQAbwBvAGwAQgBhAHICAAAAAP////8AAAAAAAAAAAAAAAIAAAABAAAAFgBtAGEAaQBuAFQAbwBvAGwAQgBhAHIBAAAAAP////8AAAAAAAAAAAAAAAIAAAABAAAAIgBhAG4AbgBvAHQAYQB0AGkAbwBuAFQAbwBvAGwAQgBhAHIAAAAAAP////8AAAAAAAAAAA==


~$ cat .config/okularrc 
[Desktop Entry]
FullScreen=false

[MainWindow]
2 screens: XPosition=502
2 screens: YPosition=205
HDMI-0 LVDS=LVDS
State=AAAA/wAAAAD9AAAAAAAABDAAAAJjAAAABAAAAAQAAAAIAAAACPwAAAADAAAAAQAAAAEAAAAsAHEAdQBpAGMAawBBAG4AbgBvAHQAYQB0AGkAbwBuAFQAbwBvAGwAQgBhAHICAAAAAP////8AAAAAAAAAAAAAAAIAAAABAAAAFgBtAGEAaQBuAFQAbwBvAGwAQgBhAHIBAAAAAP////8AAAAAAAAAAAAAAAIAAAABAAAAIgBhAG4AbgBvAHQAYQB0AGkAbwBuAFQAbwBvAGwAQgBhAHIAAAAAAP////8AAAAAAAAAAA==
ToolBarsMovable=Disabled

[Recent Files]
File1[$e]=$HOME/Documents/REFERENCE, skg/Stuff, skg/Minden Solar/System Controller 3 -- IQSC-3G-QIG-0062-07-EN-US-2023-11-07.pdf
Name1[$e]=System Controller 3 -- IQSC-3G-QIG-0062-07-EN-US-2023-11-07.pdf