[Libreoffice-bugs] [Bug 138865] Selecting a tree view row with a check box entry toggles the entry

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Dec 17 18:17:02 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=138865

--- Comment #6 from Jan-Marek Glogowski <glogow at fbihome.de> ---
(In reply to Attila Szűcs from comment #5)
> I think it is a design question.

No it's not. It's a bug. The checkboxes in that table don't have an associated
label.
Please look at that table. The row consists of:

[ ]  [x]  font1  font2

It not like the first checkbox has any relation to the selection of the row.

> If you can find a way how it should work, that most peoples agree with, i'm
> gladly try to change the work of it to that way.
> 
> I know it is not ideal this way.. but im not sure what would be the best..
> [and not too complex :)]
> 
> in the bug 116675, it was asked to make checkbox easyer toggleable.. because
> the checkbox is small... hard to click.
>
> so i made that the whole row (-buttons) toggle the checkbox with left
> click.. [but it is happening only if the .UI file is set like that...

Now that would be an easy fix. I had a look at the UI files, but for me it
looks the same for cui/uiconfig/ui/optfontspage.ui and
cui/uiconfig/ui/optfltrembedpage.ui, if this is an easy UI file feature, then
please fix it.

> in options -> load/save -> Microsoft office ... there is a list with 2
> checbox/row.. that not toggle with clicking on the row]

I understand this, but in this case the label is associated with the checkbox.

> You can still right click on it.. to get the focus without toggle.. and use
> other way to select... like arrow keys.. but i know it is just a workaround.

It's totally unexpecting for a table that selecting a row toggles a checkbox,
especially since the row contains multiple checkboxes. Actually a user might
even miss the "toggle on select" behavior, which will be even more confusing
later.

> [more text about the Excel case you want to emulate]

This is all fine for your special case, where the row is represented by the
checkbox. It's also the same for stand alone checkboxes with label, where you
can also click the label to toggle the checkbox.

> I was thinking about more complex solution too, but im not a designer.. 
> 
> like:
> -we could change that right click would toggle, and left click select
> -or it could toggle only if the clicked row is already selected.. so you
> could select with 1 click, and toggle with 2 clicks.. 
> -or we could give a minimum area (several letter wide) where clicking would
> toggle..

This is all unexpected and it's not needed, really. Everything is fine for you
special Autofilter case, but nevertheless your code somehow broke the font
replacement table.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201217/f4cf8e19/attachment.htm>


More information about the Libreoffice-bugs mailing list