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

搜索 | 用户支持

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

详细了解

Shift keys don't work in Wayland on Ubuntu

more options

When I start Firefox on Ubuntu under Wayland, Firefox behaves as if both shift keys just stopped working. In any text field pressing either Shift and any character inputs nothing, e.g. Shift+A inputs nothing instead of "A".

This only happens in Firefox, not in any other app that I checked (terminal, Chrome). It also doesn't happen if I start Firefox in a Xorg session.

Pasting such characters *does* work, e.g. I can paste "about:support" in the URL bar but not type it (":" requires shift).

This also happens when I start Firefox in troubleshooting mode.

What are the next steps in troubleshooting this?

When I start Firefox on Ubuntu under Wayland, Firefox behaves as if both shift keys just stopped working. In any text field pressing either Shift and any character inputs nothing, e.g. Shift+A inputs nothing instead of "A". This only happens in Firefox, not in any other app that I checked (terminal, Chrome). It also doesn't happen if I start Firefox in a Xorg session. Pasting such characters *does* work, e.g. I can paste "about:support" in the URL bar but not type it (":" requires shift). This also happens when I start Firefox in troubleshooting mode. What are the next steps in troubleshooting this?

由Rafał Dowgird于修改

所有回复 (1)

more options

Additional troubleshooting info - I verified that MouseEvent: shiftKey property does respect the Shift pressed, i.e. I can get "The shift key is pressed: true" in this demo: https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/shiftKey

So it seems only text input fields are affected by this.