saber icon indicating copy to clipboard operation
saber copied to clipboard

Importing different pdf with same basename causes the older pdf to be imported.

Open atahanacar opened this issue 11 months ago • 0 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 importing a pdf flle, regardless of its path or the directory it's being imported to, if a pdf with the same basename has been imported before, the new Saber note has the old pdf. Clearing Saber App's cache doesn't fix this issue.

To reproduce

  1. Import pdf (example: /sdcard/Documents/general surgery/history.pdf)
  2. Use normally, take notes...
  3. Go to another directory in Saber and import another pdf (example: /sdcard/Documents/cardio/history.pdf)
  4. Observe the pdf from the 1st step being imported.

Expected behavior

The pdf from the 3rd step should have been imported instead.

Saber version

v0.20.2 F-Droid (20020)

Device

  • Device: Samsung Galaxy Tab S6 Lite
  • OS: Android 13 (Lineageos)

Anything else?

No response

atahanacar avatar Mar 04 '24 07:03 atahanacar