Bug 48281 - Selection of rotated object
Summary: Selection of rotated object
Status: CLOSED DUPLICATE of bug 35079
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
3.5.1 release
Hardware: Other All
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-04 01:19 UTC by Mohith Manoj
Modified: 2012-06-18 13:29 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
A sample doc created on 3.5.0 (13.26 KB, application/vnd.oasis.opendocument.presentation)
2012-04-10 21:17 UTC, AH
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mohith Manoj 2012-04-04 01:19:23 UTC
Normally an object can be selected by a click-and-drag outline enclosing the object. However for objects with rectangular (different length and width) outline, when they are rotated, a selection can't be made by drawing an outline around the shape.
Steps to re-create the problem.
 1) Create a new LO-Draw document.
 2) Draw a rectangle (length and width different)
 3) Rotate the object by 90 degrees (either direction)
 4) Attempt to select the object by drawing an outline
    just outside the shape!
Comment 1 AH 2012-04-10 21:16:46 UTC
Verified with 3.5.0 on Windows 7

Steps to reproduce:
1: Insert a custom shape via "Basic Shapes", "Symbol Shapes", "Block Arrows"
   or so.
2: Use the "Select" tool in the "Drawing" Toolbar to select the inserted
   shape. See it only requires just enough area to be enclosed to select
   the shape.
3: Rotate the object and try to select the shape again by "Select" tool.
   Now it requires a lot larger area to be enclosed in order to select
   the rotated shape.

Reproducible every time on Calc, Writer and Impress.

A sample doc will be attached.
Comment 2 AH 2012-04-10 21:17:43 UTC
Created attachment 59786 [details]
A sample doc created on 3.5.0
Comment 3 AH 2012-04-10 21:22:58 UTC
The bugdoc consists of 3 slides w/ an arrow block each.
Slide 1 - a fresh insert
Slide 2 - rotated at a right angle
Slide 3 - rotated shape converted into a metafile

The arrow block in Slide 1 only requires just enough area to be selected.
But as for Slide 2, a lot larger area is needed to select the arrow block.

Copied the rotated shape into Slide 3, and converted into a metafile.
See its borders has gone larger. And notice that the size of the metafile
is the size needed to enclose the rotated shape to select it before
the conversion.

Behaves the same if converted to a bitmap instead of a metafile.
Comment 4 Regina Henschel 2012-06-18 13:29:07 UTC

*** This bug has been marked as a duplicate of bug 35079 ***