Download it now!
Bug 61198 - ACCESSIBILITY: IndexOutOfBoundsException from accessibility::AccessibleBrowseBox::getAccessibleChild
Summary: ACCESSIBILITY: IndexOutOfBoundsException from accessibility::AccessibleBrowse...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
4.1.0.0.alpha0+ Master
Hardware: Other Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: a11y
  Show dependency treegraph
 
Reported: 2013-02-21 00:43 UTC by Terrence Enger
Modified: 2016-10-25 19:41 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
initial database (2.41 KB, application/vnd.oasis.opendocument.base)
2013-02-21 00:43 UTC, Terrence Enger
Details
typescript with two backtraces from `throw` (37.37 KB, text/plain)
2013-02-21 00:48 UTC, Terrence Enger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Terrence Enger 2013-02-21 00:43:03 UTC
Created attachment 75216 [details]
initial database

accessibility::AccessibleBrowseBox::getAccessibleChild throws
IndexOutOfBoundsException and then DocumentFocusListener::notifyEvent
issues warning "Focused object has invalid index in parent"


To reproduce ...

(1) Download and open the attached "New Database1.odb" at a terminal
    command line.  Program displays window "New Database1.odb" with
    <Forms> selected in the left pane.

(2) Click <Tables> in the left pane.  Program lists table OneColumn in
    the lower right pane.

(3) Right-click OneColumn in the lower right pane.  Program displays
    pop-up menu.

(4) In the pop-up menu select Open.  Program opens window Table Data View.

(5) Give focus to a window which overlaps or covers Table Data View; window
    "New Database1.odb" will probably do the job.

(6) Give focus to the Table Data View.  Observe warnings in the
    terminal output.


I observed this in master commit 2e367c0, pulled around 2013-02-17,
built and running on ubuntu-natty (11.04) 32-bit with gnome
traditional desktop (no effects).  Configuration parameters are
    --enable-dbgutil
    --enable-crashdump
    --disable-build-mozilla
    --without-system-postgresql
    --without-myspell-dicts
    --without-help
    --with-extra-buildid


The attached typescript has backtraces from the two executions of the
throw statement at vcl/unx/gtk/a11y/atkutil.cxx:218; `git grep` finds
the warning message at vcl/unx/gtk/a11y/atkutil.cxx:670 and
vcl/aqua/source/a11y/documentfocuslistener.cxx:71.
Comment 1 Terrence Enger 2013-02-21 00:48:30 UTC
Created attachment 75217 [details]
typescript with two backtraces from `throw`
Comment 2 Julien Nabet 2014-02-22 07:58:24 UTC
On pc Debian x86-64 with master sources updated yesterday, I don't reproduce this, perhaps missed something?
Do you still encounter the problem?
Comment 3 Terrence Enger 2014-02-25 19:23:13 UTC
The exception is no longer evident in a debug build of master commit
f95d743, fetched 2014-01-04, built and executing on debian wheezy.  I
am setting RESOLVED WORKSFOR ME.

Thank you for the reminder, Julien.  How time flies when you are
having fun!