Home and Shift+Home don't behave the same way
Reported by
ngzh...@gmail.com,
Dec 28 2017
|
||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36 Steps to reproduce the problem: 1. go to any text field input 2. have random paragraphs of text 3. position your cursor in the middle of all the text (so that there is text before, after, below, above the cursor) What is the expected behavior? What went wrong? Press Home, cursor goes to the start of current line. Go back to the same place the cursor was. Press Shift+Home, cursor goes to the start of the whole input, highlighting everything till there. I would expect Shift+Home to highlight to the start of current line, since that's what pressing Home does. Did this work before? N/A Chrome version: 62.0.3202.94 Channel: stable OS Version: OS X 10.12.6 Flash Version:
,
Dec 28 2017
,
Dec 28 2017
,
Jan 9 2018
Is there any sample text or page to reproduce?
,
Jan 9 2018
Sure, on this page [0], scroll to the bottom, under "Add a comment", there is a text box. Copy and paste the following paragraph a b c d e f 1. position your cursor at "f" 2. press Home 3. observe that cursor goes to before "d" 4. position your cursor at "f" 5. press Shift+Home 6. observe that the cursor is now before "a", and everything from "a" to "f" is highlighted [0] https://bugs.chromium.org/p/chromium/issues/detail?id=797833
,
Jan 9 2018
It seems Shift+HOme is assigned to moveToBeginningOfParagraphAndModifySelection on MacOS.
This page[1] might help current key bindings.
I could not reproduce this on Win and Linux:
third_party/WebKit/Source/core/editing/EditingBehavior.cpp:
{VKEY_HOME, 0, "MoveToBeginningOfLine"},
{VKEY_HOME, kShiftKey, "MoveToBeginningOfLineAndModifySelection"},
[1] http://osxnotes.net/keybindings.html
|
||||
►
Sign in to add a comment |
||||
Comment 1 by krajshree@chromium.org
, Dec 28 2017