Bug 156438 - Carefully choose visible language group tab when opening font selection dialog
Summary: Carefully choose visible language group tab when opening font selection dialog
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: RTL-CTL CJK
  Show dependency treegraph
 
Reported: 2023-07-24 08:54 UTC by Eyal Rozenberg
Modified: 2023-09-13 07:34 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 Eyal Rozenberg 2023-07-24 08:54:32 UTC
When both Asian and RTL-CTL languages are enabled, and the font selection dialog is opened, on one side it has two tabs, one for Asian and one for RTL-CTL. The thing is, even though I'm using a document with only Western and RTL content, and have not made any CJK-related settings to any of its styles, and my keyboard layouts don't include CJK - I still get the Asian tab visible by default and the RTL-CTL tab hidden.

Instead, some kind of heuristic should be applied for choosing which tab is visible/selected when the window opens.

* The tab choice could simply persist.
* The keyboard layout could be taken into account.
* The element to which the dialog relates could be checked for presence of RTL vs Asian content

... or some combination of the above.
Comment 1 Heiko Tietze 2023-09-12 07:24:52 UTC
The dialog layout was changed for bug 146928 to make it fit on small screens. No objections to put effort into storing user data.
Comment 2 Mike Kaganski 2023-09-12 07:34:54 UTC Comment hidden (spam)
Comment 3 Eyal Rozenberg 2023-09-12 21:49:01 UTC
(In reply to Heiko Tietze from comment #1)
> The dialog layout was changed for bug 146928 to make it fit on small
> screens. No objections to put effort into storing user data.

So, you support using persistence for this? Do you believe it's better than the alternatives or are you just saying that it's an acceptable option?

(In reply to Mike Kaganski from comment #2)
> I disagree.

Disagree with what part of what we said? :-(

> Enabling Asian support means user is interested in respective
> options/properties. So showing the properties should be independent on any
> file content / system configuration in this case.

Yes, but that's true for RTL-CTL as well. Is the user's interest in CJK always stronger than their interest in RTL-CTL? If the user enabled both, they will sometimes work on RTL-mostly documents, and will want to see the RTL font first and foremost; and sometime work on CJK-mostly documents and will want to see the CJK font first and foremost.

> If the shown elements confuse users, their placement need to be
> re-considered again, so that their presence would be OK.

This bug is about convenience vs. hassle, not confusing vs clarity.
Comment 4 Mike Kaganski 2023-09-13 01:17:59 UTC Comment hidden (spam)
Comment 5 Mike Kaganski 2023-09-13 05:40:54 UTC Comment hidden (off-topic)
Comment 6 Heiko Tietze 2023-09-13 07:34:02 UTC
(In reply to Eyal Rozenberg from comment #3)
> So, you support using persistence for this? Do you believe it's better than
> the alternatives or are you just saying that it's an acceptable option?
To remember the last used state, at least during the current session, is acceptable and desirable. Besides, I don't think CTL + CJK is a frequent use case, we want to get rid of the trichotomy anyway, and last but not least heuristics that attempt to scry users activities is doomed.