Okular interface and settings often invisible (in Debian Bookworm Wayland)

Okular was recommended for annotating PDF files, and it does a great job so far… But using it is difficult, especially for those of us with limited vision.

For instance:

Some things are hard to see, some are pretty much invisible unless I select them with my mouse - like the mid section of the new filename.

Or:
(See reply - limit of one image…)

Can other people read that black text on dark gray background?

I found lots of settings that affect the file I’m editing, but so far nothing that fixes the app interface. I searched the bug tracker and found several similar complaints going back years, with no suggestions or resolution.

I tried installing Okular on my Arch Linux, but it has been stuck on this error for weeks now:

I'm trying to install okular 24.11.90-1, and have found this since Thanksgiving:

:: Retrieving packages...
 plasma-activities-6.2.3-1-x86_64.pkg.tar.zst failed to download

Looks like that has been updated:

https://archlinux.org/packages/extra/x86_64/plasma-activities/
plasma-activities 6.2.4-1
Build Date:    2024-11-27 11:02 UTC

Okular shows:
Build Date:    2024-11-29 13:35 UTC

Any suggestions for making my Debian version more visible, or finding out if the Arch version might use different colors, would be really appreciated!

The second image:

Can other people read that black on dark gray text?

this is not how okular looks on kubuntu… it looks like some theming malfunction.

are you using the default breeze global theme or have you changed it?

@skyfishgoo Wow! Quick reply!

Settings → Color Theme says “Default”. It looked like this the first time I started it after installation. I tried to change some things but none helped the app interface so I went back to defaults.

Maybe I missed something, I have to select each option to see what it says!

I can’t believe other people see what I do…

type “global theme” anywhere on the destkop and open the settings window that comes up in the search results.

you should see breeze, breeze dark and breeze twilight among others.

chose one of the breeze options ( i like twilight) and apply that… should clear things up.

Lost me there… I tried typing “global theme” on the “Welcome to Okular” - “Recent Documents” screen of the app, on the empty medium brown window that appeared when I closed that, and outside Okular on the actual Debian desktop, and nothing happened.

There’s Help → Find Action… but options there are invisible, and the one that says “Color Mode” if I park my mouse on it does nothing when I click it.

Maybe this Raspberry Pi version just doesn’t work? Wish I could install on Arch!

It looks like Pi OS is trying to apply its colours to Okular but failing at it. I don’t know how this works on Pi OS exactly, but if you have qt5ct / qt6ct installed, you might be able to configure the theme there.

@jbb Looks like I have qt5ct:

pi@raspberrypi:/ $ qt5ct
QStandardPaths: wrong permissions on runtime directory /run/user/1000, 0770 instead of 0700
Configuration path: "/home/pi/.config/qt5ct"
Shared QSS paths: ("/home/pi/.local/share/qt5ct/qss", "/usr/local/share/qt5ct/qss", "/usr/share/raspi-ui-overrides/qt5ct/qss", "/usr/share/qt5ct/qss", "/usr/share/gdm/qt5ct/qss", "/var/lib/menu-xdg/qt5ct/qss", "/home/pi/.local/share/flatpak/exports/share/qt5ct/qss", "/var/lib/flatpak/exports/share/qt5ct/qss")
Shared color scheme paths: ("/home/pi/.local/share/qt5ct/colors", "/usr/local/share/qt5ct/colors", "/usr/share/raspi-ui-overrides/qt5ct/colors", "/usr/share/qt5ct/colors", "/usr/share/gdm/qt5ct/colors", "/var/lib/menu-xdg/qt5ct/colors", "/home/pi/.local/share/flatpak/exports/share/qt5ct/colors", "/var/lib/flatpak/exports/share/qt5ct/colors")
libpng warning: iCCP: known incorrect sRGB profile
pi@raspberrypi:/ $

Does that tell you anything?

Incorrect sRGB? But that sounds like subtle color errors, not drastic ones.
Okular isn’t a Flatpak, it was installed with Apt.

The GUI that came up was all nicely visible, no hint of the problems with Okular.

i meant literally click on the desktop background (wallpaper) and start typing.

it’s called krunner and it’s very handy for finding things.

if that’s not working for you, then open the settings and type in global theme into the search box.

@skyfishgoo Sorry to seem so helpless, but when I choose Settings from the top menu there is no Search box. The Configure Okular choice has no Search box, either. Unless they are just invisible…

@jbb Since I used the qt5ct command, and put everything back to the original settings, I believe…, the Okular start page is in a dark-er mode, and all the choices in Settings are now visible, pale white on medium dark. The top menu choices outside of Settings are still mostly invisible black text on very dark gray.

Choosing Settings → Color Scheme → Default puts the start page beck to white and the Settings menu back to the weird invisible colors. Just running qt5ct in the terminal without changing anything instantly flips them back to dark and visible.

when you go to the applications menu and choose settings, you don’t get a window that opens which looks like this?

where you can easily find the global theme settings?

if not then your disto is broken and there are bigger problems than your color combo in the menus.

why are you mucking with this when the settings GUI affords all the control you need?

now i see the error message you are talking about.

this is a GTK app you are trying to use to change themes on a Qt system… it’s bound to have problems.

Isn’t PiOs a gtk? More specifically LXDE? From the looks of some of your titlebars you’re using openbox. If so, then yes, in order to run okular you’ll need qt5ct. You’ll also need Qt5-style-plugins. See, what gives. If you’re still having probs, you might wanna consider using Okular in a kvantum style.

@skyfishgoo you are assuming that @LorenAmelang is using Plasma which is not the case.

I haven’t used qt5ct in some time, but if you can set the style to Breeze and the color theme to breeze as well, Okular should look as it would on Plasma, without the wrong colors.

1 Like

Probably not without the style plugins.

@skyfishgoo If I go to the Settings menu in Okular I see this:

Configure Okular shows:
(See reply)

There’s a Preferences choice in the Debian menu, but none of them look anything like your image.
(See reply)

I think my RasPi version is just totally different…

Config Okular:

Debian prefs:

@skyfishgoo

why are you mucking with this when the settings GUI affords all the control you need?

Because I can’t find any of your suggestions, and qt5ct really does fix the Okular Settings menu…