MellowKyler / pdfp

PDF Processor - a GUI for some common PDF operations.
https://pypi.org/project/pdfp
GNU Affero General Public License v3.0
2 stars 0 forks source link

Multithreading #6

Open MellowKyler opened 3 months ago

MellowKyler commented 3 months ago

The infrastructure is in place for progress bars. Right now if a button is pressed with multiple selections in the file tree, pdfp sequentially loops through the selections to perform operations. If multiple buttons are pressed for file(s) before it finishes a job, the button presses will register and pdfp will attempt to perform the operations, but it will just freeze and crash.

MellowKyler commented 3 months ago

This will almost surely require relocating button_toggle. Where to, not sure at the moment. QProcess has async: 3d6a153