Filename selection in Pack Files dialog when packing to src

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Phobophile
Junior Member
Junior Member
Posts: 8
Joined: 2006-06-01, 18:56 UTC
Contact:

Filename selection in Pack Files dialog when packing to src

Post by *Phobophile »

Hi,

It is not a major bug but it's annoying and being a programmer myself, I'm sure it's easy to fix.

Reproduction steps:
First you need to add the workaround to enable packing files to source pane:
Add the following line in wincmd.ini under [Shortcuts]:
CA+F5=cm_PackFiles

Now go to any directory, select files to pack, press [CTRL]+[ALT]+[F5] keys and the File Packing dialog should pop-up, showing only the new compressed file's filename and its type in the filename box as such: zip:abc.zip

Now press [F5] (while still in Pack dialog)

Expected:
like in normal packing to destination pane ([ALT]+[F5])
the [F5] button should allow:
selecting only the filename (zip:file.zip) after pressing [F5] for the first time
selecting the filename + ext after pressing [F5] again (zip:file.zip)
selecting the entire string after pressing [F5] for the third time (zip:file.zip)

Actual:
The filename will be selected along with the format definition at the beginning of the string (zip:file.zip) for first [F5]
entire string will be selected on second press [F5] (zip:file.zip)
This make the filename changing kind of annoying for people who use only keyboard for their work and I would be grateful if you fix it.

Thanks in advance :!: :D
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed this special case (no drive and directory) isn't currently handled by the F5 function. Maybe in a later version...
Author of Total Commander
https://www.ghisler.com
Post Reply