Bug 489038

Summary: Stamp tool in dark mode get white on white
Product: [Applications] okular Reporter: kevindu52defargoth
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: normal CC: kevindu52defargoth
Priority: NOR    
Version: 24.05.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: breeze (working as intented)
breeze dark (can't see what I am doing)

Description kevindu52defargoth 2024-06-23 11:07:55 UTC
Created attachment 170857 [details]
breeze (working as intented)

SUMMARY
When using the stamp tool in Okular, we see a rectangle to show the area to cover. When Okular is in dark mode, this rectangle gets white on the white background.


STEPS TO REPRODUCE
1. Open Okular.
2. Create a stamp in Settings > Configure Okular > Annotations > Add.
3. Use the "Stamp" button on a file. A rectangle appears to show where you will put the stamp.
4. Switch to dark mode (Go on Settings > Color Scheme > Breeze dark).
5. Try to use the stamp.

OBSERVED RESULT
The rectangle is white on white.

EXPECTED RESULT
The color of this rectangle should adapt to the color of the document instead of the theme. Maybe an alternating black/white rectangle could be use to be always visible.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.0
Kernel Version: 6.5.0-41-generic (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Works on all types of files I tried.
Comment 1 kevindu52defargoth 2024-06-23 11:08:20 UTC
Created attachment 170858 [details]
breeze dark (can't see what I am doing)