Issue 107204 - Cannot select text until end of line using Shift-End
Summary: Cannot select text until end of line using Shift-End
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOO320m5
Hardware: Mac Mac OS X, all
: P3 Trivial (vote)
Target Milestone: OOo 3.2
Assignee: eric.savary
QA Contact: issues@gsl
Keywords: aqua
: 107037 (view as issue list)
Depends on:
Blocks: 99999
  Show dependency tree
Reported: 2009-11-25 12:35 UTC by stephan_schaefer
Modified: 2017-05-20 10:24 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description stephan_schaefer 2009-11-25 12:35:46 UTC
Enter some dummy text in Writer (Mac OS X) and put the cursor in the middle of
the line.

Pressing Shift-End selects all remaining text in the document instead of only
the text in the current line.
The same behavior occurs when pressing Shift-Home which selects to the beginning
of the document instead of to the beginning of the current line.

This worked in OOo 3.0.1.

Using Home/End without Shift correctly places the cursor to the beginning/end of
the current line.
Comment 1 philipp.lohmann 2009-11-25 17:32:23 UTC
confirmed, and this is rather annoying
Comment 2 philipp.lohmann 2009-11-25 17:50:16 UTC
not a regression though; the cocoa system sends us the message
"moveToEndOfDocumentAndModifySelection", so we behave as the system expects us
to in this case - which we don't in case of "End" without shift (that sends
"scrollToEndOfDocument" which we do not support and therefore the "End" key
works like on other platforms for us, which is actually wrong on the Mac).

The right shortcut for "select to end of line" would be Cmd-Shift-Right, which
unfortunately doesn't work on SnowLeopard right now, because Apple changed the
message send for that key from 


Sigh. So how to handle this conflict of interests ? If we do anything I'd like
to do it in 3.2.
Comment 3 stephan_schaefer 2009-11-25 20:25:53 UTC
I would also prefer being consistent with the platform guidelines. Isn't there a
way to support both commands (EndOfLine and RightEndOfLine) with the same behavior ?
If this cannot be fixed for 10.5 and 10.6 we should at least try to move the
cursor to the same location regardless if Shift is pressed or not (i.e.
supporting Home/End in the 'wrong' way)
Comment 4 philipp.lohmann 2009-11-26 09:49:48 UTC
That is not the problem (we can simply do the same for both messages). I just
wanted clarification about the "End" behavior; so we want the system behavior,
no problem, will do. The "scrollToEndOfDocument" by the way is not supposed to
move the cursor; however since we currently don't have support for that, I think
it will move it for use to be consistent with the behavior of "Shift-End".
Comment 5 philipp.lohmann 2009-11-26 10:47:01 UTC
*** Issue 107037 has been marked as a duplicate of this issue. ***
Comment 6 philipp.lohmann 2009-11-26 10:56:54 UTC
fixed in CWS ooo32gsl08
Comment 7 philipp.lohmann 2009-12-01 10:15:56 UTC
please verify in CWS ooo32gsl08
Comment 8 eric.savary 2009-12-09 14:27:06 UTC
Verified in CWS ooo32gsl08
Comment 9 bulbul 2010-02-12 16:07:07 UTC
Has just plain "move to beginning/end of line" also been fixed. I'm using OOo
3.2 and the relevant arrow keys go to the beginning/end of the document instead
of of the line. What's curious is that if i look in the keyboard assignments,
the binding says "beginning/end of line". When will these fixes be available in
a release?