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 481809 - Orca doesn't always present tooltips
Orca doesn't always present tooltips
Status: RESOLVED DUPLICATE of bug 482295
Product: orca
Classification: Applications
Component: general
2.20.x
Other All
: Normal normal
: ---
Assigned To: Joanmarie Diggs (IRC: joanie)
Orca Maintainers
Depends on:
Blocks: 404403
 
 
Reported: 2007-09-30 09:03 UTC by Joanmarie Diggs (IRC: joanie)
Modified: 2007-11-13 18:55 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
take 1 (6.99 KB, patch)
2007-09-30 09:13 UTC, Joanmarie Diggs (IRC: joanie)
rejected Details | Review

Description Joanmarie Diggs (IRC: joanie) 2007-09-30 09:03:09 UTC
In the process of writing Firefox tests I discovered we weren't presenting tooltips even when that user setting was set to True.  I discovered upon further investigation that we had stopped speaking them in GTK apps.  Seems that gtk tooltips have been worked on: http://svn.gnome.org/viewcvs/gtk%2B?view=revision&revision=18418 and lost ROLE_TOOL_TIP in the process. :-(
Comment 1 Joanmarie Diggs (IRC: joanie) 2007-09-30 09:13:46 UTC
Created attachment 96405 [details] [review]
take 1

1. Create a new handleTooltip() in default.py that contains the logic that was in onStateChanged()

2. Add handling for the new gtk tooltips.  We should probably file a bug against gtk (unless of course they used the window type hint and we're just not getting the hint, in which case we have an open Gail bug for that). So this part is more of an "in the meantime" fix.

3. Add handling for tooltips in Gecko.  Not surprisingly, there are issues:  Lack of (properly-timed) events to let us know tooltips have vanished.  No keyboard support.  I'll file those bugs....
Comment 2 Willie Walker 2007-10-01 16:20:48 UTC
> 1. Create a new handleTooltip() in default.py that contains the logic that was
> in onStateChanged()

Seems like a good idea.
 
> 2. Add handling for the new gtk tooltips.  We should probably file a bug
> against gtk (unless of course they used the window type hint and we're just not
> getting the hint, in which case we have an open Gail bug for that). So this
> part is more of an "in the meantime" fix.

I'm kind of nervous about this portion of the patch.  It seems to match on a hierarchy that might be inadvertently replicated in something without a tooltip.  I'd opt instead for filing a bug with GTK+ noting the regression and marking this bug as [blocked] against that bug.

> 3. Add handling for tooltips in Gecko.  Not surprisingly, there are issues: 
> Lack of (properly-timed) events to let us know tooltips have vanished.  No
> keyboard support.  I'll file those bugs....

Thanks!
Comment 3 Joanmarie Diggs (IRC: joanie) 2007-10-01 16:47:52 UTC
> I'm kind of nervous about this portion of the patch.  It seems to match on a
> hierarchy that might be inadvertently replicated in something without a
> tooltip.  I'd opt instead for filing a bug with GTK+ noting the regression and
> marking this bug as [blocked] against that bug.

Understood and done.

Should I rework the patch to eliminate that, leaving the original functionality in place and adding the Gecko support, or shall we just hold off on this until the gtk and firefox bugs are fixed?

Comment 4 Willie Walker 2007-10-02 01:13:31 UTC
> Understood and done.
> 
> Should I rework the patch to eliminate that, leaving the original functionality
> in place and adding the Gecko support, or shall we just hold off on this until
> the gtk and firefox bugs are fixed?

I think we should wait and see what falls out from GTK+ and Firefox.  Who knows what decision they will make.  :-(
Comment 5 Joanmarie Diggs (IRC: joanie) 2007-10-02 02:07:13 UTC
> I think we should wait and see what falls out from GTK+ and Firefox.  Who knows
> what decision they will make.  :-(

Sounds like a plan.  BTW it's no longer a GTK+ bug.  They reassigned it to atk/gail:

> Rather, gail needs updating to set ATK_ROLE_TOOLTIP for the "gtk-tooltip"
> widget name in gail_window_real_initialize().  (The widget name used for the
> old tooltips was "gtk-tooltips").


Comment 6 Willie Walker 2007-10-03 12:25:18 UTC
Joanie and I worked on a patch and submitted it to gail.  With the patch, Orca works again without needing to be modified.
Comment 7 Willie Walker 2007-11-01 19:14:32 UTC
The blocking bug for this (bug 482295) has been fixed for GNOME 2.20.1:

http://svn.gnome.org/viewvc/gail/branches/gnome-2-20/gail/gailwindow.c?r1=1287&r2=1289

I think we can close this bug.  What do you think, Joanie?
Comment 8 Joanmarie Diggs (IRC: joanie) 2007-11-13 18:55:24 UTC
Sounds good.  Marking this one as a dup of the one that resolved the problem.

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