Open Bug 1803246 Opened 2 years ago Updated 1 year ago

Firefox menus, autoscroll and smooth scrolling stop working after dropping file on browser (Linux)

Categories

(Core :: Widget: Gtk, defect)

Firefox 107
defect

Tracking

()

UNCONFIRMED

People

(Reporter: 0fwv42r5o, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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

Steps to reproduce:

  1. Drop an image file on some website using Firefox on Linux (e.g. Google Reverse Image Search)

Actual results:

Smooth scrolling is disabled, autoscroll and all menus (context, privacy and browser menus) close instantly. Firefox needs to be restarted to work properly again. See video for example.

Expected results:

The browser should have continued working normally.

Summary: Firefox menus, autoscroll and smooth scrolling stop working after dropping file on FIrefox (Linux) → Firefox menus, autoscroll and smooth scrolling stop working after dropping file on browser (Linux)

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?(0fwv42r5o)

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

Component: Untriaged → Panning and Zooming
Product: Firefox → Core

(In reply to Negritas Sergiu from comment #1)

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?

I am using Fedora Workstation 37 with Nvidia proprietary graphics and this happens both with the rpm Firefox from Fedora repos and Firefox from Flathub. I'm using Bitwarden and uBlock Origin, but the issue also happens with new profiles without any addons.
In Nightly, this issue only breaks smooth scrolling. I can still open the menus and use autoscroll after dragging an image to the browser.

Flags: needinfo?(0fwv42r5o)

Given the impact on context menus, I'd say the issue is likely to be in the GTK widget layer.

It would be interesting to know:

  • Are you running in an X11 or Wayland session (what does echo $XDG_SESSION_TYPE in a terminal say)?
  • If you're in a Wayland session, are you running Firefox in Wayland mode (check "Window Protocol" in about:support)?
Component: Panning and Zooming → Widget: Gtk

(In reply to Botond Ballo [:botond] from comment #4)

Given the impact on context menus, I'd say the issue is likely to be in the GTK widget layer.

It would be interesting to know:

  • Are you running in an X11 or Wayland session (what does echo $XDG_SESSION_TYPE in a terminal say)?
  • If you're in a Wayland session, are you running Firefox in Wayland mode (check "Window Protocol" in about:support)?

I'm using X11.

This bug still happens running Firefox 122.0 on Fedora 39.

However, the only feature that is still broken is smooth scroll. I can now use menus and autoscroll after dragging and dropping a file in the browser.

Bug 1875627 involves very similar symptoms, though in that case the problem was resolved by going to about:config and setting general.smoothScroll.msdPhysics.enabled to false (and only Nightly was affected since this pref is only enabled by default on Nightly).

See Also: → 1875627

(In reply to Botond Ballo [:botond] from comment #7)

Bug 1875627 involves very similar symptoms, though in that case the problem was resolved by going to about:config and setting general.smoothScroll.msdPhysics.enabled to false (and only Nightly was affected since this pref is only enabled by default on Nightly).

This option is set to false in my Firefox

Please attach your about:support page.

I tried under Xwayland/Gnome on Fedora 39 and I can't reproduce it. Also Firefox/Wayland doesn't seem to even support the image D&D on Google page.

Please run firefox on terminal with MOZ_LOG=Widget:5,WidgetDrag:5,WidgetPopup:5 env variables:

MOZ_LOG=Widget:5,WidgetDrag:5,WidgetPopup:5 firefox > log.txt 2>&1

do the reproduction steps and attach the log.txt file here.
Thanks.

Flags: needinfo?(0fwv42r5o)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: