Open Bug 1871518 Opened 5 months ago Updated 5 months ago

visible state of spellcheck language checkboxes not toggling

Categories

(Core :: Spelling checker, defect)

Firefox 120
defect

Tracking

()

UNCONFIRMED

People

(Reporter: jnqnfe, Unassigned)

References

()

Details

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

Steps to reproduce:

Using Firefox on Debian Sid with Gnome desktop; Forwarding a bug I filed on the Debian tracker a few weeks ago (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056559). First noticed on Firefox version 120, still exists in 121. Copy & pasted report:

I just tried switching spell-check language via the context menu on a textbox in a webpage, and I noticed an issue with the language checkboxes. The menu had two entries, UK English and US English, the wrong one was selected. I clicked on one to toggle it and nothing appeared to happen. Experimenting I've found that the state does change, it's just that the drawn state of the checkbox is not immediately updated as expected. Once you change the selected menu entry, either by moving the cursor or using the up/down keyboard keys, the checkbox is then redrawn to show its new state. It just fails to be redrawn whilst its menu entry remains selected.

I also noticed that context menu checkboxes seem to not be responding to the spacebar in terms of toggling state.

I checked the w3schools checkbox example and no issues with the behaviour of that, nor it seems the checkboxes within about:preferences. I can't think of a similar context menu example on my system to check against.

Behaviour is the same whether I select Arc or Adwaita in the Gnome tweak tool.

Reproduction:

  1. Load slashdot.org
  2. Right-click in the search box, top-right
  3. Ensure 'check spelling' is enabled, otherwise enable it and retry
  4. Select the 'languages' submenu
  5. Try toggling the language checkboxes

The Bugbug bot thinks this bug should belong to the 'Core::Spelling checker' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Spelling checker
Product: Firefox → Core
Severity: -- → S4
You need to log in before you can comment on or make changes to this bug.