Download it now!
Bug 120087 - Disable unuseable items on Manage Condition Formatting dialog
Summary: Disable unuseable items on Manage Condition Formatting dialog
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected)
Hardware: All All
: medium normal
Assignee: Abhyudaya Sharma
Whiteboard: target:6.2.0
Keywords: difficultyBeginner, easyHack, topicUI
Depends on:
Blocks: Conditional-Formatting-Managing
  Show dependency treegraph
Reported: 2018-09-23 11:12 UTC by Tamás Zolnai
Modified: 2018-10-15 18:22 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Tamás Zolnai 2018-09-23 11:12:50 UTC
In LO the general behavior of the dialogs that those dialog items which does not make sense to change in the actual dialog config, those items are disabled.
For example check border tap page on Format Cells dialog (Format -> Cells). There the shadow properties (distance, color) can not be changed until the user not select a shadow type first.
LO should behave similar on Manage Condition Formatting dialog and disable Edit and Remove buttons when nothing is selected (there is no item in the list), since in this case these buttons do nothing.

Steps to Reproduce:
1. Open Calc
2. Open Fomat -> Conditional -> Manage..
3. Check the dialog items's state

Actual Results:
The conditional formats list is empty, but the Edit and Remove items are still enable, however they does nothing when pushed.

Expected Results:
Edit and Remove button should be disabled when no item is selected.

Reproducible: Always

User Profile Reset: No

Additional Info:
Comment 1 Roman Kuznetsov 2018-09-23 12:15:04 UTC
confirm in LO on Windows 10
Comment 2 Tamás Zolnai 2018-09-30 12:53:37 UTC
Let's turn this into an easy hack. Some code pointer:
GUI descriptor file:
Code logic is here:
Comment 3 Commit Notification 2018-10-15 18:21:16 UTC
Abhyudaya Sharma committed a patch related to this issue.
It has been pushed to "master":

tdf#120087 Disable unuseable items in Manage Dialog

It will be available in 6.2.0.

The patch should be included in the daily builds available at in the next 24-48 hours. More
information about daily builds can be found at:

Affected users are encouraged to test the fix and report feedback.