Bug 167592 - LibreOffice Viewer Problems
Summary: LibreOffice Viewer Problems
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Android Viewer (show other bugs)
Version:
(earliest affected)
25.2.3.2 release
Hardware: All Android
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-19 10:58 UTC by joevan.antivirus262
Modified: 2025-07-28 09:17 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
This is what happens when I try to view a document using LibreOffice Viewer. (1.43 MB, video/mp4)
2025-07-25 10:36 UTC, joevan.antivirus262
Details
Simple calc document (10.02 KB, application/vnd.oasis.opendocument.spreadsheet)
2025-07-28 08:51 UTC, Michael Weghorn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description joevan.antivirus262 2025-07-19 10:58:55 UTC
Description:
Every time I open a LibreOffice file on my phone using LibreOffice Viewer, it will just appear as a blank page.

Actual Results:
My LibreOffice files just appear as blank pages when opened on LibreOffice Viewer.

Expected Results:
I should have been able to view the content of the LibreOffice files I was trying to open.


Reproducible: Always


User Profile Reset: No

Additional Info:
N/A
Comment 1 Michael Weghorn 2025-07-19 20:28:39 UTC
Is this still a problem with version 25.2.4? If so, from where did you install the app (F-Droid, Google Play) and does the workaround mentioned in tdf#166097 (zooming out/in) help?

This sounds like tdf#166097, for which affected users said it works fine for them with the latest version.

PS: Please don't confirm your own bugs, but leave them in UNCONFIRMED status until somebody else can confirm/reproduce the problem.
Comment 2 joevan.antivirus262 2025-07-22 09:10:27 UTC
Yes it is. I installed it from Google Play and zooming out and in does not work.
Comment 3 Michael Weghorn 2025-07-23 06:18:33 UTC
Some questions to narrow this down further:

1) Does uninstalling and reinstalling the app help?
2) Does this happen for all documents, i.e. text documents as well as spreadsheets and presentations, or only some?
3) Is it "only" text that is not displayed or nothing at all? E.g. if a document contains an image, is that one displayed?
4) Can you possibly provide a video/screencast of the issue?
5) Can you please provide more details on your device (model, Android version)?
Comment 4 Michael Weghorn 2025-07-24 04:09:36 UTC
(In reply to Michael Weghorn from comment #3)
> Some questions to narrow this down further:
> [...]

6) Do you have the experimental editing option enabled in the settings or does it also happen without that?
Comment 5 joevan.antivirus262 2025-07-25 10:36:50 UTC
Created attachment 201987 [details]
This is what happens when I try to view a document using LibreOffice Viewer.
Comment 6 joevan.antivirus262 2025-07-25 10:40:06 UTC
(In reply to Michael Weghorn from comment #3)
> Some questions to narrow this down further:
> 
> 1) Does uninstalling and reinstalling the app help?
> 2) Does this happen for all documents, i.e. text documents as well as
> spreadsheets and presentations, or only some?
> 3) Is it "only" text that is not displayed or nothing at all? E.g. if a
> document contains an image, is that one displayed?
> 4) Can you possibly provide a video/screencast of the issue?
> 5) Can you please provide more details on your device (model, Android
> version)?

1) No
2) Yes
3) Nothing at all
4) Provided in the attachments
5) Android 9
Comment 7 joevan.antivirus262 2025-07-25 10:40:48 UTC
(In reply to Michael Weghorn from comment #4)
> (In reply to Michael Weghorn from comment #3)
> > Some questions to narrow this down further:
> > [...]
> 
> 6) Do you have the experimental editing option enabled in the settings or
> does it also happen without that?

It still happens even with it on.
Comment 8 Michael Weghorn 2025-07-28 08:51:53 UTC
Created attachment 202029 [details]
Simple calc document
Comment 9 joevan.antivirus262 2025-07-28 08:54:00 UTC
(In reply to Michael Weghorn from comment #8)
> Created attachment 202029 [details]
> Simple calc document
Still doesn't work
Comment 10 Michael Weghorn 2025-07-28 09:01:35 UTC
(In reply to joevan.antivirus262 from comment #5)
> Created attachment 201987 [details]
> This is what happens when I try to view a document using LibreOffice Viewer.

Thanks. What's odd (besides no document content being shown) is that trying to open the spreadsheet results in an empty *text* document being displayed for you, i.e. it seems to be trying to use Writer instead of Calc to open that document.

I cannot reproduce in a virtual Android device (Pixel 2) running Android 9 (i.e the same version you're using).

Just to double-check: Does the same happen with the simple sample document attachment 202029 [details]?
[UPDATE: You've already answered that in the meantime in comment 9]

And is there any difference if you try to open a file from the file manager ("Files" app) instead of starting LibreOffice Viewer and selecting the file from there?

I wonder whether the file manager (or the app providing the file selection widget when using the is "Select file to open" feature from within the LibreOffice app) may be playing a role, e.g. reporting the wrong MIME type.

Do you have any custom (or vendor-specific) file manager installed? Or could you try whether it works when you try to open the file from another file manager, e.g. "Material Files"?
Links for Google Play and F-Droid:
https://play.google.com/store/apps/details?id=me.zhanghai.android.files&hl=en
https://f-droid.org/en/packages/me.zhanghai.android.files/
Comment 11 joevan.antivirus262 2025-07-28 09:07:22 UTC
(In reply to Michael Weghorn from comment #10)
> (In reply to joevan.antivirus262 from comment #5)
> > Created attachment 201987 [details]
> > This is what happens when I try to view a document using LibreOffice Viewer.
> 
> Thanks. What's odd (besides no document content being shown) is that trying
> to open the spreadsheet results in an empty *text* document being displayed
> for you, i.e. it seems to be trying to use Writer instead of Calc to open
> that document.
> 
> I cannot reproduce in a virtual Android device (Pixel 2) running Android 9
> (i.e the same version you're using).
> 
> Just to double-check: Does the same happen with the simple sample document
> attachment 202029 [details]?
> [UPDATE: You've already answered that in the meantime in comment 9]
> 
> And is there any difference if you try to open a file from the file manager
> ("Files" app) instead of starting LibreOffice Viewer and selecting the file
> from there?
> 
> I wonder whether the file manager (or the app providing the file selection
> widget when using the is "Select file to open" feature from within the
> LibreOffice app) may be playing a role, e.g. reporting the wrong MIME type.
> 
> Do you have any custom (or vendor-specific) file manager installed? Or could
> you try whether it works when you try to open the file from another file
> manager, e.g. "Material Files"?
> Links for Google Play and F-Droid:
> https://play.google.com/store/apps/details?id=me.zhanghai.android.files&hl=en
> https://f-droid.org/en/packages/me.zhanghai.android.files/

Still blank.
Comment 12 Michael Weghorn 2025-07-28 09:14:27 UTC
(In reply to joevan.antivirus262 from comment #11)
> Still blank.

Thanks for checking. The only thing I can still think of at the moment is some device/hardware-specific rendering issue. Can you please give more details on what device you're using?

Without being able to reproduce the problem myself, I'm currently running out of ideas of what else to suggest or do, though, to be honest.
Comment 13 joevan.antivirus262 2025-07-28 09:16:40 UTC
(In reply to Michael Weghorn from comment #12)
> (In reply to joevan.antivirus262 from comment #11)
> > Still blank.
> 
> Thanks for checking. The only thing I can still think of at the moment is
> some device/hardware-specific rendering issue. Can you please give more
> details on what device you're using?
> 
> Without being able to reproduce the problem myself, I'm currently running
> out of ideas of what else to suggest or do, though, to be honest.

I use a Vivo 1723.
Comment 14 Michael Weghorn 2025-07-28 09:17:17 UTC
To be sure: Does that happen when opening a local file (e.g. from the Downloads folder) or are you using any external device, cloud storage,... (The latter *should* generally work, too, if there's a proper document provider, but best to not have that aspect involved while testing now.)