Issue 124298 - Chart Legend: Position-Auto-Fit ruined after any manual modification
Summary: Chart Legend: Position-Auto-Fit ruined after any manual modification
Status: CONFIRMED
Alias: None
Product: Calc
Classification: Application
Component: editing (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-23 08:43 UTC by Rainer Bielefeld
Modified: 2014-02-24 05:16 UTC (History)
4 users (show)

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


Attachments
Sample Document (42.37 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-02-23 08:43 UTC, Rainer Bielefeld
no flags Details
screenshot of spreadsheet (119.13 KB, image/png)
2014-02-23 09:23 UTC, Edwin Sharp
no flags Details
Sample Document (42.56 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-02-23 11:37 UTC, Rainer Bielefeld
no flags Details
Sample document with additional tests (44.58 KB, application/vnd.oasis.opendocument.spreadsheet)
2014-02-23 15:01 UTC, Rainer Bielefeld
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Rainer Bielefeld 2014-02-23 08:43:13 UTC
Created attachment 82670 [details]
Sample Document

This one is a pin off from "Bug 124287 Feature request: "Show the legend without overlapping the chart"

I think we have a real bug here.

Steps how to reproduce with "AOO 4.0.1 – German UI / German locale [Rev. 1524958 2013-09-20 11:40:29]" on German WIN7 Home Premium (64bit)", “historic” 4.0 User Profile used for all predecessor versions:

0. Open attached sample document
1. 'Double click chart “From the scratch →  select Legend with single click → 
    menu Format →  Legend → Position → ' 
2. Try left – top – and so on
    > Always the other elements will be moved so that legend will have enough 
       room without overlapping an other element in the chart
3. Close document without saving changes and reopen
4. Click into chart graph area on a white place
   > Rectangle chart graph area will be selected, 8 green control points 
     appear
5. Move mouse pointer to control point nearby Y-axis “0” until mouse pointer 
   view changes to “resize” view
6. Move chart wall control point some minimum distance to the right
    > Chart wall width decreased a little
7. 'select Legend with single click → menu Format →  Legend → Position → ' 
8. Try 'left – top – and so on#
    Expected: As in step 2 works fine, especially at the left now more room
              than before
    Actual: Now auto fit is broken, other elements will not be moved, 
            Legend will overlap chart wall

Additional Info:
----------------
(a) Still Reproducible with server installation of "AOO 4.1.0-Dev –
    English UI / German locale - [AOO410m1(Build:9750) - 
    Rev. 1566800 - 2014-02-12]" on German WIN7 Home Premium (64bit)", 
    own separate user profile.
(b) This never worked better. With 2.0.2 I do not see any autofit at all,
    with 3.1.1 Autofit does exist, but also stops working as reported
    after particular edits.
(d) I did not find a hint that the current behavior is intended, for
    example "as long as you have not done any manual position or size 
    edits you can ... with autofit ..." in Help
(e) I also observed other autofit problems what might be related, 
    I will submit detailed descriptions in separate bugs, soon
Comment 1 Rainer Bielefeld 2014-02-23 08:54:04 UTC
(f) LibO 4.1.3 still suffers from this bug.
Comment 2 Edwin Sharp 2014-02-23 09:01:10 UTC
Can not reproduce
AOO410m1(Build:9750)  -  Rev. 1566800
2014-02-11_04:11:01 - Rev. 1566981
Debian
Comment 3 Rainer Bielefeld 2014-02-23 09:12:01 UTC
(g) Reproducible with LibO 3.5.7.2 Build 350m1(Build:2) on 
    UBUNTU Linux 12.04 x64 (VirtualBox)
Comment 4 Edwin Sharp 2014-02-23 09:23:48 UTC
Created attachment 82671 [details]
screenshot of spreadsheet

What I see after step 8
Comment 5 Rainer Bielefeld 2014-02-23 11:37:37 UTC
Created attachment 82672 [details]
Sample Document

(In reply to Edwin Sharp from comment #2)
May be my description is a little misinterpretative, your screenshot seems to show that you reduced the width of all chart instead of the chart wall? I attach a modified sample document, I hope that "yellow chart wall" in text and chart will help to avoid misunderstanding
Comment 6 Edwin Sharp 2014-02-23 12:05:40 UTC
still not reproducible.
Comment 7 Rainer Bielefeld 2014-02-23 15:01:38 UTC
Created attachment 82673 [details]
Sample document with additional tests

Enhanced sample document with some more tests and more (similar) unexpected effects.
Comment 8 slacka 2014-02-23 20:56:42 UTC
Could reproduce by following steps in description on
Linux Mint 16 Petra
AOO 4.0.1 AOO401m5(Build:9714)  -  Rev. 152495

@Edwin Sharp 
There are several ways to trigger this bug. Please also try to: 
1) Edit Chart
2) Select Legend w/ single left click
3) Move Legend with mouse to a new location by dragging it with the mouse
4) Select Legend w/ single left click
5) Right click on legend -> Format ->  Legend -> Position

Note the autofit no longer scales the chart around the legend. 

I can trigger this bug everytime, by either resizing the chart or moving the legend.
Comment 9 Rainer Bielefeld 2014-02-23 21:26:00 UTC
Confirmed due to Comment 8, reproduced bug with various versions and and Bug 124287.

It might be that there still are some surprises in behavior, I did some more tests than listed in sample document, and not always the autofit was broken in the expected way.
Comment 10 Rainer Bielefeld 2014-02-24 05:16:20 UTC
see (b)!