Text deletion failure with Ctrl A, Backspace
Categories
(Core :: DOM: Selection, defect, P3)
Tracking
()
People
(Reporter: casyvaf, Unassigned)
References
Details
Comment 4•7 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Still getting this issue. Happens in user chrome as well inside of the omnibox
Windows: Microsoft Windows 10 Pro, 10.0.19041
Firefox: 80.0.1 (64-bit), 81.0 (64-bit)
Have the same issue in any text fields in Firefox, including the browser's Address bar.
As it was said, pressing Ctrl+Backspace is removing the word before cursor but when a text is selected it's takes the cursor position at the start of the selection.
As a result, it does not remove the selected text (which is expected), instead it's removing the word before selected text if any. If whole text is selected then it's just cancel selection and set cursor at the beginning of the text field.
Windows 10.
p.s. the bug does not exist in Firefox in macOS (I suppose for macOS the text field is handled by OS)
Comment 7•3 years ago
|
||
this happen to me, in firefox nightly latest arch linux.
this only since the last update.
Comment 8•3 years ago
|
||
this happen to me after updating this three packages
69 [2021-06-17T21:49:36+0700] [ALPM] upgraded libnm (1.30.4-3 -> 1.32.0-1)
12870 [2021-06-17T21:49:45+0700] [ALPM] upgraded linux (5.12.10.arch1-1 -> 5.12.11.arch1-1)
12871 [2021-06-17T21:49:48+0700] [ALPM] upgraded networkmanager (1.30.4-3 -> 1.32.0-1)
Comment 9•3 years ago
|
||
(In reply to norlin from comment #6)
Have the same issue in any text fields in Firefox, including the browser's Address bar.
As it was said, pressing Ctrl+Backspace is removing the word before cursor but when a text is selected it's takes the cursor position at the start of the selection.
As a result, it does not remove the selected text (which is expected), instead it's removing the word before selected text if any. If whole text is selected then it's just cancel selection and set cursor at the beginning of the text field.
This can be fixed by opening "about:config" and changing "layout.selection.caret_style" to "2". More information can be found here.
Comment 10•3 years ago
|
||
This has been consistently reproduced by me over the past 2 years. I am using Firefox Developer Edition version 94.0b3 (64-bit).
Microsoft Windows 10 Home version 10.0.19043 Build 19043
Comment 11•3 years ago
|
||
I tried to fix by changing layout.selection.caret_style
to 2 but the behavior stayed the same...
Is there any other fix for this?
Comment 12•3 years ago
|
||
(In reply to pazzaz.sundqvist from comment #9)
(In reply to norlin from comment #6)
Have the same issue in any text fields in Firefox, including the browser's Address bar.
As it was said, pressing Ctrl+Backspace is removing the word before cursor but when a text is selected it's takes the cursor position at the start of the selection.
As a result, it does not remove the selected text (which is expected), instead it's removing the word before selected text if any. If whole text is selected then it's just cancel selection and set cursor at the beginning of the text field.This can be fixed by opening "about:config" and changing "layout.selection.caret_style" to "2". More information can be found here.
I can confirm that pazzaz.sundqvist's solution works. I would also like to add that the error is not just fast pressing ctrl+a+backspace, but holding ctrl while pressing backspace. On default if you select some text and then press ctrl+backspace the cursor jumps before the selected text without deleting it, so to avoid this you have either let go of ctrl before pressing backspace or change the mentioned setting.
Updated•2 years ago
|
Description
•