[Bug 159562] Image size: activate "Relative to" when inputting percentages

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Feb 23 09:37:09 UTC 2024


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
                 CC|libreoffice-ux-advise at lists |heiko.tietze at documentfounda
                   |.freedesktop.org            |tion.org
           See Also|                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=13
                   |                            |2408
           Keywords|needsUXEval                 |
                 OS|Windows (All)               |All
           Severity|minor                       |enhancement
             Status|UNCONFIRMED                 |NEW
             Blocks|                            |103270

--- Comment #5 from Heiko Tietze <heiko.tietze at documentfoundation.org> ---
And if "[x] Relative" is checked a string like "10 cm" makes it an absolute
parameter? And how about inch, km, px, foo... I proposed some kind of unit
switch control-side in bug 72662 but this dialog is a bit of a stretch.

We could also just not accept invalid input (units, comma, separators...), or
have an extra spin edit for this type like

Width: (o) absolute [    ] cm
       ( ) relative [    ] %
           to [Entire paragraph area]

But since absolute and relative values are converted when clicking the '[ ]
Relative to' option, I can follow the idea of auto-checking if % is part of the
string. If the checkbox is checked a plain value would be treated as percent,
any other text (2cm, 5in, 7foo) makes it an absolute value, ie. the '[ ]
Relative to' is automatically unchecked.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=103270
[Bug 103270] [META] Image/Picture dialog bugs and enhancements
-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list