Bug 503275

Summary: Breeze Dark theme issues
Product: [Applications] okular Reporter: Andrea Ippolito <andrea.ippo>
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 25.04.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: rectangle drawing actually started where the arrow is pointing, but it's impossible to tell
additional screenshot: tooltip not reflecting theme changes until Okular is restarted

Description Andrea Ippolito 2025-04-24 10:00:13 UTC
Created attachment 180605 [details]
rectangle drawing actually started where the arrow is pointing, but it's impossible to tell

1- when using the typewriter tool, the rectangle being drawn is invisible because it's drawn in white - if the PDF has a white background, you won't see what you're drawing. This doesn't happen when using Breeze (light), where the rectangle is drawn in black instead.
2- possibly related: the tooltip that appears when selecting the typewriter tool (and possibly others), doesn't take into account color scheme changes that have occurred while Okular is open. If your theme is Breeze Dark, you have Okular open, and swith to Breeze light, the Okular UI refreshes fine, but that tooltip still appears as it would with the Breeze Dark theme (kinda).
Refer to additional screenshot.
Comment 1 Andrea Ippolito 2025-04-24 10:00:43 UTC
Created attachment 180606 [details]
additional screenshot: tooltip not reflecting theme changes until Okular is restarted