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 519090 - Add accessibility support to GtkScaleButton
Add accessibility support to GtkScaleButton
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Accessibility
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks: 519096 519313
 
 
Reported: 2008-02-27 16:45 UTC by Willie Walker
Modified: 2009-02-26 07:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Adds a subclass of GailButton, which implements AtkAction and AtkValue. (14.31 KB, patch)
2008-05-02 15:28 UTC, Jan Arne Petersen
reviewed Details | Review
patch (15.27 KB, patch)
2009-02-26 07:54 UTC, Li Yuan
committed Details | Review

Description Willie Walker 2008-02-27 16:45:57 UTC
The GtkScaleButton is a newer widget for GTK+ and we need accessibility support created for it.
Comment 1 Jonh Wendell 2008-03-17 20:16:02 UTC
As commented in bug #519092, I'd like to continue my work on this widget.

May I start?
Comment 2 Willie Walker 2008-03-19 15:57:37 UTC
Go for it!  :-)  Thanks!
Comment 3 Jan Arne Petersen 2008-05-02 15:28:50 UTC
Created attachment 110278 [details] [review]
Adds a subclass of GailButton, which implements AtkAction and AtkValue.
Comment 4 Willie Walker 2008-05-15 23:01:30 UTC
Neat! 

Li - can you review this patch, please?

Jan - where in the wild can I find a GtkScaleButton to test this with (e.g., is there one in gtk-demo somewhere)?
Comment 5 Li Yuan 2008-05-16 02:56:28 UTC
Oh, sorry. I think I missed the patch because of the vacation. Too many mails... I will review it today.
Comment 6 Li Yuan 2008-05-16 08:27:27 UTC
Very good patch. I am testing it next week.
Comment 7 Jan Arne Petersen 2008-05-16 18:30:56 UTC
It tested it with the GtkVolumeButton (subclass of GtkScaleButton) from totem.
Comment 8 Li Yuan 2008-05-19 10:38:29 UTC
I failed to grab the button with GOK. Seems the VolumeButton only show when totem is on the top of the desktop, but gok always make itself as the top window. Similar thing happens with accerciser, I cannot do anything with accerciser because any operation will cause totem lose focus.
Comment 9 Matthias Clasen 2008-05-24 01:42:26 UTC
Li, rhythmbox can be built with HAVE_GTK_VOLUME_BUTTON to give you another testcase.

The patch looks ok to me. 
But I thought the general idea was to add new a11y implementations in gtk itself ?
Comment 10 Li Yuan 2008-05-26 07:35:41 UTC
The patch include some gail header files. If add gailscalebutton in gtk, it may cause gtk link to gail library. Will it cause any problem?
Comment 11 Li Yuan 2008-06-05 07:13:27 UTC
One comment, we should include gtk/gtk.h instead of gtk/gtkaccessible.h to avoid build error.
Comment 12 Matthias Clasen 2008-06-13 03:14:08 UTC
> The patch include some gail header files. If add gailscalebutton in gtk, it may
> cause gtk link to gail library. Will it cause any problem?

Ah. Yeah, that won't work. We'd have to move GailButton to gtk first.

Lets just keep it in gail for now then.
Comment 13 Willie Walker 2008-12-08 15:39:36 UTC
(In reply to comment #12)
> > The patch include some gail header files. If add gailscalebutton in gtk, it may
> > cause gtk link to gail library. Will it cause any problem?
> 
> Ah. Yeah, that won't work. We'd have to move GailButton to gtk first.
> 
> Lets just keep it in gail for now then.

GAIL is now in GTK+ :-)  - is the attached patch (or a revised form of it) now something that can be considered?
Comment 14 Matthias Clasen 2008-12-08 16:38:38 UTC
This is not blocking on my review is it ? Patch looks fine to me (without testing it)
Comment 15 Li Yuan 2009-02-26 07:54:12 UTC
Created attachment 129548 [details] [review]
patch
Comment 16 Li Yuan 2009-02-26 07:55:24 UTC
Committed. Thanks for your patch Jan!