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 87308 - unknown role in gtk-demo/color selector
unknown role in gtk-demo/color selector
Status: RESOLVED DUPLICATE of bug 118339
Product: atk
Classification: Platform
Component: gail
unspecified
Other Linux
: Low normal
: ---
Assigned To: padraig.obriain
padraig.obriain
Depends on:
Blocks:
 
 
Reported: 2002-07-04 08:28 UTC by remus draica
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4



Description remus draica 2002-07-04 08:28:20 UTC
Overview:
   For some object the role is unknown.

Steps to reproduce:
   Start gtk-demo. Open "Color Selector/Chnage the above color/Changing
color" dialog. There are some objects (the "push buttons" with colors and
the circle) which have unknown role.

Expected results:
   A valid role.
Comment 1 bill.haneman 2002-07-04 09:48:26 UTC
Hi Remus: first of all, "UNKNOWN" is technically still a valid role,
and you should expect to get this sometimes.

However for common UI components we do want to provide better
information.  If the ATK and AT-SPI role lists already have something
suitable for these objects then we should use that; if it's important
to provide a new role, then we should add the role _name_ to the
enumeration list at runtime (we can't add a static enum to the API at
this time).  So if we can't reuse an existing role, we should report
ROLE_EXTENDED, and then a call to getRoleName will return a more
specific string indicating the specific "extended" role type.
Comment 2 padraig.obriain 2002-07-15 10:24:32 UTC
The "push-buttons" with colors referred to are implemented as
GtkDrawingArea. I agree that it would be desirable that these objects
have role push-button.

The circle referred to is a GtkHSV widget. If we were to define a role
for this I would suggest "color-wheel".
Comment 3 padraig.obriain 2002-07-15 12:06:26 UTC
The color wheel, i.e. the GtkHSV widget is not exposed by the
GtkColorSelection widget so it is difficult to set its role in gail.

Also, the push-buttons with color widgets are not exposed by
GtkColorSelection widget so it is also difficult to set their roles.

The dialog will have role ATK_ROLE_COLOR_SELECTION and the color can
be changed using the Hue, Saturation, Value, Red, Green and Blue spin
buttons.

I am changing the priority of this bug to low.
If you disagree, please comment.
Comment 4 Calum Benson 2003-04-03 14:56:35 UTC
Updating status_whiteboard field to reflect A11Y team's assessment 
of accessibility impact.
Comment 5 Calum Benson 2003-08-07 16:19:17 UTC
Apologies for spam... marking as GNOMEVER2.3 so it appears on the official GNOME
bug list :)
Comment 6 padraig.obriain 2003-11-07 10:07:58 UTC

*** This bug has been marked as a duplicate of 118339 ***