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

          Priority: medium
            Bug ID: 75229
                CC: [email protected]
          Assignee: [email protected]
            Blocks: 36549
           Summary: object:state-changed:focused events missing from
                    multiline text widgets
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: Other
            Status: UNCONFIRMED
           Version: unspecified
         Component: UI
           Product: LibreOffice

Created attachment 94388
  --> https://bugs.freedesktop.org/attachment.cgi?id=94388&action=edit
accessible-event listener: focus.py

Steps to reproduce (using LibreOffice master - 2237604b6)

1. Create a Writer document with spelling errors
2. Load the attached accessible-event listener in a terminal
3. Press F7 to start spell checking
4. Press Tab to move amongst the widgets in the dialog

Expected results: An object:state-changed:focused event would be seen for the
multiline text widget labeled "Not in Dictionary."

Actual results: The event never occurs for the text widget labeled "Not in
Dictionary." In addition, there is no object:state-changed:focused event at all
when that widget first gains focus. If you Tab once past that widget and then
Shift+Tab once to re-focus it, the parent widget (of ROLE_PANEL) emits the
signal.

Sample output from performing the above steps:

$ ./focus.py 

object:state-changed:focused(1, 0, 0)
    source: [push button | Correct]
    host_application: [application | soffice]
object:state-changed:focused(1, 0, 0)
    source: [push button | Correct All]
    host_application: [application | soffice]
object:state-changed:focused(1, 0, 0)
    source: [push button | Always correct]
    host_application: [application | soffice]
object:state-changed:focused(1, 0, 0)
    source: [push button | Help]
    host_application: [application | soffice]
object:state-changed:focused(1, 0, 0)
    source: [push button | Options]
    host_application: [application | soffice]
object:state-changed:focused(1, 0, 0)
    source: [push button | Close]
    host_application: [application | soffice]
object:state-changed:focused(1, 0, 0)
    source: [combo box | Text language]
    host_application: [application | soffice]
object:state-changed:focused(1, 0, 0)
    source: [combo box | Text language]
    host_application: [application | soffice]
object:state-changed:focused(1, 0, 0)
    source: [text | Text language]
    host_application: [application | soffice]
object:state-changed:focused(1, 0, 0)
    source: [list | Text language]
    host_application: [application | soffice]

[Here Tab was pressed twice to move from the combo box above to the Not in
Dictionary text widget. No event was seen. The second press moved focus to the
Ignore Once button:]

object:state-changed:focused(1, 0, 0)
    source: [push button | Ignore Once]
    host_application: [application | soffice]

[Here Shift+Tab was pressed once to move back to the Not in Dictionary text
widget.]

object:state-changed:focused(1, 0, 0)
    source: [panel | ]
    host_application: [application | soffice]

-- 
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