saber icon indicating copy to clipboard operation
saber copied to clipboard

Failed to open pdf fron other apps.

Open h4rm00n opened this issue 1 year ago • 8 comments

Before submitting an issue, please check the following

  • [X] I have searched for similar issues (both open and closed) and cannot find a duplicate
  • [X] I agree to follow the Code of Conduct

Describe the bug

When I tried to open a pdf from Dingtalk, Saber tells me "no routes for location". I think that since Saber is designed to open pdf, it shouldn't work like this. My device is Xiaomi Pad 5pro, running Hyper OS based on android 14. Screenshot_2024-03-17-16-21-25-825_com adilhanney saber Screenshot_2024-03-17-16-21-22-091_android

To reproduce

Select a pdf file, and open it with Saber, and then it failed as mentioned above.

Expected behavior

I hope that Saber can open pdf files from other apps, just like the other pdf reader.

Saber version

v0.21.2 F-Droid

Device

  • Device:Xiaomi Pad5 Pro
  • OS: Android 14 (Hyper OS)

Anything else?

No response

h4rm00n avatar Mar 17 '24 08:03 h4rm00n

Looking on the error message, you are trying to open pdf from some alibaba cloud.

If you dowload pdf from cloud to your device and try to import file from device. Does it work?

QubaB avatar Mar 18 '24 12:03 QubaB

Looking on the error message, you are trying to open pdf from some alibaba cloud.

If you dowload pdf from cloud to your device and try to import file from device. Does it work?

It doesn't work, too. Actually, this file has been downloaded, and another pdf reader (Librera FD)could work properly.

h4rm00n avatar Mar 19 '24 05:03 h4rm00n

Is there error message during import of localy saved pdf?

If not, can you provide pdf to test it in developer version?

QubaB avatar Mar 19 '24 05:03 QubaB

Is there error message during import of localy saved pdf?

If not, can you provide pdf to test it in developer version?

Look at those pictures. Screenshot_2024-03-19-15-44-26-233_com.android.fileexplorer.jpg

Screenshot_2024-03-19-15-43-51-533_android.jpg

Screenshot_2024-03-19-15-43-56-791_com.adilhanney.saber.jpg

Screenshot_2024-03-19-15-44-22-566_com.adilhanney.saber.jpg

Screenshot_2024-03-19-15-43-38-214_com.android.fileexplorer.jpg

I tried open the file via file manager.

h4rm00n avatar Mar 19 '24 07:03 h4rm00n

You are opening pdf from file manager? Or you are importing pdf directly from Saber?

I do not know if opening pdf in Saber is implemented. Try to import pdf from Saber.

QubaB avatar Mar 19 '24 08:03 QubaB

You are opening pdf from file manager? Or you are importing pdf directly from Saber?

I do not know if opening pdf in Saber is implemented. Try to import pdf from Saber.

Open pdf from saber is ok. But is Saber desgined not to open pdf from other places? Or it's just a bug. As you see, Saber is registered system-wide to open pdf, but it didn't work as expected. If Saber can open pdf fron file manager, it will be a great convenience.

h4rm00n avatar Mar 19 '24 08:03 h4rm00n

It is surprise for me, because I do not see Saber as system wide pdf opener. It is question to @adil192 if saber is able to open pdf directly. I do not think so.

QubaB avatar Mar 19 '24 08:03 QubaB