Bug 156444 - Opening PDF in Android does not show Libre Office Viewer as an option
Summary: Opening PDF in Android does not show Libre Office Viewer as an option
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Android Viewer (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha1+
Hardware: ARM Android
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-24 13:49 UTC by Nicco Kunzmann
Modified: 2024-03-14 07:48 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 Nicco Kunzmann 2023-07-24 13:49:38 UTC
Description:
I am using Libre Office Viewer from F-Droid.

When I open a PDF file, Simple Book Reader and the other built-in book reader appear but Libre office Viewer is absent from the menu.



Steps to Reproduce:
1. select PDF
2. See menu of what to open it with
3.

Actual Results:
libre offive viewer present

Expected Results:
libre ffice viewer absent


Reproducible: Always


User Profile Reset: Yes

Additional Info:
galaxy A12 Android 11
Comment 1 Michael Weghorn 2023-07-24 19:06:45 UTC
(In reply to Nicco Kunzmann from comment #0)
> When I open a PDF file, Simple Book Reader and the other built-in book
> reader appear but Libre office Viewer is absent from the menu.

That's the correct behavior, because LibreOffice Viewer doesn't currently support PDF.
(Claiming to support mime type "application/pdf" in the app's manifest would make LibreOffice appear in the list of apps to open the file, but then the app wouldn't be able to actually display the file correctly.)

Do you have a specific reason why you want to open a PDF file in LibreOffice Viewer rather than a PDF viewer?
Comment 2 zo9jo5bl 2024-03-03 22:21:18 UTC
I fear this is out of scope, but I do think there's a valid reason for Libre Office to support PDFs in the Android viewer: decent FOSS PDF viewers for Android with essential features (specifically selecting text in line) are basically nonexistent. The only one I've been able to find is the Open Document Reader (Firefox's pdf.js on Android doesn't count here as it's a browser and not a document reader), which I guess might become obsolete because of Libre Office Viewer one day, when it evolves out of alpha.

I haven't found a place to suggest features here, so I'm hoping this might be redirected to the appropriate place.
Comment 3 Michael Weghorn 2024-03-14 07:48:18 UTC
(In reply to zo9jo5bl from comment #2)
> I fear this is out of scope, but I do think there's a valid reason for Libre
> Office to support PDFs in the Android viewer: decent FOSS PDF viewers for
> Android with essential features (specifically selecting text in line) are
> basically nonexistent. The only one I've been able to find is the Open
> Document Reader (Firefox's pdf.js on Android doesn't count here as it's a
> browser and not a document reader), which I guess might become obsolete
> because of Libre Office Viewer one day, when it evolves out of alpha.

Thanks for your feedback/input. This reasoning is understandable, but for me still leaves the question whether the proper way forward wouldn't still be to improve the existing PDF viewers accordingly.

> I haven't found a place to suggest features here, so I'm hoping this might
> be redirected to the appropriate place.

This is the right place when it comes to LibreOffice Viewer. (For missing features in existing PDF viewers for Android, they should have their own issue trackers, so I'd suggest requesting the missing features there as well.)