You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2011/10/18 14:08:15 UTC

DO NOT REPLY [Bug 118524] New: Activated scaled/sheared OLEs do not behave well when changing their ObjectArea

https://issues.apache.org/ooo/show_bug.cgi?id=118524

             Bug #: 118524
        Issue Type: DEFECT
           Summary: Activated scaled/sheared OLEs do not behave well when
                    changing their ObjectArea
    Classification: Application
           Product: Drawing
           Version: OOo 3.4 Beta
          Platform: PC
        OS/Version: Windows 7
            Status: NEW
          Severity: minor
          Priority: P5
         Component: formatting
        AssignedTo: graphicsneedsconfirm@openoffice.org
        ReportedBy: Armin.Le.Grand@me.com
                CC: ooo-issues@incubator.apache.org


ALG: This is a follow-up to #i118485#, thanks to Regina for showing this.

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

DO NOT REPLY [Bug 118524] Activated scaled/sheared OLEs do not behave well when changing their ObjectArea

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118524

Armin Le Grand <Ar...@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |STARTED
         AssignedTo|graphicsneedsconfirm@openof |Armin.Le.Grand@me.com
                   |fice.org                    |

--- Comment #1 from Armin Le Grand <Ar...@me.com> 2011-10-18 12:11:37 UTC ---
ALG: Problem is that the activated OLEs are shown aligned to their unrotated,
unsheared rectangle. This means that when changing the OLEs ObjectArea this
needs to be taken into account by centering the new ObjectArea to the
scaled/sheared real area.

ALG: Adapted in sc\source\ui\app\client.cxx and
sd\source\ui\docshell\sdclient.cxx. Not needed (for now) in
sw\source\ui\uiview\swcli.cxx since SW has it's own OLE implementation.

ALG: Building, looking at SD and SC behaviour...

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

DO NOT REPLY [Bug 118524] Activated scaled/sheared OLEs do not behave well when changing their ObjectArea

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118524

--- Comment #4 from Armin Le Grand <Ar...@me.com> 2011-10-18 16:15:19 UTC ---
ALG: Translate and Resize in activated mode did not work well in SC, checked
for reason. The OLE client's size change calls SetLogicRect atthe SdrOle2Obj as
needed, but these methods at SdrOle2Obj all again call SetVisAreaSize which
again sets the visual area size at the embedded object. This leads to problems
(at least not to a loop). Added a mechanism to not do this recursive work.
Checking...

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

DO NOT REPLY [Bug 118524] Activated scaled/sheared OLEs do not behave well when changing their ObjectArea

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118524

Armin Le Grand <Ar...@me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|STARTED                     |RESOLVED
         Resolution|                            |FIXED

--- Comment #7 from Armin Le Grand <Ar...@me.com> 2011-10-18 16:37:03 UTC ---
ALG: Fixed Reginas findings and also some own ones, done so far.

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

DO NOT REPLY [Bug 118524] Activated scaled/sheared OLEs do not behave well when changing their ObjectArea

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118524

--- Comment #5 from Armin Le Grand <Ar...@me.com> 2011-10-18 16:29:24 UTC ---
ALG: Corrected SC's ScrollToObject(), it used the LogicRect. Instead, usage of
the BoundRect is needed which by definition defines the visible area of the
SdrObject.

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

DO NOT REPLY [Bug 118524] Activated scaled/sheared OLEs do not behave well when changing their ObjectArea

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118524

--- Comment #2 from Armin Le Grand <Ar...@me.com> 2011-10-18 12:57:42 UTC ---
ALG: Works as expected. I also noticed that the green handles can be modified
interactively which leads to errors, too. Trying to deactivate standard
interaction handles when OLE is inplace active...

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

DO NOT REPLY [Bug 118524] Activated scaled/sheared OLEs do not behave well when changing their ObjectArea

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118524

--- Comment #6 from Armin Le Grand <Ar...@me.com> 2011-10-18 16:36:31 UTC ---
Created attachment 76901
  --> https://issues.apache.org/ooo/attachment.cgi?id=76901
Fixes errors described in the task

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

DO NOT REPLY [Bug 118524] Activated scaled/sheared OLEs do not behave well when changing their ObjectArea

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=118524

--- Comment #3 from Armin Le Grand <Ar...@me.com> 2011-10-18 15:31:17 UTC ---
ALG: SC does not correct handles on OLE activation itself, added that.

ALG: Resizing of a rotated/sheared OLE makes the object jump around. After some
debugging I found a place where Joe removed shear/rotate from OLEs and somewhat
moved them around, entitled 'kleine Korrekturen' (small corrections). This
needs to be removed. Checking all transforming methods at the OLE...

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.