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 547496 - Cursor navigation does not start from insertion carat location in Thunderbird Write window
Cursor navigation does not start from insertion carat location in Thunderbird...
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
2.23.x
Other All
: Normal normal
: 2.24.0
Assigned To: Joanmarie Diggs (IRC: joanie)
Orca Maintainers
Depends on:
Blocks: 404409
 
 
Reported: 2008-08-12 21:16 UTC by David Price
Modified: 2008-09-11 18:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
debug log (682.32 KB, text/plain)
2008-08-12 21:23 UTC, David Price
  Details
revision 1 (1.23 KB, patch)
2008-09-09 20:57 UTC, Joanmarie Diggs (IRC: joanie)
none Details | Review

Description David Price 2008-08-12 21:16:20 UTC
Please describe the problem:
When typing in a new email message in Thunderbird, the starting position when using cursor navigation is not located at the insertion carat. Often, but not always, cursor navigation begins from the last location reached by cursor navigation. the example below describes this problem in terms of the up and down arrow keys, but the same is true for left and right arrow keys as well.

Steps to reproduce:
1. Start Orca.
2. Start Thunderbird.
3. Open a new message for writing.
4. Type a paragraph of text.
5. Press the up arrow key to review the text recently typed. (I get no feedback)
6. Press the down arrow key repeatedly to hear the contents of the paragraph from the second line down.
7. Move to the end of the first paragraph, insert a blank line and then type a second paragraph of text below the first. 
8. Use the cursor keys to establish your position in the text.


Actual results:
After writing the first paragraph, pressing the up arrow results in no feedback while pressing the down arrow reads the text from the second line to the end of the paragraph. After typing the second paragraph, pressing the up arrow places the cursor in the blank line and repeatedly pressing the down arrow key will read the contents of the paragraph.

Expected results:
After typing the first paragraph, pressing the up arrow should read the second to the last line of the paragraph, and a following down arrow will read the final line of the paragraph. In fact, cursor navigation should always start from the location of the insertion carat.

Does this happen every time?
Yes.

Other information:
Debug log to follow.
Comment 1 Mike Pedersen 2008-08-12 21:19:15 UTC
Hi David, what format are you using to compose your messages?  I just want to make sure I'm testing the exact same situation you are.   
Comment 2 David Price 2008-08-12 21:23:52 UTC
Created attachment 116456 [details]
debug log

Actions taken during this log:

New email mesage is created. Addressee and Subject are filled in. A paragraph of text is typed, then cursor navigation keys are used to establish the position of the cursor in the text. Cursor position is moved to the end of the message, a blank line is inserted, followed by another paragraph of text. Cursor keys are used to establish the location of the cursor.
Comment 3 David Price 2008-08-12 21:39:20 UTC
(In reply to comment #1)
> Hi David, what format are you using to compose your messages?  I just want to
> make sure I'm testing the exact same situation you are.   
> 
I'm going to have to plead ignorance here.  I have made no changes (to the best of my knowledge), so should be using the default behavior of Thunderbird.  I just spent some time going through the Preferences dialog for Thunderbird (just so there is no confusion, not the orca Thunderbird Preferences :-), and I can't find where the format is explicitly set.  If you let me know where the format is set, I'll take a look and let you know.

Thanks!
Comment 4 Robert Spangler 2008-08-17 20:50:19 UTC
(In reply to comment #0)
I also experience this bug.  Someone suggested turning on Gecko mode (Ins+F12) which works; however, this results in the inability to read emails.

> Please describe the problem:
> When typing in a new email message in Thunderbird, the starting position when
> using cursor navigation is not located at the insertion carat. Often, but not
> always, cursor navigation begins from the last location reached by cursor
> navigation. the example below describes this problem in terms of the up and
> down arrow keys, but the same is true for left and right arrow keys as well.
> 
> Steps to reproduce:
> 1. Start Orca.
> 2. Start Thunderbird.
> 3. Open a new message for writing.
> 4. Type a paragraph of text.
> 5. Press the up arrow key to review the text recently typed. (I get no
> feedback)
> 6. Press the down arrow key repeatedly to hear the contents of the paragraph
> from the second line down.
> 7. Move to the end of the first paragraph, insert a blank line and then type a
> second paragraph of text below the first. 
> 8. Use the cursor keys to establish your position in the text.
> 
> 
> Actual results:
> After writing the first paragraph, pressing the up arrow results in no feedback
> while pressing the down arrow reads the text from the second line to the end of
> the paragraph. After typing the second paragraph, pressing the up arrow places
> the cursor in the blank line and repeatedly pressing the down arrow key will
> read the contents of the paragraph.
> 
> Expected results:
> After typing the first paragraph, pressing the up arrow should read the second
> to the last line of the paragraph, and a following down arrow will read the
> final line of the paragraph. In fact, cursor navigation should always start
> from the location of the insertion carat.
> 
> Does this happen every time?
> Yes.
> 
> Other information:
> Debug log to follow.
> 

Comment 5 David Price 2008-08-17 21:13:05 UTC
(In reply to comment #4)
> (In reply to comment #0)
> I also experience this bug.  Someone suggested turning on Gecko mode (Ins+F12)
> which works; however, this results in the inability to read emails.

Robert, I'll send you an email to describe what I know about using gecko to control the carat. It's better discussed off this page.
Comment 6 Joanmarie Diggs (IRC: joanie) 2008-08-17 21:24:20 UTC
As an aside, I'm aware of some of the issues about Orca not always speaking the contents of line if Gecko is controlling the caret. It's on the list of things I'm working on. Just need the time fairy to show up and give me some 48-hour-long days. <smile>
Comment 7 Joanmarie Diggs (IRC: joanie) 2008-09-09 20:40:35 UTC
Reassigning to me.
Comment 8 Joanmarie Diggs (IRC: joanie) 2008-09-09 20:57:11 UTC
Created attachment 118388 [details] [review]
revision 1

Please test.
Comment 9 David Price 2008-09-09 21:18:32 UTC
Joanie,

Sorry, but I won't be able to test until this weekend at best.  My luck with the distribution upgrades is universally bad.  I tried using update-manager to get my gutsy machine to be at least hardy (I couldn't get intltools trunk to be recognized in gutsy) and the upgrade hung.  So, I'm trying to get someone to help me install Intrepid on my home work machine this weekend.  I'm hoping it's close enough to behave reasonably well... famous last words. ;-)

Once I have a working gnome desktop, I'll test the patch. Thanks!
Comment 10 Mike Pedersen 2008-09-11 16:21:35 UTC
For me this patch seems to work well. 
Comment 11 Joanmarie Diggs (IRC: joanie) 2008-09-11 18:20:13 UTC
Thanks Mike. The patch for bug 535188 includes this fix, and I just committed that patch. So I'm obsoleting the version of the patch associated with this bug and closing as FIXED.