Bug 165864 - very pale color when hover mouse on a button
Summary: very pale color when hover mouse on a button
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0 all versions
Hardware: All All
: medium trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks: GTK3
  Show dependency treegraph
 
Reported: 2025-03-22 15:34 UTC by Regis Perdreau
Modified: 2025-03-22 17:21 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
screenshot of the dialog box (17.97 KB, image/png)
2025-03-22 15:35 UTC, Regis Perdreau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regis Perdreau 2025-03-22 15:34:46 UTC
Description:
When we put the mouse cursor over a button, or focus is obtained with the tab key, the colour of the button is supposed to change. In Linux mint 21 and Cinammon (gtk), the colour change is almost indistinguishable.

Steps to Reproduce:
1. Write something in a new document
2. click on the cross to close
3. the close dialog box appears
4. move the mouse cursor over the cancel or save button to see the colour change

Actual Results:
The colour change occurs between two very similar tones.

Expected Results:
Expect tones more different


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.2.3.2 (X86_64) / LibreOffice Community
Build ID: 433d9c2ded56988e8a90e6b2e771ee4e6a5ab2ba
CPU threads: 6; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: en-US
Calc: threaded
Comment 1 Regis Perdreau 2025-03-22 15:35:25 UTC
Created attachment 199954 [details]
screenshot of the dialog box
Comment 2 Regis Perdreau 2025-03-22 16:08:51 UTC
Need UXeval
Comment 3 Michael Weghorn 2025-03-22 17:21:00 UTC
(In reply to Regis Perdreau from comment #0)
> When we put the mouse cursor over a button, or focus is obtained with the
> tab key, the colour of the button is supposed to change. In Linux mint 21
> and Cinammon (gtk), the colour change is almost indistinguishable.

Colors used for native GTK widgets (like dialog buttons) are generally handled by the GTK theme, not LibreOffice directly.

So unless the behavior you see is different with other GTK applications (like e.g. gedit), this isn't LibreOffice's responsibility.

To me, it looks similar in a quick test with gedit, so I'm closing this as NOTOURBUG.
Please feel free to reopen if your observations are different.

If you want different colors to be used, you can try setting a different GTK theme, either somewhere in the GNOME/KDE Plasma theme/style settings or by starting LibreOffice with environment variable GTK_THEME set, e.g.

    GTK_THEME=HighContrast libreoffice --writer

to use the HighContrast theme. (But the behavior is similar there for me.)

Note that in the current development version, theme colors aren't always used correctly (see tdf#164969), but that is a different issue.

You can also check whether customizing colors in the new "Tools" -> "Options" -> "Appearance" settings can be used to adjust this the way you would like to have it.