Skip to content

[Dark mode] Different hover colors for buttons #3095

@Andr2ea

Description

@Andr2ea

Describe the bug

Button hover colors are inconsistent between light mode and dark mode in Eclipse in the toolbar section. In light mode, all buttons display a similar background hover color. However, in dark mode, dropdown buttons show a blue-tinted hover color while normal buttons show a white hover color, creating inconsistency.

To Reproduce

Set dark mode in Eclipse (or S32DS): Window -> Preferences -> General -> Appearance -> Theme: Dark
In Eclipse, hover over the top toolbar buttons - look at dropdown style buttons and classic ones.
Switch between light and dark themes and observe the behavior.

Expected behavior

All button types (normal buttons, dropdown buttons, etc.) should have consistent hover colors within the same theme. The hover color scheme should be uniform across all interactive elements in both light and dark modes.

Screenshots

Image Image

Workaround (or) Additional context: I noticed a similar ticket here, but a different issue was fixed in it: #217

Environment:

  1. Select the platform(s) on which the behavior is seen:
    • All OS
    • Windows
    • Linux
    • macOS
  1. Additional OS info: Windows 11 - OS Build: 26100.7623

  2. JRE/JDK version: 17.0.9

Version since
Eclipse or SWT version since when the behavior is seen: 2023-12 (4.30.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions