lduboeuf / utzipper

Archive reader/writer for Ubuntu Touch.
Other
1 stars 4 forks source link

Can't create archive #14

Closed jihosan closed 2 years ago

jihosan commented 2 years ago

Steps to reproduce Try to create a new archive, click on the "Home" button and try to import new files or create a new folder.

Expected behavior Files should get imported and/or a new folder should get created.

Actual behavior After clicking on the button to create an archive, the contents of the click package will be shown in the app. As long as the app is in that state, an archive can be created by clicking on the share button. After clicking on the "Home" button, no file can be imported anymore and new folders cannot be created.

After clicking on "Home", the log will state following:

Additionally in this state, if the current page is closed and removed from the PageStack and then readded by clicking on create archive, the "Home" button won't work anymore, with the following message in the log:

"qrc:/ArchiveWriter.qml:66: Error: Cannot assign [undefined] to QUrl

Full log https://pastebin.com/mtwxk0KC

lduboeuf commented 2 years ago

Thanks for the report, could you test if it is fine now with 2.6.1 ?

jihosan commented 2 years ago

Unfortunately it doesn't. Now the Home button seemingly does nothing at all.

The only files I am able to see now are those of the click package.

Also importing files is not working.

In the logs I get: lastError - no arguments?

[PERFORMANCE]: Last frame took 39 ms to render.

qml: cleanup

mNewArchiveDir QUrl("file:///home/phablet/.local/share/utzip.lduboeuf/newArchive")

tempDir QUrl("file:///run/user/32011/confined/utzip.lduboeuf")

lduboeuf commented 2 years ago

humm, does /home/phablet/.local/share/utzip.lduboeuf/newArchive exist ?

jihosan commented 2 years ago

Actually, the parent folder doesn't exist.

lduboeuf commented 2 years ago

fixed by c2308cbf5b8f4911ccdc60b004cb1f3f842f34e6