Bug 119082 - Exception wrong thread on Android Viewer when switching back to it from another app
Summary: Exception wrong thread on Android Viewer when switching back to it from anoth...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Android Viewer (show other bugs)
Version:
(earliest affected)
6.2.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Mert Tumer
URL:
Whiteboard: target:6.2.0
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-03 14:12 UTC by Mert Tumer
Modified: 2018-12-12 16:40 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mert Tumer 2018-08-03 14:12:19 UTC
Description:
Exception wrong thread on Android Viewer when switching back to it from another app

Steps to Reproduce:
1. Open a document
2. Switch to another app
3. Switch back to the viewer

Actual Results:
Logcat gives
08-03 15:37:13.703 6160-6222/org.example.libreoffice E/GeckoPanZoomController: Uh-oh, we're running on the wrong thread!
    java.lang.Exception
        at org.mozilla.gecko.gfx.JavaPanZoomController.checkMainThread(JavaPanZoomController.java:140)
        at org.mozilla.gecko.gfx.JavaPanZoomController.finishAnimation(JavaPanZoomController.java:716)
        at org.mozilla.gecko.gfx.JavaPanZoomController.bounce(JavaPanZoomController.java:504)
        at org.mozilla.gecko.gfx.JavaPanZoomController.animatedZoomTo(JavaPanZoomController.java:1060)
        at org.mozilla.gecko.gfx.GeckoLayerClient.zoomTo(GeckoLayerClient.java:318)
        at org.libreoffice.LOKitThread.zoomAndRepositionTheDocument(LOKitThread.java:140)
        at org.libreoffice.LOKitThread.redraw(LOKitThread.java:125)
        at org.libreoffice.LOKitThread.refresh(LOKitThread.java:157)
        at org.libreoffice.LOKitThread.loadDocument(LOKitThread.java:242)
        at org.libreoffice.LOKitThread.processEvent(LOKitThread.java:307)
        at org.libreoffice.LOKitThread.run(LOKitThread.java:52)

Expected Results:
No error


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Commit Notification 2018-08-07 12:28:45 UTC
Mert Tumer committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=27326e0f587c20d8dcf1595829233de1bd3fbe9e

tdf#119082 Exception wrong thread on Android Viewer

It will be available in 6.2.0.

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 2 Xisco Faulí 2018-09-07 09:49:22 UTC
A polite ping to Mert Tumer:
Is this bug fixed? if so, could you please close it as RESOLVED FIXED ? Otherwise, Could you please explain what's missing?
Thanks
Comment 3 Xisco Faulí 2018-09-11 09:32:56 UTC Comment hidden (obsolete)
Comment 4 Xisco Faulí 2018-12-12 16:40:20 UTC
@Mert, I assume this issue is fixed on master.
Please, reopen it if it's not ...