Open Bug 1803511 Opened 2 years ago Updated 5 months ago

[Wayland/KDE] Pressing "space" key triggers touch mode on selected text

Categories

(Core :: Widget: Gtk, defect, P3)

Firefox 109
x86_64
Linux
defect

Tracking

()

People

(Reporter: serfreeman1337, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached video video demonstration

Steps to reproduce:

  1. Start firefox with "MOZ_ENABLE_WAYLAND=1" and go to "about:support".
  2. Select "Troubleshooting Information" text.
  3. Press "space" key (this should scroll down).
  4. Scroll back to up.
  • Another way to reproduce this bug:
  1. Start firefox with "MOZ_ENABLE_WAYLAND=1" and go to "about:support".
  2. Select "Troubleshooting Information" text.
  3. Switch to other tab and then switch back to "about:support" using ctrl+tab keys.
  4. Scroll down (text must go out of view) and then scroll up.

Actual results:
Firefox entered touch mode for selected text after it got back in view.

Additional information:
KDE 5.26.4
Graphics platform: Wayland

Hello! I have tried to reproduce the issue using firefox 109.0a1 (2022-12-06) on Ubuntu 22.04 but unfortunately I wasn't able to reproduce it on my end.
Could you please answer the following questions in order to further investigate this issue?

  1. Does this issue happen with a new profile? Here is a link on how to create one: https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles
  2. Does this issue happen in the latest nightly? Here is a link from where you can download it: https://www.mozilla.org/en-US/firefox/channel/desktop/
  3. Do you have any addons installed if so can you list them?
Flags: needinfo?(serfreeman1337)
  1. Yes, issue still happens with new profile.
  2. Tested with latest nightly (Build ID 20221206034609).
  3. No addons in new profile.

Also it can be reproduced without scrolling selected text out of view:

  1. Go to about:support.
  2. Scroll all the way to bottom.
  3. Select any text and press "space".

Might be only KDE wayland specific.
Doesn't happen on chromium wayland.

Flags: needinfo?(serfreeman1337)

The severity field is not set for this bug.
:dao, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(dao+bmo)
Component: Keyboard Navigation → Widget: Gtk
Flags: needinfo?(dao+bmo)
Product: Firefox → Core
Summary: [Wayland] Pressing "space" key triggers touch mode on selected text → [Wayland/KDE] Pressing "space" key triggers touch mode on selected text

I can repro fwiw, that means that we're somehow getting touch events or so? That's weird. The code for this is layout/base/AccessibleCaretManager.cpp

Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: