Bug 63421

Summary: PIVOTTABLE: Crash while using pivot table with accessibility enabled
Product: LibreOffice Reporter: Filip Rembiałkowski <filip.rembialkowski>
Component: CalcAssignee: Eike Rathke <erack>
Status: RESOLVED FIXED    
Severity: normal CC: erack, kohei, markus.mohrhard, serval2412
Priority: medium    
Version: 3.6.6.2 release   
Hardware: All   
OS: All   
Whiteboard: BSA target:4.1.0 target:3.6.7 target:4.0.3
Crash report or crash signature: Regression By:
Attachments: CSV file
console + bt with symbols on master sources

Description Filip Rembiałkowski 2013-04-11 10:49:19 UTC
Created attachment 77799 [details]
CSV file

Problem description: 

Steps to reproduce:
1. Open attached CSV file (use filter settings UTF-8, US English)
2. Select menu item Data -> Pivot Table -> Create
3. Drag "logdate" from right side to Columns area
4. Drag "FB Checkins" fro mright side to Values area
5. Drag the same thing that you just dropped to the Rows area

Current behavior:
Crash

Expected behavior:
Work
              
Operating System: Windows XP
Version: 4.0.2.2 release
Comment 1 Julien Nabet 2013-04-11 19:32:00 UTC
Created attachment 77828 [details]
console + bt with symbols on master sources

On pc Debian x86-64 with master sources updated today, I reproduced the crash
(brand new LO profile). I just saved in ods after having opened the csv.

I attached console+bt
Comment 2 Julien Nabet 2013-04-11 19:34:09 UTC
Kohei/Markus/Eike: one for one of you?
Comment 3 Eike Rathke 2013-04-12 20:54:23 UTC
Reproduced, happens only if accessibility is enabled, e.g. Orca screen reader active.
Comment 4 Commit Notification 2013-04-13 14:23:11 UTC
Eike Rathke committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=26114dcdf9d55a5a2490de6de619337e9733b0e2

resolved fdo#63421 crash in pivot table with accessibility



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 5 Eike Rathke 2013-04-13 14:41:04 UTC
Pending review for 4-0 as https://gerrit.libreoffice.org/3372
and for 3-6 as https://gerrit.libreoffice.org/3374
Comment 6 Filip Rembiałkowski 2013-04-13 16:53:20 UTC
(In reply to comment #3)
> Reproduced, happens only if accessibility is enabled, e.g. Orca screen
> reader active.

Can you tell how to disable it in LO 4.0 on Windows XP? Thanks
Comment 7 Julien Nabet 2013-04-13 17:08:34 UTC
Filip: You can disable accessibility by doing this:
- Menu Tools/Options/LibreOffice-Accessibility
- in Miscellaneous options (at the top of the window) uncheck "Use text selection cursor in read-only text documents" (first option)
Comment 8 Commit Notification 2013-04-15 07:26:48 UTC
Eike Rathke committed a patch related to this issue.
It has been pushed to "libreoffice-3-6":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=1e2f42eaee187b655c06de877e7aab98a26ecc34&h=libreoffice-3-6

resolved fdo#63421 crash in pivot table with accessibility


It will be available in LibreOffice 3.6.7.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 9 Commit Notification 2013-04-15 07:27:07 UTC
Eike Rathke committed a patch related to this issue.
It has been pushed to "libreoffice-4-0":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=a580678e8719d08ef9355b714f840837e89bd5b3&h=libreoffice-4-0

resolved fdo#63421 crash in pivot table with accessibility


It will be available in LibreOffice 4.0.3.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 10 Filip Rembiałkowski 2013-04-15 09:34:05 UTC
@Julien, Eike. 

In my setup the accesibility options are unchecked, and still the bug persists.

Please give more detail how can I workaround the bug by disabling accesibility options.

Or maybe your diagnosis was wrong?

Thanks
Comment 11 Eike Rathke 2013-04-15 12:28:58 UTC
(In reply to comment #10)
> In my setup the accesibility options are unchecked, and still the bug
> persists.

This is not related to the text selection cursor accessibility setting mentioned. LO feeds a11y information if accessibility respectively use of Assistive Technology (AT) tools is enabled on desktop or operating system level. Maybe the FAQ can give some idea how that could be done in Windows, see https://wiki.documentfoundation.org/Faq/General/a11y/Java "Activating LibreOffice Assistive Technologies on Windows OSes" and try the reverse.. i.e. change the registry key SupportAssistiveTechnology to false instead.