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

            Bug ID: 146316
           Summary: A marked extruded shape is not contained in
                    CurrentSelection in Writer
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 177019
  --> https://bugs.documentfoundation.org/attachment.cgi?id=177019&action=edit
Example with included macros

Open attached document. It has a dummy text and an extruded shape 'MyStar'.
Use the Developer Tools with enabled 'Current Selection'.
Select the shape.
In Developer Tools click on tab Properties. If it still shows 'TextRange',
click Refresh.
Result: Properties is empty.

Toggle shape to 2D mode and do the same. Result: Properties shows
<Object@SwXShape>{MyStar}

The same problem is with Basic macros directly. The file has the Basic macros
getSelectedShape_inWriter(oShape as variant) and examineShape_inWriter
included. Macro examineShape_inWriter calls getSelectedShape_inWriter().
Using these macros you see the same:
If the shape is in 2D mode, the selected shape is contained in
CurrentSelection.
If the shape is extruded to 3D mode, it is not contained in CurrentSelection.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to