[Bug 1964541] Re: Cannot rearrange Firefox (snap) browser tabs in Wayland sessions
Launchpad has imported 5 comments from the remote bug at https://bugzilla.mozilla.org/show_bug.cgi?id=1760449. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2022-03-19T16:38:59+00:00 Jeremie Tamburini wrote: User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0 Steps to reproduce: Fresh installed Ubuntu 22.04 (still development version) with Firefox snap version 98.0.1 (Also tried version 99 and 100 available on https://snapcraft.io/firefox same behavior). 1. Right click on toolbar 2. Select "Customise Toolbar" 3. Tried to remove items from the toolbar and add items on it via "drag and drop". Actual results: Nothing happens. It looks like drag and drop doesn't work. While trying to move items, they simply disappear. You can see a short video: https://www.youtube.com/watch?v=vsnr8O5EgFk (Also tried to run Firefox from the terminal, but I didn't receive any warning while trying to customize the toolbar). Expected results: What should have happened is that every items should be moved between the toolbar and the list of items as shown in the official documentation: https://support.mozilla.org/en-US/kb/customize-firefox-controls-buttons-and-toolbars Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1964541/comments/12 On 2022-03-19T17:17:53+00:00 Release-mgmt-account-bot wrote: The [Bugbug](https://github.com/mozilla/bugbug/) bot thinks this bug should belong to the 'Firefox::Toolbars and Customization' component, and is moving the bug to that component. Please correct in case you think the bot is wrong. Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1964541/comments/13 On 2022-03-19T21:36:29+00:00 Jeremie Tamburini wrote: I've realized 2 new things: 1. this problem is related to the **Wayland** session 2. drag and drop doesn't work also with tabs No problem at all selecting the xorg session at login, and this actually works as workaround. I have seen other bug report mentioning similar problems. So my bug report could be a duplicated of [1739981](https://bugzilla.mozilla.org/show_bug.cgi?id=1739981) and [1739970](https://bugzilla.mozilla.org/show_bug.cgi?id=1739970) I'm going to update the first post. Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1964541/comments/14 On 2022-03-23T13:17:23+00:00 Stransky wrote: Can you try plain Mozilla nightly binary? https://fedoraproject.org/wiki/How_to_debug_Firefox_problems?rd=Bug_info_Firefox#Testing_Mozilla_binaries Thanks. Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1964541/comments/17 On 2022-03-23T15:59:04+00:00 Jeremie Tamburini wrote: Thanks @Martin Stránský I've run the test with Firefox *nightly* using the `MOZ_ENABLE_WAYLAND=1 ./firefox -ProfileManager -no-remote` parameters and everything works as expected. The problem seems to be confined to **snap** version of Firefox in **Wayland** session (snap nightly version included). The snap package works fine with the old X11 session. Reply at: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1964541/comments/18 ** Changed in: firefox Status: Unknown => New ** Bug watch added: Mozilla Bugzilla #1739981 https://bugzilla.mozilla.org/show_bug.cgi?id=1739981 ** Bug watch added: Mozilla Bugzilla #1739970 https://bugzilla.mozilla.org/show_bug.cgi?id=1739970 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964541 Title: Cannot rearrange Firefox (snap) browser tabs in Wayland sessions To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/1964541/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1964541] Re: Cannot rearrange Firefox (snap) browser tabs in Wayland sessions
When running with MOZ_LOG=WidgetDrag:5 in jammy, this is what I'm seeing when I drag a tab: [Parent 82683: Main Thread]: D/WidgetDrag nsDragService::InvokeDragSession [Parent 82683: Main Thread]: D/WidgetDrag adding target application/x-moz-tabbrowser-tab [Parent 82683: Main Thread]: D/WidgetDrag adding target text/x-moz-text-internal [Parent 82683: Main Thread]: D/WidgetDrag invisibleSourceDragBegin [Parent 82683: Main Thread]: D/WidgetDrag nsDragService::SetDragIcon() [Parent 82683: Main Thread]: D/WidgetDrag set drag popup [7fe9ee004000] [Parent 82683: Main Thread]: D/WidgetDrag nsDragService::StartDragSession [Parent 82683: Main Thread]: D/WidgetDrag nsDragService::EndDragSession 0 The same action with the same version of the snap in impish is successful, and has a lot more logs: [Parent 2923: Main Thread]: D/WidgetDrag nsDragService::InvokeDragSession [Parent 2923: Main Thread]: D/WidgetDrag adding target application/x-moz-tabbrowser-tab [Parent 2923: Main Thread]: D/WidgetDrag adding target text/x-moz-text-internal [Parent 2923: Main Thread]: D/WidgetDrag invisibleSourceDragBegin [Parent 2923: Main Thread]: D/WidgetDrag nsDragService::SetDragIcon() [Parent 2923: Main Thread]: D/WidgetDrag set drag popup [7f944ac8dc00] [Parent 2923: Main Thread]: D/WidgetDrag nsDragService::StartDragSession [Parent 2923: Main Thread]: D/WidgetDrag WindowDragMotionHandler nsWindow 7f9467fd3400 coords [74, 11] [Parent 2923: Main Thread]: D/WidgetDrag nsDragService::Schedule() task eDragTaskMotion window 7f9467fd3400 [Parent 2923: Main Thread]: D/WidgetDrag nsDragService::RunScheduledTask() task eDragTaskMotion mTargetWindow 0 mPendingWindow 7f9467fd3400 [Parent 2923: Main Thread]: D/WidgetDrag nsDragService::StartDragSession [Parent 2923: Main Thread]: D/WidgetDrag start drag session mTargetWindow 7f9467fd3400 mTargetWidget 7f946abd2760 [Parent 2923: Main Thread]: D/WidgetDrag process motion event [Parent 2923: Main Thread]: D/WidgetDrag nsDragService::UpdateDragAction() [Parent 2923: Main Thread]: D/WidgetDrag nsDragService::SetCanDrop 1 [Parent 2923: Main Thread]: D/WidgetDrag nsDragService::ReplyToDragMotion can drop 1 [Parent 2923: Main Thread]: D/WidgetDrag gdk_drag_status() action 4 [Parent 2923: Main Thread]: D/WidgetDrag clear mTargetWindow mTargetWidget and other data [Parent 2923: Main Thread]: D/WidgetDrag remove task source [Parent 2923: Main Thread]: D/WidgetDrag WindowDragMotionHandler nsWindow 7f9467fd3400 coords [55, 11] [Parent 2923: Main Thread]: D/WidgetDrag nsDragService::Schedule() task eDragTaskMotion window 7f9467fd3400 [Parent 2923: Main Thread]: D/WidgetDrag nsDragService::RunScheduledTask() task eDragTaskMotion mTargetWindow 7f9467fd3400 mPendingWindow 7f9467fd3400 [Parent 2923: Main Thread]: D/WidgetDrag nsDragService::StartDragSession [Parent 2923: Main Thread]: D/WidgetDrag start drag session mTargetWindow 7f9467fd3400 mTargetWidget 7f946abd2760 [Parent 2923: Main Thread]: D/WidgetDrag process motion event [Parent 2923: Main Thread]: D/WidgetDrag nsDragService::UpdateDragAction() [Parent 2923: Main Thread]: D/WidgetDrag nsDragService::SetCanDrop 1 [Parent 2923: Main Thread]: D/WidgetDrag nsDragService::ReplyToDragMotion can drop 1 [Parent 2923: Main Thread]: D/WidgetDrag gdk_drag_status() action 4 [Parent 2923: Main Thread]: D/WidgetDrag clear mTargetWindow mTargetWidget and other data [Parent 2923: Main Thread]: D/WidgetDrag remove task source [Parent 2923: Main Thread]: D/WidgetDrag WindowDragMotionHandler nsWindow 7f9467fd3400 coords [51, 11] [Parent 2923: Main Thread]: D/WidgetDrag nsDragService::Schedule() task eDragTaskMotion window 7f9467fd3400 [Parent 2923: Main Thread]: D/WidgetDrag nsDragService::RunScheduledTask() task eDragTaskMotion mTargetWindow 7f9467fd3400 mPendingWindow 7f9467fd3400 [Parent 2923: Main Thread]: D/WidgetDrag nsDragService::StartDragSession [Parent 2923: Main Thread]: D/WidgetDrag start drag session mTargetWindow 7f9467fd3400 mTargetWidget 7f946abd2760 [Parent 2923: Main Thread]: D/WidgetDrag process motion event [Parent 2923: Main Thread]: D/WidgetDrag nsDragService::UpdateDragAction() [Parent 2923: Main Thread]: D/WidgetDrag nsDragService::SetCanDrop 1 [Parent 2923: Main Thread]: D/WidgetDrag nsDragService::ReplyToDragMotion can drop 1 [Parent 2923: Main Thread]: D/WidgetDrag gdk_drag_status() action 4 [Parent 2923: Main Thread]: D/WidgetDrag clear mTargetWindow mTargetWidget and other data [Parent 2923: Main Thread]: D/WidgetDrag remove task source [Parent 2923: Main Thread]: D/WidgetDrag WindowDragMotionHandler nsWindow 7f9467fd3400 coords [51, 11] [Parent 2923: Main Thread]: D/WidgetDrag nsDragService::Schedule() task eDragTaskMotion window 7f9467fd3400 [Parent 2923: Main Thread]: D/WidgetDrag nsDragService::RunScheduledTask() task eDragTaskMotion mTargetWindow 7f9467fd3400 mPendingWindow 7f9467fd3400 [Parent 2923: Main Thread]: D/WidgetDrag nsDragService::StartDragSession [Parent 2923: Main Threa
[Bug 1964541] Re: Cannot rearrange Firefox (snap) browser tabs in Wayland sessions
Presumably drag-and-drop involves some IPC so that would be what is getting blocked in the snap version. ** Also affects: firefox via https://bugzilla.mozilla.org/show_bug.cgi?id=1760449 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964541 Title: Cannot rearrange Firefox (snap) browser tabs in Wayland sessions To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/1964541/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1964541] Re: Cannot rearrange Firefox (snap) browser tabs in Wayland sessions
It looks like any kind of drag and drop doesn't work in the snap version of Firefox under Wayland session. First I've noticed that I couldn't personalize the toolbar, therefore I've open this bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=1760449 Then I realized also tabs couldn't be moved. ** Bug watch added: Mozilla Bugzilla #1760449 https://bugzilla.mozilla.org/show_bug.cgi?id=1760449 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964541 Title: Cannot rearrange Firefox (snap) browser tabs in Wayland sessions To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1964541/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1964541] Re: Cannot rearrange Firefox (snap) browser tabs in Wayland sessions
I do occasionally get crashes when attempting to rearrange tabs as well. The crashes happen both in .deb & snap versions of firefox though? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964541 Title: Cannot rearrange Firefox (snap) browser tabs in Wayland sessions To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1964541/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1964541] Re: Cannot rearrange Firefox (snap) browser tabs in Wayland sessions
This appears to be a snap-specific problem, indeed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964541 Title: Cannot rearrange Firefox (snap) browser tabs in Wayland sessions To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1964541/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1964541] Re: Cannot rearrange Firefox (snap) browser tabs in Wayland sessions
** Changed in: firefox (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964541 Title: Cannot rearrange Firefox (snap) browser tabs in Wayland sessions To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1964541/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1964541] Re: Cannot rearrange Firefox (snap) browser tabs in Wayland sessions
The same Firefox snap doesn't start at all in Xorg sessions. Seems Firefox lost the ability to connect to X11 display :0 when all other X11 apps still can. --> bug 1965113 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964541 Title: Cannot rearrange Firefox (snap) browser tabs in Wayland sessions To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1964541/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1964541] Re: Cannot rearrange Firefox (snap) browser tabs in Wayland sessions
Is it perhaps related to the fix for bug 1959596? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964541 Title: Cannot rearrange Firefox (snap) browser tabs in Wayland sessions To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1964541/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1964541] Re: Cannot rearrange Firefox (snap) browser tabs in Wayland sessions
Weird. No bug in Weston with the same firefox 98.0.1-2 snap that fails in GNOME. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964541 Title: Cannot rearrange Firefox (snap) browser tabs in Wayland sessions To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1964541/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1964541] Re: Cannot rearrange Firefox (snap) browser tabs in Wayland sessions
Possibly related: https://bugzilla.mozilla.org/show_bug.cgi?id=1739339 https://bugzilla.mozilla.org/show_bug.cgi?id=1700591 ** Summary changed: - Cannot rearrange Firefox 98 browser tabs in Wayland sessions + Cannot rearrange Firefox (snap) browser tabs in Wayland sessions ** Bug watch added: Mozilla Bugzilla #1739339 https://bugzilla.mozilla.org/show_bug.cgi?id=1739339 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1964541 Title: Cannot rearrange Firefox (snap) browser tabs in Wayland sessions To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1964541/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs