Bug 108293 - Edit paragraph style: area and borders tab causes unwanted changes
Summary: Edit paragraph style: area and borders tab causes unwanted changes
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Styles-Paragraph
  Show dependency treegraph
 
Reported: 2017-06-01 21:26 UTC by Thomas Lendo
Modified: 2023-01-17 12:11 UTC (History)
2 users (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 Thomas Lendo 2017-06-01 21:26:54 UTC
This is a clone of bug 96382 which relates to character styles.

Test with paragraph style "Default Style":
- Open Writer.
- Open Styles > Edit style.
- Look at the Organizer tab: the Contains section should be empty.
- Switch to Borders tab.
- Switch back to Organizer tab: new entries "Shadow: Gray, Not Transparent, 0,18 cm, No Shadow" appear in Contains section without any user action.
- Close the paragraph dialog and open it again.
- Switch to Area tab, click at "Color".
- Switch back to Organizer tab: new entry "Continuous" appears in Contains section without any user action.
- Close the paragraph dialog and open it again.
- Switch to Area tab, click at "Gradient".
- Switch back to Organizer tab: new entries "Gradient + Tango Green + 0" appear in Contains section without any user action.
- Close the paragraph dialog and open it again.
- Switch to Area tab, click at "Bitmap".
- Switch back to Organizer tab: new entries "Bitmap + Sky" appear in Contains section without any user action.
- Close the paragraph dialog and open it again.
- Switch to Area tab, click at "Pattern".
- Switch back to Organizer tab: new entries "Bitmap + 5 Percent" appear in Contains section without any user action.
- Close the paragraph dialog and open it again.
- Switch to Area tab, click at "Hatch".
- Switch back to Organizer tab: new entries "Hatching + Black 0 Degrees" appear in Contains section without any user action.

Expected result:
If nothing is manually changed by the user, nothing should be shown in the Contains section of the Organizer tab.

Version: 5.5.0.0.alpha0+
Build ID: b08217989558addbcaded122a4e7211ae24bbcff
CPU threads: 4; OS: Linux 4.8; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-05-31_06:36:03
Locale: de-DE (de_DE.UTF-8); Calc: group
Comment 1 Jacques Guilleron 2017-06-02 16:09:57 UTC
Hi Thomas,

At each step, I see that the previous fugitive setting has vanished. So I see tha
Comment 2 Jacques Guilleron 2017-06-02 16:20:41 UTC
Sorry,

This can be seen as a drafting, without impact if we don't use the feature.

Jacques
Comment 3 Thomas Lendo 2018-09-18 06:56:28 UTC
Despite to my initial comment, the area tab changes (in the written steps) are not "unwanted" because the change from "None" to "Color" or any other area filling is a user action that should be visible in the Organizer tab. So that is OK.

But the first steps with the Borders tab is a bug.

To clarify what this bug report is about:

When switching from Organizer tab so the following other tabs and when going back to the Organizer tab without any further user action, the "Contains" section has new attributes in it that were not wanted by the user:
* Indents & Spacing
* Alignment
* Borders
* Area

Steps to reproduce:

Test with paragraph style "Default Style" or any other style that is activated where the cursor is.
- Open Writer.
- Open menu Styles > Edit style.
- Look at the Organizer tab: the Contains section should be empty.

- Switch to Indents & Spacing tab.
- Switch back to Organizer tab: new entry "Indent left 0.0 cm, Indent right 0.0 cm" appears in the Contains section without any user action.
- Close the paragraph dialog without saving (click at the cancel button) and open it again.

- Switch to Alignment tab.
- Switch back to Organizer tab: new entry "Align left" appears in the Contains section without any user action.
- Close the paragraph dialog without saving (click at the cancel button) and open it again.

- Switch to Borders tab.
- Switch back to Organizer tab: new entry "Shadow: Gray, Not Transparent, 0,18 cm, No Shadow" appears in the Contains section without any user action.
- Close the paragraph dialog without saving (click at the cancel button) and open it again.

- Switch to Area tab and do nothing else.
- Switch back to Organizer tab: new entry "None" appears in the Contains section without any user action.


Version: 6.2.0.0.alpha0+ (x64)
Build ID: 18c5089df091bddeb8c2dc339776671964389040
CPU threads: 8; OS: Windows 10.0; UI render: GL; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-09-12_23:24:12
Locale: de-AT (de_AT); Calc: CL
Comment 4 QA Administrators 2019-09-19 03:14:27 UTC Comment hidden (obsolete)
Comment 5 Thomas Lendo 2019-09-22 19:58:21 UTC
The two issues I can reproduce is 1) when going to Highlighting tab, select 'Color' and select 'None' again. This activates 'Automatic,Transparent' in the 'Organizer' tab. And 2) when going to Area tab, select something and then 'None' again which causes 'None' to be in the 'Organizer' tab.

Are these additional texts in 'Contains' still bugs or is this technically necessary? I would say it's only necessary after clicking 'OK' or 'Apply' and not before.
Comment 6 QA Administrators 2021-09-22 03:37:55 UTC Comment hidden (obsolete)
Comment 7 Thomas Lendo 2023-01-17 12:11:12 UTC
The two issues in comment #5 are still there, but I think this is technically necessary and can be set back with the Reset to parent template button.

Closing as Worksforme as the other issues from the initial comments are not there anymore.

Version: 7.3.7.2 (x64) / LibreOffice Community
Build ID: e114eadc50a9ff8d8c8a0567d6da8f454beeb84f
CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: de-AT (de_AT); UI: de-DE
Calc: threaded