[XFCE/X11] backspace doesn't work on google search bar
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
People
(Reporter: karl.v.lam, Unassigned, NeedInfo)
References
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0
Steps to reproduce:
- type a word on google search bar (say: "hello")
- keep the backspace key down to remove the whole word
- I expected those 5 letters will be removed, but only the last letter got removed, leaving "hell" on the search bar
(I use Firefox on Linux)
Actual results:
only the last letter got removed, leaving "hell" on the search bar.
If I want to remove the whole word, I have to press the backspace 5 times.
Expected results:
I expected those 5 letters will be removed
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::Address Bar' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Reporter | ||
Comment 2•1 year ago
|
||
The bot is wrong. The issue occurs on some text fields at some web pages.
Comment 3•1 year ago
|
||
Moving across to widget: gtk as a first possibility.
Comment 4•1 year ago
|
||
I think you're missing auto repeat of the key if it's keep pressed. Does the auto repeat work on different apps like gedit?
Please attach your about:support page.
Do you use any Gtk input module?
Thanks.
Comment 5•1 year ago
|
||
Also is that a recent regression?
Reporter | ||
Comment 6•1 year ago
|
||
Reporter | ||
Comment 7•1 year ago
|
||
Updated•1 year ago
|
Comment 8•1 year ago
|
||
Please run on terminal with MOZ_LOG=KeyboardHandler:4,sync env variable and check if key events are emitted if the backspace is pressed.
Thanks.
Reporter | ||
Comment 9•1 year ago
|
||
(In reply to Martin Stránský [:stransky] (ni? me) from comment #8)
Please run on terminal with MOZ_LOG=KeyboardHandler:4,sync env variable and check if key events are emitted if the backspace is pressed.
Thanks.
There are some logs after pressing backspace
[Parent 7867: Main Thread]: I/KeyboardHandler HandleKeyPressEvent(), the event was handled by IMContextWrapper
[Parent 7867: Main Thread]: I/KeyboardHandler HandleKeyPressEvent(aWindow=7c4880db9d00, aGdkKeyEvent={ type=GDK_KEY_PRESS, keyval=BackSpace(0xFF08), state=0x02000010, hardware_keycode=0x00000016, time=1929180, is_modifier=FALSE })
[Parent 7867: Main Thread]: D/KeyboardHandler 7c4856626600 InitInputEvent, aGdkModifierState=0x02000010, aInputEvent={ mMessage=eKeyDown, mModifiers=0x0080 (Shift: FALSE, Control: FALSE, Alt: FALSE, Meta: FALSE, AltGr: FALSE, CapsLock: FALSE, NumLock: TRUE, ScrollLock: FALSE })
[Parent 7867: Main Thread]: I/KeyboardHandler 7c4856626600 InitKeyEvent, modifierState=0x02000010 aKeyEvent={ mMessage=eKeyDown, isShift=FALSE, isControl=FALSE, isAlt=FALSE, isMeta=FALSE , mKeyCode=0x08, mCharCode=NULL (0x0000), mKeyNameIndex=Backspace, mKeyValue="", mCodeNameIndex=Backspace, mCodeValue="", mLocation=KEY_LOCATION_STANDARD, mIsRepeat=FALSE }
[Parent 7867: Main Thread]: I/KeyboardHandler HandleKeyPressEvent(), dispatched eKeyDown event and it wasn't consumed
[Parent 7867: Main Thread]: D/KeyboardHandler 7c4856626600 InitInputEvent, aGdkModifierState=0x02000010, aInputEvent={ mMessage=eKeyPress, mModifiers=0x0080 (Shift: FALSE, Control: FALSE, Alt: FALSE, Meta: FALSE, AltGr: FALSE, CapsLock: FALSE, NumLock: TRUE, ScrollLock: FALSE })
[Parent 7867: Main Thread]: I/KeyboardHandler 7c4856626600 InitKeyEvent, modifierState=0x02000010 aKeyEvent={ mMessage=eKeyPress, isShift=FALSE, isControl=FALSE, isAlt=FALSE, isMeta=FALSE , mKeyCode=0x08, mCharCode=NULL (0x0000), mKeyNameIndex=Backspace, mKeyValue="", mCodeNameIndex=Backspace, mCodeValue="", mLocation=KEY_LOCATION_STANDARD, mIsRepeat=FALSE }
[Parent 7867: Main Thread]: I/KeyboardHandler HandleKeyPressEvent(), dispatched eKeyPress event (status=nsEventStatus_eIgnore)
[Parent 7867: Main Thread]: I/KeyboardHandler FilterEvents(aXEvent={ type=KeyRelease, xkey={ keycode=0x00000016, state=0x00000010, time=1929265 } }, aGdkEvent={ state=0x00000000 }), detected key release
[Parent 7867: Main Thread]: I/KeyboardHandler HandleKeyReleaseEvent(aWindow=7c4880db9d00, aGdkKeyEvent={ type=GDK_KEY_RELEASE, keyval=BackSpace(0xFF08), state=0x00000010, hardware_keycode=0x00000016, time=1929265, is_modifier=FALSE })
[Parent 7867: Main Thread]: D/KeyboardHandler 7c4856626600 InitInputEvent, aGdkModifierState=0x01000010, aInputEvent={ mMessage=eKeyUp, mModifiers=0x0080 (Shift: FALSE, Control: FALSE, Alt: FALSE, Meta: FALSE, AltGr: FALSE, CapsLock: FALSE, NumLock: TRUE, ScrollLock: FALSE })
[Parent 7867: Main Thread]: I/KeyboardHandler 7c4856626600 InitKeyEvent, modifierState=0x01000010 aKeyEvent={ mMessage=eKeyUp, isShift=FALSE, isControl=FALSE, isAlt=FALSE, isMeta=FALSE , mKeyCode=0xE5, mCharCode=NULL (0x0000), mKeyNameIndex=Process, mKeyValue="", mCodeNameIndex=Backspace, mCodeValue="", mLocation=KEY_LOCATION_STANDARD, mIsRepeat=FALSE }
[Parent 7867: Main Thread]: I/KeyboardHandler HandleKeyReleaseEvent(), the event was handled by IMContextWrapper
[Parent 7867: Main Thread]: I/KeyboardHandler HandleKeyReleaseEvent(aWindow=7c4880db9d00, aGdkKeyEvent={ type=GDK_KEY_RELEASE, keyval=BackSpace(0xFF08), state=0x02000010, hardware_keycode=0x00000016, time=1929265, is_modifier=FALSE })
[Parent 7867: Main Thread]: D/KeyboardHandler 7c4856626600 InitInputEvent, aGdkModifierState=0x02000010, aInputEvent={ mMessage=eKeyUp, mModifiers=0x0080 (Shift: FALSE, Control: FALSE, Alt: FALSE, Meta: FALSE, AltGr: FALSE, CapsLock: FALSE, NumLock: TRUE, ScrollLock: FALSE })
[Parent 7867: Main Thread]: I/KeyboardHandler 7c4856626600 InitKeyEvent, modifierState=0x02000010 aKeyEvent={ mMessage=eKeyUp, isShift=FALSE, isControl=FALSE, isAlt=FALSE, isMeta=FALSE , mKeyCode=0x08, mCharCode=NULL (0x0000), mKeyNameIndex=Backspace, mKeyValue="", mCodeNameIndex=Backspace, mCodeValue="", mLocation=KEY_LOCATION_STANDARD, mIsRepeat=FALSE }
[Parent 7867: Main Thread]: I/KeyboardHandler HandleKeyReleaseEvent(), dispatched eKeyUp event (isCancelled=FALSE)
Comment 10•1 year ago
|
||
Can you please test latest nightly?
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Testing_Mozilla_binaries
Thanks.
Comment 11•1 year ago
|
||
I can't reproduce this issue in Ubuntu 22 in X11 window protocol. Which Linux are you reproducing this on?
Can you try producing it in a newly created profile? (info)
Thank you for your report!
Updated•1 year ago
|
Description
•