Skip to content
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

[FEATURE REQUEST] Export Page Order #381

Open
theatischbein opened this issue Dec 23, 2024 · 8 comments
Open

[FEATURE REQUEST] Export Page Order #381

theatischbein opened this issue Dec 23, 2024 · 8 comments
Labels
enhancement New feature or request

Comments

@theatischbein
Copy link

Is your feature request related to a problem? Please describe.
If I want to export or print multiple scanned documents together there is no way to set the order they appear in the document. The latest document will always be the first.

Describe the solution you'd like
There should be an export order selectable in which the documents appear in the export.

Describe alternatives you've considered
There is the option to enter page number in the printing dialog and the option to 'Print to PDF', but even if I enter 4,3,2,1 there the document is exported in the wrong order.

Additional context
Even renaming the documents does not change the showed and selectable order. Maybe the problem could also be by allowing to reorder scanned documents ?

@theatischbein theatischbein added the enhancement New feature or request label Dec 23, 2024
@farfromrefug
Copy link
Collaborator

@theatischbein thanks for reporting the issue i will look at it

@farfromrefug
Copy link
Collaborator

@theatischbein i have looked into this:

  • i cant reproduce the export having latest document first. Could you share a video to show the error? Also please share your version numbers
  • about the printing dialog, it is actually a system printing dialog. Indeed it does not work when you try to change the pages order. Cant really do anything about this. I have been thinking about this and i dont think i will add a way to change order of pages (except fixing the first point once i can reproduce it) because there are too many special cases which would make it not work too many times. Hope you can understand

@theatischbein
Copy link
Author

theatischbein commented Jan 7, 2025

Thanks for your thoughts and your testing!

My steps are:

First I select them in the main feed and export them as PDF.

signal-2025-01-07-151703_002.mp4

The result is this PDF, where the upper image is the first page.
1736259132602.pdf

Than I moved both into the same folder.
I renamed than, so that 001 should be before 002.
Now I select them in the other way.

signal-2025-01-07-151703.mp4

The result is this PDF, but 002 is still the first page.
1736259196001.pdf

@farfromrefug
Copy link
Collaborator

@theatischbein thanks for the great details ! I understand now. You expect the document to be sorted by name when generating the PDF? It is not the case right now. For now the order is the same as what you are "seeing"
This could be made an option

@theatischbein
Copy link
Author

My use case is the following:

  • I want to scan a multi page document
  • I usually start by the first page and do the others afterwards
  • If I want to export them now the first page will always be the last in the PDF
  • I would need to start scanning the last page first and go through by document in reverse order

Is there an easier way to scan and export a multi page document ?

Ordering the photos by name for export would be one solution to this problem.

I don't know if Android supports to track which photo I select first when multi selecting and exporting

@farfromrefug
Copy link
Collaborator

@theatischbein First you can add pages to an existing document (not sure if it what you are doing, or if you are creating a new "document" each time):

  • start scanning with "+" from the main view => new document
  • go into a document from the main view and use "+"=> added to that document.

The second case is what you should do. Pages will be ordered by "added date" So if you do page 1,2,3.... it should always export in the right order.
I dont really see in which case you would end up with last page first. Remember page order = scan order.

I will think about adding sort option for export.

@theatischbein
Copy link
Author

theatischbein commented Jan 8, 2025

Remember page order = scan order.

Yes, that is exactly my point of this issue. I get why it is implemented that way, but I find it very unintuitive.

Maybe it would be helpful to add an Option like "reverse page order" for the export settings ?

@farfromrefug
Copy link
Collaborator

@theatischbein i will add a "sort option". Will be available for "viewing"(main view) and "exporting to pdf". Might just take a bit of time as not really sure how to integrate it UX wise. The app now has a lot of buttons/options. Must keep it clean

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants