Closed Bug 1759612 Opened 4 years ago Closed 8 months ago

kde gestures stopped working after update to firefox 98

Categories

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

Firefox 98
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: danregister, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0

Steps to reproduce:

I have some mouse gestures configured in System Settings / Shortcuts / Custom shortcuts. For example right button press + move down should open a new tab. This stopped working after Firefox updated itself to version 98.

https://userbase.kde.org/Browser_Configuration/Mousegestures_for_all_Browsers

Actual results:

On the right button press a menu shows up.

Expected results:

IIRC before the menu showed up only after the right button release, if there was no movement after the right button press.

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Hello! I have tried to reproduce the issue using Kubuntu with KDE plasma 5.18.8 with firefox 101.0a1 (2022-04-21) but unfortunately I didn't manage to trigger the app.
Could you answer the following questions in order to further investigate this issue

  1. Could you please provide more info on how to use the gesture app?
  2. Could you please try and see if the issue is reproducible with firefox Nightly? here is a link from where you can download it: https://www.mozilla.org/en-US/firefox/channel/desktop/
Flags: needinfo?(danregister)

When trying to answer the "needinfo", I've found out what is the issue and how to fix it :-)

Long story short, it looks like in version 98 the x11 window class changed from something containing "Firefox" (uppercase first letter) to "firefox". The condition in the shortcuts configuration is matching window class with a regexp and for firefox it was using "Firefox" string, but the actual class is:

]$ xprop -id 0x3c0002b WM_NAME WM_CLASS
WM_NAME(COMPOUND_TEXT) = "1759612 - kde gestures stopped working after update to firefox 98 — Mozilla Firefox"
WM_CLASS(STRING) = "Navigator", "firefox"

How to use gestures (Plasma 5.18.8):

  • download the settings from https://www.linux-apps.com/p/1081269 (I will also attach it to this issue)
  • open "System Settings", go to "Shortcuts", then "Custom Shortcuts"
  • if on the right you don't see "Gestures" with a checkbox, click "Settings" on the bottom
  • make sure "Gestures" checkbox is enabled and mouse button is "3"
  • click "Edit" on the bottom, select "Import..." and pick the settings file downloaded earlier
  • a new group named "Browser" should appear, make sure that the checkbox next to it is enabled
  • click "Apply" on the bottom right

To test, open chromium, press right button, move down, release right button: a new tab should open

To make it work again in Firefox:

  • open "System Settings", go to "Shortcuts", then "Custom Shortcuts"
  • select "Browser" group, then on the right click "Conditions" tab
  • select "Active window: Webbrowsers", then on the right click "Edit..." button
    • in the new window select "Window simple: Firefox" from the list, then click "Edit..." button
      • in the new window change "Firefox" to "firefox" in "Window class" field
      • click "OK"
    • click "OK"
  • click "Apply" on the bottom right
Flags: needinfo?(danregister)

Thanks for the info! Looks like you solved it already then.

Status: UNCONFIRMED → RESOLVED
Closed: 8 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: