搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Control key and Shift key triggers some weird deleting symptom

  • 17 回覆
  • 0 有這個問題
  • 102 次檢視
  • 最近回覆由 zeroknight

more options

How to reproduce the bug: Jump to the address bar, and then press shift, ctrol, alt or windows_start, you can see the address getting deleted. You can also see it in Google Sheets and Microsoft Excel Online, it just deletes the cell, or a selection of multiple cells. --Interestingly on Google Docs it doesn't delete but just move the cursor to the first character when a string is selected.

 It happens only once per mouse click, or focus change

What I expect: Shift, Control or any mod key should not delete content or move a cursor

Thanks!

How to reproduce the bug: Jump to the address bar, and then press shift, ctrol, alt or windows_start, you can see the address getting deleted. You can also see it in Google Sheets and Microsoft Excel Online, it just deletes the cell, or a selection of multiple cells. --Interestingly on Google Docs it doesn't delete but just move the cursor to the first character when a string is selected. It happens only once per mouse click, or focus change What I expect: Shift, Control or any mod key should not delete content or move a cursor Thanks!

所有回覆 (17)

more options

Oh, it deletes the content here in the reply input field, unlike on Google Docs.

有幫助嗎?

more options

Did you try to reboot the computer ?

It is possible that some status keys have the wrong state and Firefox sees them as still pressed. Try to press all the status keys (Shift, Ctrl, Alt) a few times to see if that helps to recover from this. If this doesn't help, close and restart Firefox or reboot the computer.

有幫助嗎?

more options

Start Firefox in Troubleshoot Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration or if userChrome.css/userContent.css is causing the problem.

  • switch to the Default System theme: "3-bar" menu button or Tools -> Add-ons -> Themes
  • do NOT click the "Refresh Firefox" button on the Troubleshoot Mode start window

有幫助嗎?

more options

Thank you so much for the reply cor-el, I have tried all of them in vain except the userC*.css stuff because I believe I don't have them --I tried searching for them in the profile directory but found none in the pattern of '*userContent*' or '*userChrome*'

Pressing all the status keys a few times, rebooting the system, launching firefox in troubleshoot mode, turning off hardware acceleration, switching from and back to the default system theme all of them didn't fix the problem..

I run Firefox 122.0 (64-bit) from ppa:mozillateam/ppa, upon sway 1.8.1-2 from Ubuntu 23.10 (mantic) so it is not the common combination of `Firefox from Ubuntu + Gnome/KDE from Ubuntu`.

有幫助嗎?

more options

Sorry, I missed that you are on Ubuntu Linux.

You can try other Firefox versions like Firefox from the official Mozilla server if you currently use a version from the repositories of your Linux distribution to see if it behaves differently.

有幫助嗎?

more options

I removed the Firefox I was using and then installed from the official Mozilla repository in vain.

The original firefox I was using was from PPA from Mozilla team, and the version was:

 122.0+build2-0ubuntu0.23.10.1~mt1

The new firefox I got from the official repository is version:

 122.0~build2

One thing personally interesting is that it had a slight different dependency list: -{xul-ext-ubufox and/or libdbusmenu-glib4 and/or libdbusmenu-gtk3-4} +libgdk-pixbuf2.0-0 --It doesn't seem to be useful for debugging though.

I just realized that this bug is actually way worse than I thought it was. up,down,left,right arrow keys also trigger the weird symptom, same in the both of the versions 122.0~build2 and 122.0+build2-0ubuntu0.23.10.1~mt1

有幫助嗎?

more options

Does it still happen with the flatpak version?

有幫助嗎?

more options

zeroknight said

Does it still happen with the flatpak version?

Yes, it does.

有幫助嗎?

more options

Can you try a different keyboard ?

有幫助嗎?

more options

cor-el said

Can you try a different keyboard ?

I tried, but didn't see any difference.

有幫助嗎?

more options

wind8702 said

sway 1.8.1-2 from Ubuntu 23.10

Visit about:support in the address bar and check the value of "Window Protocol". If it is "wayland", try setting the environment variable MOZ_ENABLE_WAYLAND=0, if it is "xwayland" try setting MOZ_ENABLE_WAYLAND=1.

有幫助嗎?

more options

zeroknight said

wind8702 said

sway 1.8.1-2 from Ubuntu 23.10

Visit about:support in the address bar and check the value of "Window Protocol". If it is "wayland", try setting the environment variable MOZ_ENABLE_WAYLAND=0, if it is "xwayland" try setting MOZ_ENABLE_WAYLAND=1.

`MOZ_ENABLE_WAYLAND=0` didn't prevent firefox from launching in wayland, but `GDK_BACKEND=x11` did. And it fixed the problem.

But I'd like to keep having Firefox in wayland. --One of the reasons why I would like to keep using wayland is the Korean input method I use refuses to support typing in X even it does read the environment variable XMODIFIERS='@im=kime'.

有幫助嗎?

more options

Thank you anyway for the help, at least I have a makeshift solution that I would use when I need to work on spreadsheets. :)

有幫助嗎?

more options

I've found out that it happens in Libreoffice Calc as well, but when I tried to reproduce the same bug in Libreoffice Writer it didn't happen.

I guess it's a bug in sway, libwlroots11 or something on Ubuntu 23.10.

EDIT: the bug occurs only in the top cell editing bar in Libreoffice Calc, not in the big screen of cells, so you'll be fine as long as you edit a cell in the middle of the screen. which in my opinion is better since some words are colored there.

由 Gunwoo Gim 於 修改

有幫助嗎?

more options

It turns out the bug is coming from the input method I'm using called kime

有幫助嗎?

more options

I think I'm having a similar issue to you, but I don't know if your resolution works for me. I'm trying to use Excel online. Not long ago, it worked fine for what I'm doing, but recently I noticed cell contents being deleted if I select it and then hitting almost any other key, including the arrow keys, Ctrl, Alt, Enter.

Running Firefox 124.0.2 on Ubuntu 22.04

Any suggestions on what to do or where to look for answers?

有幫助嗎?

more options

Does it still happen with Developer Edition?

有幫助嗎?

問個問題

如果您還沒有帳號,您必須先登入帳號 來回覆文章。還沒有帳號的話,只能發問新問題