Bug 205710
Summary: | 'Go to Line' floating widget can't be caught by sniff. | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Yan Tian <tyan> | ||||
Component: | gedit | Assignee: | Ray Strode [halfline] <rstrode> | ||||
Status: | CLOSED WONTFIX | QA Contact: | David Lawrence <dkl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 5.0 | CC: | zcerza | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-10-12 21:10:28 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 169147 | ||||||
Attachments: |
|
Description
Yan Tian
2006-09-08 03:21:11 UTC
Created attachment 135826 [details]
gedit screenshot
If this is an a11y issue, every treeview with typeahead search has the same problem (e.g. the file chooser) Hi Zack, Is this a problem with sniff? Not really. If you want to figure out how to access that widget via dogtail, and you use sniff to try and do so, it's not currently possible. As soon as you switch your focus back to sniff after clicking Search->Go to line, the widget disappears. If you do the same while the recorder is recording, you'll see that it's an object with roleName='text' and name=''. Not very useful. The only way to find it would be to look at its parent widgets, and see if there's a unique path that you can hop along carefully to get you to that widget. But since any change in focus causes it to go away, you can't be searching for it interactively. You'd have to come up with a script that dumped tons of information about places where you think it *might* be, and hope you're able to find it in the output. The recorder's not even smart enough to do this; any script you record using that widget will most likely fail, because there are so many nameless widgets with the 'text' roleName in gedit. It'd be sweet if it had a name or description field. So I talked with Zack about this a bit in the grotto today. The concensus is we should close this bug WONTFIX. In the future, zack wants to add a history to sniff to catch cases like this where the window disappears when focus is droppped. Also, there is currently a bug in the recorder right now, where it's not reporting that the entry is in a toplevel of its own, apparently. When that gets fixed, this won't be a problem at all. |