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 449232 - Firefox move to next large object tweak
Firefox move to next large object tweak
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: 2.20.0
Assigned To: Orca Maintainers
Orca Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-06-19 18:48 UTC by Scott Haeger
Modified: 2008-07-22 19:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
first version of Firefox move to next large object tweak (5.81 KB, patch)
2007-06-19 19:19 UTC, Scott Haeger
reviewed Details | Review
second version of move to next large object tweak (6.16 KB, patch)
2007-06-20 13:25 UTC, Scott Haeger
none Details | Review
third version of move to next large object tweak (842 bytes, patch)
2007-06-28 17:05 UTC, Scott Haeger
none Details | Review

Description Scott Haeger 2007-06-19 18:48:46 UTC
Navigate to next large object should be tweaked so text less than a certain length is skipped.  Currently go to next/previous chunk stops at headings, paragraphs, tables (not layout), text, and autocomplete boxes, but text length is not considered.
Comment 1 Scott Haeger 2007-06-19 19:19:57 UTC
Created attachment 90291 [details] [review]
first version of Firefox move to next large object tweak

Now moving to headings, text, section, document frame, paragraph, table, table cell and autocomplete only if they implement the text interface and have text with length greater than 75.
Comment 2 Willie Walker 2007-06-19 21:41:01 UTC
(In reply to comment #1)
> Created an attachment (id=90291) [edit]
> first version of Firefox move to next large object tweak
> 
> Now moving to headings, text, section, document frame, paragraph, table, table
> cell and autocomplete only if they implement the text interface and have text
> with length greater than 75.

Looks like a good way to help identify a chunk.  I like the use of the predicate as well.  If you could make a smallish change, I'd request that the 75 be made a constant in the file somewhere up around the same spot controlCaretNavigation is defined for the first time.  Maybe "largeObjectTextLength" or something.  This would allow someone to then override its value from their user-settings.py file.  It would also set us up for allowing it to be customized via the GUI, but I like the idea of not exposing it via the customization GUI at this point in time.
Comment 3 Mike Pedersen 2007-06-19 23:06:05 UTC
So far this is looking like a nice improvement.  I've still got quite a few more sites I want to test on though.  More feedback tomorrow.
Comment 4 Scott Haeger 2007-06-20 13:25:12 UTC
Created attachment 90332 [details] [review]
second version of move to next large object tweak

largeObjectTextLength constant now defined, however, it was only used in the match predicate.  Do I need to do anything else with it, perhaps in setAppPreferences()?
Comment 5 Mike Pedersen 2007-06-20 16:55:43 UTC
Personally I think this patch is a big improvement over what we had before.  It is stopping where I would expect with out a lot of false possitives.
Comment 6 Willie Walker 2007-06-21 13:55:29 UTC
> largeObjectTextLength constant now defined, however, it was only used in the
> match predicate.  Do I need to do anything else with it, perhaps in
> setAppPreferences()?

Thanks!  For now, I think just making it a user-modifiable constant is fine.  This will allow more sophisticated users to more easily play around with the value and give us informed feedback.

If users ultimately request the ability to customize the value, we can then go through the exercise of making it available via the preferences GUI.  Thanks!

PS - If you can get rid of the "\ No newline at end of file" part, that would be great.
Comment 7 Scott Haeger 2007-06-21 14:01:20 UTC
committed to repository
Comment 8 Mike Pedersen 2007-06-26 18:53:39 UTC
Overall this feature is now working great.  I've found one site however that doesn't behave well.  
1.  Open www.sfgate.com
2.  Press "o" to move through the page.
3.  At the bottom press "shift+o" to move back up the page.
What you should notice when moving both directions is that most things will be read as expected but at perhaps 6 places orca will speak nothing when it stops.
Comment 9 Scott Haeger 2007-06-28 17:05:16 UTC
Created attachment 90817 [details] [review]
third version of move to next large object tweak

Additional tweak.  Thanks Joanie!