I’ve been away for a couple of days and after I came back to resume importing my photos, I didn’t encounter the above mentioned issue again, so I wasn’t able to go deeper into it by reproducing and observing it.
Instead, I came across a new problem, presumably a bug: When removing the folder that is used by a connected phone for imports to the library of tonfotos on the computer (I moved all photos to a new location, using the “move to main Archive” feature), and then opening the app on the phone, the app tries to connect to the computer, which then causes the following Java error:
Uncaught Exception:
TypeError: Cannot read properties of undefined (reading ‘name’)
at /Applications/Tonfotos.app/Contents/Resources/app/.webpack/main/index.js:2:3256283
at Fa (/Applications/Tonfotos.app/Contents/Resources/app/.webpack/main/index.js:2:1107385)
at Server.Um (/Applications/Tonfotos.app/Contents/Resources/app/.webpack/main/index.js:2:3256164)
at Server.emit (node:events:513:28)
at onParserExecuteCommon (node:http_server:755:14)
at onParserExecute (node:http_server:669:3)
For the desktop app to work properly again, it has to be restarted. The issue can be resolved by removing the connection in the phone app and reestablishing the pairing with the new folder.