Bug 111549 - Add support for Netpbm formats (.pbm, .pgm )
Summary: Add support for Netpbm formats (.pbm, .pgm )
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Android Viewer (show other bugs)
(earliest affected)
Hardware: ARM Android
: medium enhancement
Assignee: Not Assigned
Depends on:
Blocks: (Android)-Unsupported-formats
  Show dependency treegraph
Reported: 2017-08-09 05:27 UTC by vihsa
Modified: 2023-01-17 12:28 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description vihsa 2017-08-09 05:27:46 UTC
Netpbm format .pbm, .pgm files either crashes or unable to open on libreoffice viewer 5.0, 5.1, 5.2, 5.3 alpha versions

Steps to Reproduce:
download and open 
fool.ascii.pbm http://people.sc.fsu.edu/%7Ejburkardt/data/pbma/pbma.html
saturn.ascii.pgm http://people.sc.fsu.edu/%7Ejburkardt/data/pgma/pgma.html

Actual Results:  
in endless loop

Expected Results:
open file

fileopen test result: crash endless loop / cannot open file endless loop / cannot open file endless loop / cannot open file endless loop / cannot open file

os: android 5.1
device: lyf flame 3 [ ls-4001 ]

for other file formats or files https://github.com/kr1shnas/qa/projects/25

Reproducible: Always

User Profile Reset: No

Additional Info:

User-Agent: Mozilla/5.0 (Android 5.1; Mobile; rv:57.0) Gecko/57.0 Firefox/57.0
Comment 1 Michael Weghorn 2023-01-17 12:28:54 UTC
Is this issue still relevant?
Supporting more file formats presumably also means that the size of the APK will increase (due to more services that will have to be included), so I tend to suggest focusing on those that are particularly relevant.

In addition, the mechanism to open a file in Android Viewer currently depends on the Android system identifying the proper MIME type, which probably isn't the case for most of the proprietary and not so frequently used file types. (So supporting these might need some "open any file, ignore file type" handling instead (possibly hidden behind a setting?).)