Open Bug 1888816 Opened 1 year ago Updated 1 year ago

[XFCE/X11] backspace doesn't work on google search bar

Categories

(Core :: Widget: Gtk, defect)

Firefox 124
defect

Tracking

()

UNCONFIRMED

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:

  1. type a word on google search bar (say: "hello")
  2. keep the backspace key down to remove the whole word
  3. 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

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.

Component: Untriaged → Address Bar
See Also: → 1880458

The bot is wrong. The issue occurs on some text fields at some web pages.

Moving across to widget: gtk as a first possibility.

Component: Address Bar → Widget: Gtk
Product: Firefox → Core

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.

Flags: needinfo?(karl.v.lam)

Also is that a recent regression?

Attached file about:support
(In reply to Martin Stránský [:stransky] (ni? me) from comment #4) > 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.
Attached file support config
(In reply to Martin Stránský [:stransky] (ni? me) from comment #4) > 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. gedit works to me
Summary: backspace doesn't work on google search bar → [XFCE/X11] backspace doesn't work on google search bar

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.

(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)
Flags: needinfo?(karl.v.lam)
Flags: needinfo?(karl.v.lam)

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!

QA Whiteboard: [Qa-not-actionable]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: