为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Two problems with Wayland Gnome

  • 3 个回答
  • 0 人有此问题
  • 1 次查看
  • 最后回复者为 zeroknight

more options

I discovered two issues with Firefox on my Wayland Gnome. Picture-in-picture windows should be opened with the "always on top" attribute, but in Wayland they are not on top. It's not a big deal to manually set always-on-top. Although I need to remember to do this after the window appears. The second problem is related to selecting multiple tabs. I should be able to detach selected tabs from the window by dragging them from the tab bar. A new window is then created with the selected tabs. This doesn't work in my Wayland. I can detach one tab, but not multiple tabs at once. I can still move multiple tabs from one window to another open window. So, as a workaround, on Wayland I need to open a new window and then move the selected tabs there. Which is inconvenient. I am curious if anyone else noticed these things on Wayland. There might be something wrong with my instance of Wayland.

I discovered two issues with Firefox on my Wayland Gnome. Picture-in-picture windows should be opened with the "always on top" attribute, but in Wayland they are not on top. It's not a big deal to manually set always-on-top. Although I need to remember to do this after the window appears. The second problem is related to selecting multiple tabs. I should be able to detach selected tabs from the window by dragging them from the tab bar. A new window is then created with the selected tabs. This doesn't work in my Wayland. I can detach one tab, but not multiple tabs at once. I can still move multiple tabs from one window to another open window. So, as a workaround, on Wayland I need to open a new window and then move the selected tabs there. Which is inconvenient. I am curious if anyone else noticed these things on Wayland. There might be something wrong with my instance of Wayland.

被采纳的解决方案

Install the "PiP on top" GNOME extension.

You can right-click > Move Tabs > Move to New Window.

定位到答案原位置 👍 1

所有回复 (3)

more options

选择的解决方案

Install the "PiP on top" GNOME extension.

You can right-click > Move Tabs > Move to New Window.

more options

Thanks zeroknight for this info! PiP on top is a good solution. However, adding Gnome and browser extensions just to save two extra clicks on each PiP window is too much for me. On Wailand, I manually set "always on top" with just two mouse clicks or a few keystrokes.

The "Move to New Window" command is the much better workaround than I've used. I missed the appearance of the "Move Tabs" option in Firefox. Apparently it is relatively new.

However, I found a much better workaround. Chrome/Chromium don't have two above problems. Both are running under Xwayland. So, I tried Firefox under Xwayland by setting the environment variable MOZ_ENABLE_WAYLAND to a value other than 1. Using Xwayland fixed these issues in Firefox, too. I also didn't notice any other differences between running on Wayland and running on Xwayland. Even running on Xwayland fixed the third issue that I had with Firefox on Wayland, witch was touchpad scrolling. On Wayland, scrolling in Firefox was almost impossible, the touchpad was too sensitive. Xwayland has returned Firefox to normal behavior. So I don't know what I lost by returning to Xweland, but I know what I gained.

由YDUBINSKY于修改

more options

XWayland runs the application in legacy X11 mode which is not fully supported and does not have Wayland features like video accelerated decoding (VAAPI), touchpad gestures (kinetic scroll, two-finger swipe), vsync, reduced latency, window occlusion, optimal fractional scaling, better security and more.

You can reduce touchpad scroll sensitivity by changing apz.gtk.pangesture.page_delta_mode_multiplier to 0.3 in about:config.