[Libreoffice-bugs] [Bug 124560] New: Impress/Draw: Grouping objects creates a group object with weird initial rotation angle

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Apr 5 08:43:21 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=124560

            Bug ID: 124560
           Summary: Impress/Draw: Grouping objects creates a group object
                    with weird initial rotation angle
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Draw
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: sergio.callegari at gmail.com

Description:
Suppose that you have multiple objects and that you group them into a single
object.

That resulting object should get an initial rotation angle at 0 (as shown by
going in the "position and size" dialog and selecting the "rotation" pane. This
is important to then allow the group-object to be accurately rotated at will in
case there is need to do so.

However, the grouping action in LibO results in the newly creating group object
having an initial angle different from zero (and probably equal to the rotating
angle of one of the objects put in the group).

This unnecessarily complicates working with the group object (also because it
is by no means clear what initial object it will inherit its initial angle
from).

For instance, consider the example in the attached file, where there are 3
objects (two circles and a line) making up the symbol of a switch. If you group
the objects you get a switch symbol as a single object, but this immediately
appears to have a 30° rotation angle even if the switch is horizontal! In fact,
the compound object seems to take its initial rotation angle with the line
object. This makes it unnecessarily complex to use the newly generated symbol
(e.g. to rotate it to be vertical). In the proposed example things are really
not to bad, because 30 is a round number. Yet if it was 29.7 making the
compound object perfectly vertical, could be a bit hard. Furthermore, things
get really weird when you put objects on the gallery. You may then end up
picking something in the gallery, seeing it "horizontal" or "vertical" and then
find out that for LibO it is neither.

I think that LibO should "reset" the initial rotation angle when creating a
group object.

I believe that this bug is inherited from OO but cannot really check.

Steps to Reproduce:
See description and test case

Actual Results:
See description and test case

Expected Results:
See description and test case


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: DrawingDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190405/e8e0b426/attachment.html>


More information about the Libreoffice-bugs mailing list