[bug] TC4A 3.0b1 can't open zip, rar from desktop, other apps

Support for Android version of Total Commander

Moderators: sheep, Hacker, Stefan2, white

Post Reply
User avatar
DrShark
Power Member
Power Member
Posts: 1275
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

[bug] TC4A 3.0b1 can't open zip, rar from desktop, other apps

Post by *DrShark » 2019-02-26, 06:56 UTC

To reproduce in (tested in Total Commander for Android 3.0 beta 1 on Android 4.3.1):
1) in TC4a, create a link on Desktop to zip or rar file. Or open the 3rd party app that allows to open zip/rar with associated apps (I tried to open from Downloads from Opera Mobile Classic browser).
2) Try to open the archive file from Android desktop or 3rd-party app:
TC4A will show "Getting directory" message, which won't self-close. To close it, a tap (or many taps) on "Cancel" button of "Getting directory" window is required.

Expected behavior: zip archive should be opened or TC4A should ask for archive password (if rar archive with file names protected by password.)

An error doesn't happen if zip or rar archive is opened from TC4A itself. Also, since TC currently doesn't open 7zip archives from Android desktop (and 3rd party apps, at least directly, because *.7z type isn't associated with TC4A on system level), an error doesn't affect *.7z (and probably other formats supported by 7zip library).
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 37695
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [bug] TC4A 3.0b1 can't open zip, rar from desktop, other apps

Post by *ghisler(Author) » 2019-02-27, 13:33 UTC

Sorry, no idea - I will try to reproduce it.
Author of Total Commander
http://www.ghisler.com

User avatar
DrShark
Power Member
Power Member
Posts: 1275
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262

Re: [bug] TC4A 3.0b1 can't open zip, rar from desktop, other apps

Post by *DrShark » 2019-03-02, 07:30 UTC

history2.txt wrote: 2019-03-01 Fixed: Opening archives from the launcher/external apps may fail due to a timing problem (app.currentActivity wasn't set yet when the background thread tried to access it)
I can confirm this bug is fixed (for zip and rar) in TC4A 3.0 beta 2.
7z archives are still opened only internally - is this intentional, or in future it will be possible to open formats supported by 7zip library from desktop/external apps too?
Android 4.3.1 no root, kernel 08.09.2016; Vista Home Premium SP2 rus 32 bit
TC #149847 Personal licence

Cuz we're all in this together, We're here to make it right

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 37695
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [bug] TC4A 3.0b1 can't open zip, rar from desktop, other apps

Post by *ghisler(Author) » 2019-03-03, 09:53 UTC

Currently they are only opened within TC because I haven't defined any associations for 7z. Maybe I will add it in a future version, but I don't know whether Android supports the MIME type for 7z (application/x-7z-compressed).
Author of Total Commander
http://www.ghisler.com

Post Reply