Bug: TC4A: Play (foreground) context menu item for ZIP, RAR

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

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

Bug: TC4A: Play (foreground) context menu item for ZIP, RAR

Post by *DrShark »

For archives (zip, rar but not 7z) TC4A (at least version 3.0b3) shows "Play (foreground)" as first context menu item, but it actually opens archive.

There is also another difference in context menus for zip/rar and 7z (not sure whether it somehow depends on system associations): *.zip/*.rar files have "Open with" context menu item, and *.7z have "Open as" item. I guess it's expected that both "Open with" and "Open as" should be available for all kind of archives.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Bug: TC4A: Play (foreground) context menu item for ZIP, RAR

Post by *ghisler(Author) »

I will check the first, this shouldn't be.

The second happens because there is no MIME type for 7z on Android, so it's treated like an unknown format.
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: Bug: TC4A: Play (foreground) context menu item for ZIP, RAR

Post by *DrShark »

ghisler(Author) wrote: 2019-03-24, 07:17 UTCThe second happens because there is no MIME type for 7z on Android, so it's treated like an unknown format.
I asked because "Open with" has "Open with *" submenu which allows to open the file with any app, but "Open as" menu doesn't have such submenu. Is it possible to add "Open with *" submenu to also to "Open as" menu?
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: Bug: TC4A: Play (foreground) context menu item for ZIP, RAR

Post by *DrShark »

2ghisler(author)
history2.txt wrote:2019-06-18 Release v 3.0 beta 4
2019-04-02 Fixed: Context menu: Changed menu item from "Play external" to "View file with app" for files which are not music or video, e.g. rar
I checked this fix on TC4A 3.0 beta 12: now the first context menu item for *.zip, *.rar is View file with app. However, on my devices this menu item behaves differently: on Android 4.3.1 it just opens archives in TC4A, on Android 5.1 device it offers apps list to pick for opening the archive. Unfortunately, the BlackBerry device with QNX/Android 4.2.2 I had access to is dead now, so I can't test there anymore.

Also, please add beta 12 changes to history2.txt.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Bug: TC4A: Play (foreground) context menu item for ZIP, RAR

Post by *ghisler(Author) »

It depends on what apps report that they support zip/rar. If none report to support them, TC will not show the app list.
Author of Total Commander
https://www.ghisler.com
Post Reply