Issue 122068 - indentation controls not reflecting selection with mixed attributes
Summary: indentation controls not reflecting selection with mixed attributes
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: 4.0.0-dev
Hardware: All All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-15 18:30 UTC by Rob Weir
Modified: 2013-04-22 09:35 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Rob Weir 2013-04-15 18:30:54 UTC
1. Start Writer and enter three paragraphs.

2. Select all three paragraphs and using the Sidebar increase the before text intent to 0.06"

3. Click in the document to change selection then select all three documents again and note that the correct indentation is reflected in the panel.  Note also that the other indentations that are the same for all three selected paragraphs are also shown, as 0.00".

4.  Now, selecting only the 2nd paragraph, set the before text indent to 0.04".

5.  Select all three paragraphs and note the Sidepanel.  As expected, the before text indent is blank, since the attributes now have mixed values and cannot be displayed on a single control.  *However*, after text intent and first line indent have also been blanked, even though they do not have mixed values.
Comment 1 Oliver-Rainer Wittmann 2013-04-22 09:35:33 UTC
The described defect is not related to the sidebar feature.
Open the Paragraph formatting dialog and investigate the indentation controls (Menu Format - Paragraph - Tab pane Indents & Spacing) - you will observe the same behavior as in the new sidebar paragraph property panel.
--> removing '[sidebar]' tag from summary

The root cause for this defect is the following:
The indentation attributes 'left/start margin', 'right/end margin' and 'first line indent' are internally aggregated into one attribute - SvxLRSpaceItem. Thus, if two paragraphs have different 'left/start margin' values they have a different 'SvxLRSpaceItem' value which means that internally that the complete indentation attribute set is different.