[Bug 166714] Make uno:SetOptimalColumnWidthDirect (shift+alt+left/right) consider the whole column

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jun 2 08:35:11 UTC 2025


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

Heiko Tietze <heiko.tietze at documentfoundation.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|x86-64 (AMD64)              |All
            Summary|SHIFT + ALT + LEFT|RIGHT    |Make
                   |KEY                         |uno:SetOptimalColumnWidthDi
                   |                            |rect (shift+alt+left/right)
                   |                            |consider the whole column
                 OS|Linux (All)                 |All
                 CC|                            |erack at redhat.com,
                   |                            |libreoffice-ux-advise at lists
                   |                            |.freedesktop.org
             Status|NEW                         |NEEDINFO

--- Comment #3 from Heiko Tietze <heiko.tietze at documentfoundation.org> ---
I think this is at least worth a discussion.

STR: A1 = "Lorem ipsum dolor", A2 = "Lorem ipsum dolor est" -> running the
function on A1 increases the column to the with of the first string, running it
on the A2 to this string. If you select A1:A2 starting from A1 it still
considers the length of A1.

While the function works on the current cell it might iterate through all cells
and works on the whole column. But maybe it is a bug (in the documentation as
well) since the fucntion SetMarkedWidthOrHeight() calls MarkToMulti(). And
double click on the header calls the same function from SetEntrySize(). Eike,
could you please add your wisdom.

To be considered, what should happen if multiple columns are selected? If the
function works not per cell but column doesn't it mean to respond to
selections?

Ultimately I tend to disagree with the enhancement request, if it's not a bug,
and keep the function simple. Double-click on the column header works as
expected.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list