Bug 475998

Summary: Design problems with scrollbar and other elements
Product: [Applications] okular Reporter: desputin <desputin>
Component: generalAssignee: Okular developers <okular-devel>
Status: CLOSED UPSTREAM    
Severity: normal CC: aacid, nate
Priority: NOR    
Version First Reported In: 22.12.3   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of okular

Description desputin 2023-10-23 09:05:53 UTC
Created attachment 162514 [details]
Screenshot of okular

SUMMARY
***
Scrollbars and other screen elements are "cut off" or not visible.
***

STEPS TO REPRODUCE
1. Open PDF-File with okular, some buttons cut off screen.

OBSERVED RESULT
-Scrollbar looks "bad" black/not visible

EXPECTED RESULT
-Scrollbar looks normal.

SOFTWARE/OS VERSIONS
Debian Bookworm with xfce
Comment 1 Albert Astals Cid 2023-10-23 21:54:17 UTC
I'd say complain to the creators of the theme you're using and maybe they will convince us that it's our fault and not theirs.

It works fine with the breeze style.
Comment 2 desputin 2023-10-23 22:25:48 UTC
(In reply to Albert Astals Cid from comment #1)
> I'd say complain to the creators of the theme you're using and maybe they
> will convince us that it's our fault and not theirs.
> 
> It works fine with the breeze style.

Hm, I tried to switch theme from Breeze to all kind of Mint-x-Themes or Adwaita, but no change. Also the Themes have subtitels such as "GTK3, GTK2, Xfwm4), so I guess, they don't apply to QT, which is the environment of Okular, correct?
Comment 3 desputin 2023-10-23 22:31:38 UTC
And I also saw, that qgis looks a little bit odd too. So I guess it is an Qt-Issue. Qgis has version 5.15.10 active. Maybe I can tune the QT-Themes somehow?
Comment 4 desputin 2023-10-24 08:29:42 UTC
Hm, maybe this helps`? Not sure: https://ubuntuhandbook.org/index.php/2020/11/change-qt5-apps-theme-look-native-ubuntu-20-04/
Comment 5 Nate Graham 2023-10-24 18:16:07 UTC
That means you're not actually changing the theme correctly. There are many kinds of themes: GTK themes, window decoration themes, icon themes, and so on. What you want is the QtWidgets application theme, otherwise known as a QStyle (technical name) or an "Application Style" (user-friendly name shown in KDE's System Settings app. You can install that app and change the theme there.
Comment 6 desputin 2023-10-24 21:24:27 UTC
Hi, Nate, all right, thank you, I'll try that. Today I also testet this issue with MATE instead of XFCE and there everything looks fine.