https://bugs.freedesktop.org/show_bug.cgi?id=84195
Priority: medium
Bug ID: 84195
Assignee: [email protected]
Summary: UI: Inconsistent behaviour "Wrap text automatically"
and "Shrink to fit cell size"
Severity: normal
Classification: Unclassified
OS: Windows (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: UNCONFIRMED
Version: 4.2.6.2 release
Component: Spreadsheet
Product: LibreOffice
The dialogue that allows to format cells shows inconsistent behaviour when
handling the options "Wrap text automatically" and "Shrink to fit cell size".
How to reproduce: Open Calc, select some cell. Open the "Format Cells" dialog
(select Format -> Cells... or press CTRL+1). Select the "Alignment" tab. Below
the "Properties" header you will find two check boxes labeled "Wrap text
automatically" and "Shrink to fit cell size". If the cell is not formatted,
both are unchecked, and both are active. Check "Wrap text automatically". This
disables the "Shrink to fit cell size" check box. Therefore you cannot change
it. Uncheck "Wrap text automatically". "Shrink to fit cell size" is now enabled
again. Check it. Wrap text automatically" remains enabled, so you can now check
it. Now both controls are checked.
It is not clear what the intended behaviour of this mechanism is: Are "Wrap
text automatically" and "Shrink to fit cell size" mutually exclusive? I saw
some cases where the text uses some smaller font when "Shrink to fit cell size"
is enabled but the text still gets truncated (see bug 84012). When a smaller
font is used more lines may fit into a cell. This effect could be used to show
the complete content. So the combination of "Wrap text automatically" and
"Shrink to fit cell size" could make sense too. On the other hand, when both
controls are checked, the text does not use a smaller font, so the state of the
"Shink to fit cell size" control seems to be ignored.
The expected behaviour should convey clearly what the intended behaviour is. If
both features are mutually exclusive then the interface should make sure that
at most one control is checked. If Calc supports a combination of both features
then there is no need to disable one of the check boxes. This is what I would
consider the better solution.
Observed with Version 4.2.6.3 on Windows 7 (64 Bit)
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs