Page 1 of 2

Packer plugins combobox is too short and can be widened

Posted: 2006-11-01, 13:15 UTC
by Valentino
Pack Files dialog -> Packer group box -> Packer plugins combobox is too short for some plugin names. There is a place to make it wider to the right. Moreover it can be moved to the left a little.

Posted: 2006-11-01, 14:05 UTC
by petermad
But the names in that combobox are file extensions - do you have any names there that are larger than 3 characters?

Posted: 2006-11-01, 14:16 UTC
by Valentino
Yes, that's why I wrote this suggestion: e.g. CatMaker, TreeCopy, TreeCopyPlus.

Posted: 2006-11-01, 15:40 UTC
by icfu
*WDXInfopacker is the longest extension here. So, of course I support that wish. ;)

But, still I would prefer to see a dialog like that in the future (shameless self-promotion, sorry) with just one extension box for all extensions, internal and external, with ability to sort the entries as the user prefers them:
http://icfu.totalcmd.net/TC/Images/packer_dialog_redesign.png

This is the corresponding thread in which this stuff has been discussed:
http://ghisler.ch/board/viewtopic.php?t=11366

Icfu

Posted: 2006-11-01, 15:54 UTC
by Stitscher
Nice screenshot, Icfu. :)

Support++

Posted: 2006-11-01, 16:28 UTC
by Valentino
2icfu
Looks very nice. I will support it if Christian will implement Alt+Z (for Zip) and Alt+R (for Rar) mnemonics. I do not use others :)

Posted: 2006-11-01, 16:40 UTC
by icfu
You don't need Christian for that, AHK is more than enough for basic stuff like that. SCNR! ;)

Code: Select all

#IfWinActive, ahk_class TDLGZIP
!z::
SendInput, {Tab}z
Return

!r::
SendInput, {Tab}r
Return
Icfu

Posted: 2006-11-01, 17:16 UTC
by XPEHOPE3KA
*WDXInfopacker is the longest extension here.
Just FYI: TC from 6.55 supports the plugin-extensions with length up to 15 symbols. After some functions don't work properly.
You can try that with graphicsconverter plugin =)

Posted: 2006-11-01, 22:11 UTC
by ghisler(Author)
It's really not a good idea to put long plugin names in there - tat's really quite an abuse of the PACKER interface...

Posted: 2006-11-01, 22:40 UTC
by XPEHOPE3KA
2ghisler(Author)
Please, when you release updated API-help, don't forget about this issue =)

Posted: 2006-11-01, 22:52 UTC
by wanderer
ghisler(Author) wrote:It's really not a good idea to put long plugin names in there - tat's really quite an abuse of the PACKER interface...
There are windows API functions with which you can change the horizontal size of the expanded section of a combo box or add a horizontal scrollbar to it. Maybe this could help in this situation and perhaps even in the drive (ALT+F1/F2) combo-boxes...

SendMessage and SendMessageByNum functions using the folowing numbers:

CB_GETDROPPEDWIDTH = &H15F
CB_SETDROPPEDWIDTH = &H160
LB_SETHORIZONTALEXTENT = &H194

Posted: 2006-11-02, 08:21 UTC
by Valentino
Why so many complexities - there's enough room to increase this combo! :)

Posted: 2006-11-02, 09:25 UTC
by wanderer
Valentino wrote:Why so many complexities - there's enough room to increase this combo! :)
As Christian said:
ghisler(Author) wrote:tat's really quite an abuse of the PACKER interface...
That probably means the following (which IMHO has a point): this combo was designed to contain file extensions (which most of the times are 3 letters long). After the packer plugins was introduced, the plugins developers thought it was a good idea to create a plugin name 20 chars long. There is no point of increasing the combo-width because the same request will be asked again when in a couple of months some developer decides to have a 100-chars plugin name! :) Certain rules must exist on things. Probably, one of these rules is that the plugins descriptive names should be short (around 8 chars max).

P.S. Personally, i think icfu's idea is interesting, although the window is a little big in height.

Posted: 2006-11-02, 11:08 UTC
by Hacker
[mod]Moved to TC 7 beta discussion forum.

Hacker (Moderator)[/mod]

Posted: 2006-11-02, 15:56 UTC
by Valentino
wanderer wrote:this combo was designed to contain file extensions (which most of the times are 3 letters long). After the packer plugins was introduced, the plugins developers thought it was a good idea to create a plugin name 20 chars long.
Even Christian wrote a couple of plugins with long names - DiskDir, MakeBAT :)
wanderer wrote:There is no point of increasing the combo-width
There is: it's too short now and can be widened easily without affecting anyone.
wanderer wrote:because the same request will be asked again when in a couple of months some developer decides to have a 100-chars plugin name! :)
We will blame him hard! :)
wanderer wrote:plugins descriptive names should be short (around 8 chars max).
TrCpyPls isn't very descriptive. :)