After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 150594 - ability to "flash" buttons
ability to "flash" buttons
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
2.5.x
Other Linux
: Normal enhancement
: Medium API
Assigned To: gtk-bugs
gtk-bugs
: 168590 (view as bug list)
Depends on:
Blocks: 120439
 
 
Reported: 2004-08-19 22:46 UTC by Elijah Newren
Modified: 2013-10-06 06:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Elijah Newren 2004-08-19 22:46:55 UTC
See bug 120439, specifically comment 12 by Owen.  It appears that the gtk theme
would need to be extended in some way before that bug can be resolved.  See also
bug 148370 for another case that is similar where this behavior could be wanted.
Comment 1 Owen Taylor 2004-08-20 13:46:18 UTC
Well, it depends on how you want to flash the button, but what I was
saying in the comment you reference was not:

 GtkButton can't draw itself in a different state because the
 theme won't allow it

But rather:

 An application can't change the state underneath the back
 of GtkButton.
 
Now there may be a separate problem that if you start drawing buttons
in states themes aren't used to, they may not have the code to draw
it correctly, but that isn't a theme system issue, and not really
a GTK+ issue.

Retitling the bug, though I'm not completely sold that a gtk_button_flash()
is a useful thing.
Comment 2 Matthias Clasen 2013-02-13 04:13:05 UTC
*** Bug 168590 has been marked as a duplicate of this bug. ***
Comment 3 Matthias Clasen 2013-10-06 06:25:53 UTC
we have the ability to do things like this now, see e.g. the flashing updates button in gnome-software. It works by adding a suitable style class