https://bugs.freedesktop.org/show_bug.cgi?id=56670

          Priority: medium
            Bug ID: 56670
          Assignee: [email protected]
           Summary: undefined: XModel/XSelectionSupplier return wrong
                    selection of XShapes and/or added XShape
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
        Whiteboard: BSA
            Status: UNCONFIRMED
           Version: 3.5.6.2 release
         Component: Database
           Product: LibreOffice

Problem description: 

Steps to reproduce:
1. install MRI-Tools from
  
http://extensions.libreoffice.org/extension-center/mri-uno-object-inspection-tool
2. create a form with input fields
3. group some of them and select group
4. Try tools->Addons-> MRI(Selection) := one of the elements is given 
5. choose enter group and selectan element inside of group
6. again show MRI(Selection) := group is given

This also happens without MRI, whether I call 
- getSelection on the document model 
- getCurrentSelection on SelectionsSupplier
- register as XSelectionChangeListener 


Current behavior:
On first getSelection of new created group an element returns.
After entering group ans selecting, alway the group gets returned, even the UI
clearly shows only one XShape is selected.

Spoof: Selecting two fields inside a group returns shapeCollection with two
elements... each of them is the group

Expected behavior:
- getSelection on the document model
- getCurrentSelection on SelectionsSupplier
- register as XSelectionChangeListener 
should return a shapeCollection of contained Elements...




Platform (if different from the browser): 

Browser: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120918 Firefox/15.0.1
SeaMonkey/2.12.1

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to