Issue 122417 - Rotation angle for grouped objects or multi object selections shows rotation angle of first drawn object for group
Summary: Rotation angle for grouped objects or multi object selections shows rotation ...
Status: CONFIRMED
Alias: None
Product: Draw
Classification: Application
Component: ui (show other issues)
Version: 4.0.0
Hardware: PC Windows 7
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2013-05-30 02:23 UTC by Prachi
Modified: 2020-01-03 02:27 UTC (History)
7 users (show)

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


Attachments
Rotation angle not displaying as 0.00 degrees. (273.56 KB, image/png)
2013-05-30 02:23 UTC, Prachi
no flags Details
Sample document (11.87 KB, application/vnd.oasis.opendocument.graphics)
2014-03-10 08:25 UTC, Rainer Bielefeld
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Prachi 2013-05-30 02:23:03 UTC
Created attachment 80745 [details]
Rotation angle not displaying as 0.00 degrees.

Description: Rotation angle in Position and Size section not displaying as 0.00 degrees when objects are grouped.

Steps to Reproduce:
    1) New a presentation.
    2) Insert a line into the slide and modify its rotation angle.
    3) Insert a picture to another place in same slide,and then modify its rotation angle.
    4) Select all objects.
    5) Group selected objects.

Actual Result: Objects are grouped, but rotation angle not displaying as 0.00 degrees in position and size section.

Expected Result: Objects are grouped, and rotation angle should displays as 0.00 degrees.

Build Date & Hardware:
Build: AOO 4.0 Rev.1479897
OS: windows 7

Additional Information: Test Case Reference: AOOTest-1485:Position*Size section - Impress - rotation - group
Comment 1 liuping 2013-05-30 08:42:42 UTC
I reproduce this issue on Mac OS and Win7 OS
Comment 2 Armin Le Grand 2013-05-30 13:54:08 UTC
ALG: It works as designed. The first shape of the group defines the group's rotation. All rotations on groups are relative, so all works as expected. This is mainly to allow to keep the common rotation angle. Scenario:
- create two objects
- group them
- rotate group
- ungroup
-> all objects are rotated by the same angle

...or any other way to create objects which have the same rotation

- select all same-rotated objects
- group them
-> common rotation angle is kept and shown

Not an error from my POV.
Comment 3 edoardopanfili 2013-05-31 16:38:03 UTC
I can reproduce this in OS X 10.8.3

AOO400m1(Build:9700)  -  Rev. 1484679
2013-05-21 10:10:44 (Tue, 21 May 2013)
Comment 4 Rob Weir 2013-06-03 20:26:43 UTC
working as designed is not necessary working as expected.  As a user I'd expect a grouped object to preserve the rotation of the included objects, but also have a rotation of its own.  And just as a new object starts with 0 rotation, I'd expect a new group to start with 0 rotation.
Comment 5 Rainer Bielefeld 2014-03-10 06:51:10 UTC
The problem can be described more precise, for grouped objects or multi object selections the rotation angle of the object what has been drawn first will be shown for the complete group.

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

1. From AOO Start center open new DRAW document
2. Draw a smiley
3. menu 'Position and Size -> Rotation -> 45 degrees' [ok]
   > Rotated smiley
4. Draw a second smiley, rotate it 270°
5. select all (<control+a>
6. menu 'Position and Size -> Rotation'
   Expected: 0° (?)
   Actual: 45°

Additoinal Test:
10. <Esc><Esc><Esc> to unselect
11. Click 45° Smiley
12. <control+x> for 'cut'
   shape disappears
13. <copntrol+v> for paste
   shape reappears
14. menu 'Position and Size -> Rotation'
    > Now 270° because 45° Smiley has been "drawn" Later

There might be sme reasons for this behavior, but it's unintuitive, and for x/y position also (of ocurse) position of complete group and not of first object is shown.

This did not always work that crazy way, was as expected in OOo 1.1.5, I will check later with what version that appeared
Comment 6 Rainer Bielefeld 2014-03-10 08:25:48 UTC
Created attachment 82828 [details]
Sample document

My Version modification was accidentally

Additional Info
---------------
(a) Already Reproducible with server installation of "AOO 4.0.0-Dev – English UI
    / German locale [AOO400m1(Build:9700) – Rev.1476029 ((2013-04-26))]" 
    on German WIN7 Home Premium (64bit)", own separate user profile 
(b) Still old behavior with server installation of " AOO 4.0.0-Dev – English UI
    / German locale [AOO400m1(Build:9700) - Rev. 1457992 – Rev.1457606 
    ((2013-03-19))]" on German WIN7 Home Premium (64bit)", 
    own separate user profile
(c) IMHO inconsistent, angle is taken from first drawn shape, base point from 
    complete group?
(d) I can not remember any disadvantage related to old behavior. 
(e) on the other hand I can't see any serious disadventage of new behavior, 
    only (c), and that that all is rather worrying for users: If you delete 
    rectangle from shapes group on slide 2 of attachment rotation angle of
    group will change from 90° to 270,01 degrees.
(f) After weighting all arguments I see this one as an regression
Comment 7 Rainer Bielefeld 2014-03-10 08:42:29 UTC
@Armin
I agree more or less, it's not definitively wrong, but from users point of view less intuitive for most cases. May be except 1:

20. Open sample document <<2014-03-10 09:25 CET, Rainer Bielefeld >>
21. Ungroup shapes on slide 2
22. Select all shapes, increase rotation angle from 90° to 91° [ok]
    > rotates
23. For still selected shapes menu 'Format -> Position and Size -> 
    Rotation 91°'
    -> Increase to 92°
24. And so on few times. You can trace your actions in rotation angles value
25. do some 'Undo' actions, 
    > you can trace your actions in rotation angles value

Now do the same with a 3.x OOo. 0 degrees in every new step.

And it seems there was an Undo-bug in old behavior:

30. Open sample document <<2014-03-10 09:25 CET, Rainer Bielefeld >>,
    with OOo 3.3.0
31. Select grouped shapes, increase rotation angle from 0° (initial value)
     to 1° [ok]
    > rotates
23. For still selected shapes menu 'Format -> Position and Size -> 
    Rotation (2°)
    -> Rotation increases to 2°'
24. And so on few times until 95°. 
    > you can trace your actions in rotation angles value
25. do some 'Undo' actions, check rotation angle value after every undo
    with <f4>
    Bug: shown value keeps 5 degrees, undo not reflected, you can 
         NOT trace your Undo actions in rotation angles value

What ever this all might tell :-/
Comment 8 Armin Le Grand 2014-03-17 16:12:17 UTC
At Comment 5: Yes there are reasons for this, will need aw080 to better do this. Grepping to keep an eye on it...
Comment 9 Marcus 2017-05-20 11:01:01 UTC
Reset assigne to the default "issues@openoffice.apache.org".
Comment 10 Zulfadli Bin Abdullah 2020-01-03 02:27:17 UTC
(In reply to liuping from comment #1)
> I reproduce this issue on Mac OS and Win7 OS