Open Bug 1416046 Opened 7 years ago Updated 2 years ago

After pressing tab the Alt Gr key selects input text

Categories

(Core :: DOM: Editor, defect, P3)

57 Branch
Unspecified
Linux
defect

Tracking

()

People

(Reporter: ajn.nielsen, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0 Build ID: 20171003101344 Steps to reproduce: Go to any website that has an input field (for example go to https://www.facebook.com/ in private mode or edx.org or even this "Enter A Bug" form right here). Then go to an input field by pressing the 'tab' key. Then write text in the input field and press only the 'Alt Gr' key. Actual results: The text in the input field gets selected. Expected results: The input text should not get selected! This is especially painful when trying to enter an email in the input field. This problem only occurs in Ubuntu 16.04. I tested chrome and that worked.
Component: Untriaged → Editor
Product: Firefox → Core
This might be form or key handling, not editor. but other components will handled by us, so keep this components at first.
Priority: -- → P3
I can reproduce this issue but I don't really know how. I noticed it also occurs with Alt key.
OS: Unspecified → Linux
Version: 56 Branch → 57 Branch
Status: UNCONFIRMED → NEW
Ever confirmed: true
I also confirm the bug (FF 60.0.2 on Ubuntu 16.04). Interestingly, the bug is "disabled" by selecting the another input field, either by clicking on it or by using tab again!
This may be a long-standing Ubuntu / Unity specific bug: https://bugs.launchpad.net/unity/+bug/1484157
@frz.dev I can confirm that when I click on an input field then 'Alt Gr' will not select the text. But if I use tab multiple times I still have the issues that 'Alt Gr' selects the text (if you land in an input field at the end). @Andreas Gruenbacher thank you for the reference, very interesting. I have this same issue with LibreOffice. The issues look related.
The permanent Workaround from the unity bug (https://bugs.launchpad.net/unity/+bug/1484157 ) is to select a input method "None" in system option ▸ languages ▸ Input keyboard system.
When I investigated similar issue, I realized that Ubuntu applied a patch to GTK or GDK, that steals focus for a while and then, give it back to the application. Then, our input filed select all text due to we think that the editor newly gets focus.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: