Closed Bug 1710344 Opened 4 years ago Closed 4 years ago

[Linux, Wayland, Snap] Unable to move bookmarks in menus

Categories

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

Firefox 89
defect

Tracking

()

VERIFIED FIXED
96 Branch
Tracking Status
firefox-esr91 --- wontfix
firefox94 --- wontfix
firefox95 --- wontfix
firefox96 --- verified

People

(Reporter: thirioux, Assigned: stransky)

References

(Blocks 2 open bugs, )

Details

Attachments

(1 file)

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

Steps to reproduce:

Try to move a bookmark item in any bookmarks menu.

No issue while running X11.

Actual results:

Nothing.

Expected results:

Move it.

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

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

Forgot to mention I can remove a bookmark, so that's not RW rights related.

I can confirm this issue - reproduced it on the latest Firefox Snap 95 beta 4 with Wayland and also on the latest Nightly 96.0a1, Firefox 95 beta 4, Firefox 94.0.1, and Firefox 91.3.0 (wayland Window Protocol).

Setting this to NEW.

Blocks: wayland
Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Blocks: linuxdad
Priority: -- → P3

We're not getting drag_move from the popup window here.

Assignee: nobody → stransky

This is caused by different D&D coordinates reported from X11 and Wayland. Gtk issue https://gitlab.gnome.org/GNOME/gtk/-/issues/4437

Right now D&D on popups are not possible due to https://gitlab.gnome.org/GNOME/gtk/-/issues/4437 and wrong event handling.
To fix that we do in this patch:

Pushed by stransky@redhat.com: https://hg.mozilla.org/integration/autoland/rev/9c0203ff5e9b [Wayland] Make D&D work with popups, r=emilio
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
Regressions: 1741835
Regressions: 1741837
Regressions: 1741467
Flags: qe-verify+

wontfix is not a solution!

(In reply to corradoventu@gmail.com from comment #10)

wontfix is not a solution!

Fixed 96 (currently Beta) will become Stable on 2022-01-11.

Still same problem with FF 98.0.1

Still same problem on Ubuntu 22.04 Wayland session with:
corrado@corrado-p5-jj-0203:$ firefox-trunk --version
Mozilla Firefox 100.0a1
corrado@corrado-p5-jj-0203:
$
Problem does not occur with same FF in X11 session

Since a few weeks I use Ubuntu 22.04 (Wayland), and I can't move (Drag&Drop) tabs in Firefox (Snap now on 98.0.2).
Moving tabs to the bookmarks to save them does not work either.

+1
same problem here, drag&drop with JS isn't working and rearranging tabs in the tab bar is not working, too.

(In reply to andreas.rabus from comment #15)

+1
same problem here, drag&drop with JS isn't working and rearranging tabs in the tab bar is not working, too.

Oh, firefox snap 98.0.2-1 1154 on Ubuntu 22.04 Beta using Wayland under Gnome.

Thanks for the report folks. Please test latest nightly on Ubuntu 22.04/Wayland:
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Testing_Mozilla_binaries

If you can reproduce it please open a new bug for it and post BZ number here.
Thanks!

I tried with latest snap 100.0b1 from beta channel.
Same issue exists.

Cannot move tabs too, that's the same bug I guess.

Yes, I can reproduce that too. Strange enough it works in Fedora 35. I wonder if that's some Ubuntu specific bug or so.
Please file a new bug for it and post bug ID here.
thanks.

On Ubuntu 22.04 Wayland session:
corrado@corrado-p5-jj-0203:$ inxi -SGx
System:
Host: corrado-p5-jj-0203 Kernel: 5.15.0-23-generic x86_64 bits: 64
compiler: gcc v: 11.2.0 Desktop: GNOME 42.0
Distro: Ubuntu 22.04 (Jammy Jellyfish)
Graphics:
Device-1: Intel 4th Generation Core Processor Family Integrated Graphics
vendor: Gigabyte driver: i915 v: kernel bus-ID: 00:02.0
Display: wayland server: X.Org v: 1.22.1.1 with: Xwayland v: 22.1.1
compositor: gnome-shell driver: X: loaded: modesetting unloaded: fbdev,vesa
gpu: i915 resolution: 1680x1050
60Hz
OpenGL: renderer: Mesa Intel HD Graphics 4400 (HSW GT2)
v: 4.6 Mesa 22.0.1 direct render: Yes
corrado@corrado-p5-jj-0203:~$

same problem with FF snap 98.0.2-1 1154
also with FF snap 100.0a1 1201

no problem with
corrado@corrado-p5-jj-0203:$ apt policy firefox-trunk
firefox-trunk:
Installed: 100.0
a1hg20220404r613239-0ubuntu0.22.04.1umd1
Candidate: 100.0a1hg20220404r613239-0ubuntu0.22.04.1umd1
Version table:
*** 100.0
a1hg20220404r613239-0ubuntu0.22.04.1umd1 500
500 https://ppa.launchpadcontent.net/ubuntu-mozilla-daily/ppa/ubuntu jammy/main amd64 Packages
100 /var/lib/dpkg/status
corrado@corrado-p5-jj-0203:~$

Seems ok with firefox 99.0.1-1

Reproduced this issue using an affected nightly build from 2021-05-09 with Wayland, on Ubuntu 22.04.
Verified as fixed on Firefox 96.0.3 (20220126154723) and latest Firefox snap 104.0.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: