Bug 489038 - Stamp tool in dark mode get white on white
Summary: Stamp tool in dark mode get white on white
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 24.05.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-23 11:07 UTC by kevindu52defargoth
Modified: 2024-06-23 11:13 UTC (History)
1 user (show)

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


Attachments
breeze (working as intented) (175.94 KB, video/webm)
2024-06-23 11:07 UTC, kevindu52defargoth
Details
breeze dark (can't see what I am doing) (195.18 KB, video/webm)
2024-06-23 11:08 UTC, kevindu52defargoth
Details

Note You need to log in before you can comment on or make changes to this bug.
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)