-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 6.8.12 and all newer versions does not open jpg/pdf pictures in an image viewer on all Smartphones with Android 7.0 or newer. #390
Comments
This bug persists also in version 6.8.15. So I cannot use my outlanding catalogue in XCSoar with version 6.8.12 to 6.8.15. |
XCSoar/android/src/NativeView.java Line 385 in 4cd3f8f
The fileOpen() Function is responsible for finding and starting the correct application for the correct file type. The function wasn't changed in years, so either the function is no longer called, or something in the function broke when the android ndk version was incremented or the permission handling was changed. The function should log the error NativeView ... error if its called and failed. One thing that bothers me is that the mimetype is discovered from the file extension. This isn't exactly good practice. |
Just testet it again: There is no failure message poping up on the display after calling and failing. The only "reaction" after tabbing the link on top of the page (e.g. /Waypoints/KatalogSIP/A246.pdf) is a short highlighting of this line - followed by "nothing". |
This bug persists in Version 6.8.16 too. |
Bug persists in V6.8.17 |
Got the error with logcat:
This breakage is introduced by the changes in android 7.0; I started here: |
Milestone was 7.4 - outlanding pictures still not usable in 7.4 and 7.8. :-( |
Well you didn't provide a PR. :-) XCSoar/android/src/NativeView.java Line 427 in fce4c0a
is the function that is bugging out. |
Thank you for your investigation so far. :-) Maybe anybody else can help? |
Iplayed around a bit and got at least the intent call working. So it tries to open the file with an app I |
Maybe I could interest you in #242 ? |
So there will be hope !? :-))
Well, I can try to write some text and make screenshots for the manual. Some questions for that: Shall I describe the functionality and layout from Version 6.8.11 then? Or are there any changes in the WP-Description File functionality or in the layout since the 6.8.11 in the current 7.8 (despite the picture bug #390) ? What format shall I use? Word, PP, pdf ? |
Maybe these where too much stupid questions... (?) ;-) OK, yesterday, a friend of mine gave me a most basic crash course in git - and we fiddlet about where and how things seem to be organised relating to the manual. |
In the waypoint description file it is possible to implement links to pictures. If you click now on the details page of this waypoint the file path of the associatetd picture (e.g. a pdf file of an outlanding site, see also screenshot ->second line) the line will be highlited for a short moment, but then nothing happens. The picture viewer does not start, the picture is not shown on the display.
This happens with XCSoar Version 6.8.14 (from Playstore, testet with Samsung Galaxy Note10+ / Android10), 6.8.13b and 6.8.12 on Android 8, 9 and 10 testet with a varity of Smartphones.
The older XCSoar-Version 6.8.11 works fine in this point on my Note 10+ with Android 10!
On my Samsung Galaxy Note 2 with Android 4.4.2 and on my Samsung Galaxy Grand Prime with Android 5.1.1 all above mentioned XCSoar Versions work fine in this point. This is also reportet from other users with Android 4 or 5 Versions.
Seems to be a problem that starts with Version 6.8.12 in relationship with higher Android Versions (Verified Android 8, 9 and 10.).
The text was updated successfully, but these errors were encountered: