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

          Issue ID: 124856
        Issue Type: DEFECT
           Summary: doAccessibleAction(0) failed on combobox with dropdown
           Product: App Dev
           Version: 4.1.0
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: api
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 83362
  --> https://issues.apache.org/ooo/attachment.cgi?id=83362&action=edit
Test document contains macro

Reported in: https://forum.openoffice.org/en/forum/viewtopic.php?f=20&t=69630

Open the attached document and click "Execute macro" field to open the dialog. 
There are two combobox, one is dropdown enabled (ComboBox1) and another is
diabled placed below (ComboBox2).
- Push "Info" button on the dialog
-> opened messagebox shows number of count of actions. ComboBox1 should have 1
action and another should not have any actions.
- Push "Action 0 for box1" button on the dialog.
-> It tries to execute doAccessibleAction method with action index 0. But it
shows com.sun.star.lang.IndexOutOfBoundsException on AOO 4.1.0.

It worked on 4.0.1.

VCLXAccessibleBox::getAccessibleActionCount method returns 0 for
m_bIsDropDownBox is true and 0 for false. 
But it should be 1 for true, 0 for otherwise.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

Reply via email to