Bug 494086 - GTK3 spinbox negative button is an X, instead of a -
Summary: GTK3 spinbox negative button is an X, instead of a -
Status: RESOLVED UPSTREAM
Alias: None
Product: Breeze
Classification: Plasma
Component: Icons (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: visual-design
URL: https://gitlab.gnome.org/GNOME/gtk/-/...
Keywords:
: 495663 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-10-04 04:22 UTC by Mors Mortium
Modified: 2024-11-21 20:53 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mors Mortium 2024-10-04 04:22:09 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
As title says.

STEPS TO REPRODUCE
1. Have Breeze (or Breeze Dark) as your icon theme
2. Open a GTK3 application, that has a spinbutton widget (number input with -+ buttons)
3. Look at the widget

OBSERVED RESULT
The widget has an X instead of a - for the icon

EXPECTED RESULT
The decrease value icon is still a -, as it was previously

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3

ADDITIONAL INFORMATION
 I use Artix (based on Arch), fully upgraded. With downgrade I see that version 6.6.0-1 shows the bug, but 6.5.0-1 does not. It happens with new users and switching to another icon theme also fixes it (papirus was tested). GTK4 is not affected.
Comment 1 Nate Graham 2024-10-11 19:40:25 UTC
This is a bug in GTK, which uses that icon inappropriately. So when we changed it in the Breeze theme, it made spinboxes look wrong. In GTK4 they fixed this and made their spinboxes use a different icon that isn't also used for removing list items.

Can you report this to GTK and ask them to backport that change to GTK 3 as well? Thanks!
Comment 2 Nate Graham 2024-11-01 14:24:32 UTC
*** Bug 495663 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2024-11-21 19:07:42 UTC
I've gone ahead and submitted a GTK patch to fix this at https://gitlab.gnome.org/GNOME/gtk/-/issues/7080.