Bug 123312 - When splitting cells in a Table "Into equal proportions" is not selectable if Vertically is chosen first
Summary: When splitting cells in a Table "Into equal proportions" is not selectable if...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Tables
  Show dependency treegraph
 
Reported: 2019-02-10 22:11 UTC by indi4ever
Modified: 2019-02-17 15:20 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 indi4ever 2019-02-10 22:11:32 UTC
Description:
When you go to split a cell in a table (in Writer), if you select Vertically, you are unable to select the option "Into equal proportions" unless you RE-select Horizontally, then check "Into equal proportions", and then select Vertically.

This is awkward since most people select the style of split before the select how the split is to be made (as evidenced by the calls into the help desk).

It is also somewhat strange that the check box for splitting equally or not is between the two types splits. It would seem to be better placed underneath both types, or above, or further to the side in its own box.

This is not a catastrophic bug, it is an inconvenience.

Steps to Reproduce:
1.Select a cell in a table
2.Choose to split the cell using the menu under Table | Split Cells... or press the Split Cells button on the quick access toolbar.
3.Choose to split the cells vertically
4.Attempt to check the "Into equal proportions" checkbox.

Actual Results:
The checkbox is not selectable after performing the above sequence.

Expected Results:
The checkbox should be selectable so that the cell splits into equal segments after pressing the "OK" button.


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
This occurs on every desktop we have in our lab (12).
Comment 1 Durgapriyanka 2019-02-13 16:39:37 UTC
Thank you for reporting the bug. I can confirm the bug in

Version: 6.3.0.0.alpha0+
Build ID: b6b28931435e44aca92b8c0e1659f701e3ed1a87
CPU threads: 2; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-01-30_06:57:04
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Comment 2 Buovjaga 2019-02-17 15:20:28 UTC
Also in 3.3.0.

Looks like it happens here: https://opengrok.libreoffice.org/xref/core/cui/source/dialogs/splitcelldlg.cxx?r=7b185bef#58

m_xPropCB->set_sensitive(!bIsVert);

"prop" as in proportions.

The code seems to be pretty old and I don't know, if we can find an explanation for this logic.