Bug 160560 - WRITER / Tools / Language / For selection: checkbox doesn't act like a checkbox...
Summary: WRITER / Tools / Language / For selection: checkbox doesn't act like a checkb...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.2.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-06 06:41 UTC by peter josvai
Modified: 2024-04-06 11:06 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description peter josvai 2024-04-06 06:41:06 UTC
Description:
The language checkbox doesn't act like a checkbox...

Steps to Reproduce:
1. go Tools / Language / For selection
2. check a language
3. go Tools / Language / For selection
4. try to uncheck that language

Actual Results:
You can't
You have to click another language or "none" in order to uncheck it... 

Expected Results:
Checkbox behavior (clicking on it toggles its state, now it's checked, now it's unckecked)


Reproducible: Always


User Profile Reset: No

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: TextDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes
Comment 1 Mike Kaganski 2024-04-06 07:33:38 UTC
What is the goal of being able to uncheck that? Just for some "purity" concept? The checkmark is an clear metaphor; and at the same time, there is no "unset language" state for any text. It may be "none" special language, or any other of thousands of valid languages (even those not present in the "quick" list; even those that LibreOffice doesn't know). But no "unset language" (see bug 160248). So - this expectation aims to what specific result?
Comment 2 Julien Nabet 2024-04-06 10:09:30 UTC
@Mike: I suppose the reporter means it rather should be a radio button instead of a checkbox.
A bit like in a form:
- if we got radio buttons, 1 of them (not less, not more) must be selected and you can "unselect" one, you must select another one.
- if we got checkboxes, we can have 0, 1 or several checked and they can be unchecked if needed.

BTW, "Tools/Language/For Selection" works but "Tools/Language/For Paragraph" and "Tools/Language/For All Text" don't work, checkboxes stay unchecked whereas I checked one of them. Either I missed something or I should submit a bugtracker.
Comment 3 Mike Kaganski 2024-04-06 10:19:30 UTC
(In reply to Julien Nabet from comment #2)

I kind of figured that. However, the *checkbox* is a better metaphor; it has some generic meaning, not limited to UI, and so is very suitable for some *loose* "this is chosen" concept, while a radio button is very specific to UI (and is bound to "**complete** set of mutually exclusive options"). So I still disagree with radio button being a better choice here, where the set is not complete, and the checkmark is mostly informative.
Comment 4 Julien Nabet 2024-04-06 11:06:03 UTC
(In reply to Mike Kaganski from comment #3)
> (In reply to Julien Nabet from comment #2)
> 
> I kind of figured that. However, the *checkbox* is a better metaphor; it has
> some generic meaning, not limited to UI, and so is very suitable for some
> *loose* "this is chosen" concept, while a radio button is very specific to
> UI (and is bound to "**complete** set of mutually exclusive options"). So I
> still disagree with radio button being a better choice here, where the set
> is not complete, and the checkmark is mostly informative.

I understand. Perhaps the "checked checkbox" should be grayed to show explicitely we can't uncheck it?