Re: [orca-list] Likely bug in braille word wrapping
- From: Jason White <jason jasonjgw net>
- To: Joanmarie Diggs <jdiggs igalia com>, Jason White via orca-list <orca-list gnome org>
- Subject: Re: [orca-list] Likely bug in braille word wrapping
- Date: Wed, 29 Apr 2020 07:25:17 -0400
I'll at least try to bring us closer to understanding the underlying
causes, and we'll see how far we can progress.
On 4/29/20 12:48 AM, Joanmarie Diggs wrote:
Hey Jason.
I just added a bunch more debugging output to Orca. I'm hoping that
perhaps you might be able to help me get to the bottom of these issues
and perhaps even propose fixes in the form of patches. :)
Is this a possibility?
--joanie
On 4/28/20 19:42, Jason White wrote:
Yes, that's the issue list at the moment. I'm testing each fix as it
is made, then, all being well, looking for more issues.
On 4/28/20 6:13 PM, Joanmarie Diggs wrote:
Hey Jason.
That might be the same issue as you reported in the terminal. At
least in the case of the terminal, it turns out that Orca is moving
to the right. And then moving immediately back to the left. I'm
still getting to the bottom of that one. Stay tuned!
Isn't the issues list currently just two (terminal and this one)? Or
am I losing track?
--joanie
On 4/28/20 18:09, Jason White via orca-list wrote:
Unfortunately... I found a follow-up issue.
Suppose word wrap is enabled, and there's a line containing no
spaces that is longer than the display size. Panning right
currently does not move at all, whereas it should move by the full
display length to show the next portion of the string. Similarly in
panning left, of course.
Let's add it to the long issues list.
On 4/28/20 4:19 PM, Jason White via orca-list wrote:
Thank you, Joanie.
It's definitely a major improvement. I'll test in daily usage and
report any further issues here for inclusion in the work queue.
On 4/28/20 12:23 PM, Joanmarie Diggs wrote:
Hey again.
Hopefully I've successfully fixed the creeping backward when
panning to the left problem as well.
Given that I really need to focus on some other things, I
admittedly didn't do much testing of either change. It would be
super awesome if you could do so.
Thanks again!
--joanie
On 4/28/20 11:06, Joanmarie Diggs wrote:
Hey Jason.
This bug is now (hopefully) partially fixed. Namely the panning
to the right. Your suspicions were correct that the full display
size was being added without taking ranges into account. That's
the part that is fixed.
The creeping slowly back when moving to the left is still there
at the present time.
Keep those suspicions coming! :)
--joanie
On 4/27/20 19:13, Jason White via orca-list wrote:
Adding this to Joanie's ever-growing queue.
Note: I'm using a 40-cell braille display here.
Steps to reproduce:
1. With UEB contracted braille and word wrap enabled, display
the following line (taken from my emial this morning):
git clone https://gitlab.gnome.org/GNOME/orca.git
2. Move the cursor to the beginning of the line. The braille
display shows "git clone" (contracted, of course) - fine so far.
3. Pan the braille display to the right, then back to the left.
Expected result: the display should show a continuation of the
string ("http" etc. Upon panning back to the left, it should
restore the original text (i.e., "git clone").
Actual result: everything from "http" up to "NOME/orca" is
skipped upon panning to the right, and panning to the left
moves gradually back through the string instead of straight
back to the beginning.
I'll send Joanie full debug output separately.
Having looked at the debug output and the code, I have
suspicions about the "range" computation (with "git clone"
displayed, the range is 48-57, but after panning, it becomes
88-128 (i.e., adding the full display size to starting offset).
The range isn't adjusted because the remainder of the line
won't fit on the display and cannot be subdivided as there are
no spaces. It seems to me that the revised offset should
perhaps still be 57, though, and this difference could account
for the text being skipped. However, I didn't succeed in
working out exactly what was happening by inspecting the source.
_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide:
https://help.gnome.org/users/gnome-help/stable/a11y.html
_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide:
https://help.gnome.org/users/gnome-help/stable/a11y.html
_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide:
https://help.gnome.org/users/gnome-help/stable/a11y.html
_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide:
https://help.gnome.org/users/gnome-help/stable/a11y.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]