jessodum / my-tmsu-ui

My TMSU UI - A TMSU frontend for tagging picture files
GNU General Public License v3.0
0 stars 0 forks source link

Confirm unapplied tags dialog "Apply" doesn't work. #35

Open jessodum opened 5 months ago

jessodum commented 5 months ago

Clicking "Apply" on the popup message box when un-applied tags are about to be lost doesn't (seem to) do anything.

jessodum commented 5 months ago

For reasons beyond my current comprehension, the tmsu process is apparently "crashing" when attempting to run the command from MyTMSUUI_Interface::setTags (or MyTMSUUI_Interface::unsetTags)...

MyTMSUUI_Interface::handleFinishedProc reports the exitCode is 15, and the QProcess::error() function is returning 1 (QProcess::Crashed, "The process crashed some time after starting successfully.", according to https://doc.qt.io/qt-6/qprocess.html#ProcessError-enum).

jessodum commented 5 months ago

Workaround:

  1. Click "Cancel" on the popup
  2. Click the "Apply" button on the main window
  3. Redo intended action
jessodum commented 1 month ago

Considering adding a "deferred" action to allow the popup to close before doing the apply. (In case the issue is somehow related to multi-threading).