| Summary: | Warning is unreadable in Mail Merge Wizard in dark mode | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Mike Kaganski <mikekaganski> |
| Component: | UI | Assignee: | Caolán McNamara <caolan.mcnamara> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | 79045_79045, caolan.mcnamara, heiko.tietze |
| Priority: | medium | ||
| Version: | 7.4.0.0 alpha0+ | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | target:7.4.0 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 143344 | ||
| Attachments: | Screenshot of the problematic dialog | ||
|
Description
Mike Kaganski
2022-04-07 14:51:28 UTC
the same is true in the gtk dark mode. These is a weld::LabelType::Warning and we have handlers for that in vcl/source/app/salvtables.cxx and vcl/unx/gtk3/gtkinst.cxx which just pick "yellow" for the background. Beside them for Error and/or Title we pick something more sensible from the system theme but for "Warning" its a (inherited from the past IIRC) hard coded yellow. Caolan, fixed with https://gerrit.libreoffice.org/c/core/+/132684? not the original reported problem of windows dark mode, the commit solves the similar gtk one and gives a route to fix the windows one, but its still always COL_YELLOW for windows after that commit Caolán McNamara committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/a0f9f8ddaaa4ca14c9cc37259e2ac5dce63b3c77 tdf#148448 pick a warning color more likely to be readable in dark theme It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. couldn't see anything good to take a warning color from, so in the end just picked a color I could read it with as a background |