[TC10.52 RC1 x32] Internal associations: The button bar doesn't open as a menu by Enter for any file

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

[TC10.52 RC1 x32] Internal associations: The button bar doesn't open as a menu by Enter for any file

Post by *Fla$her »

Tipe name: *.*
Open: **"%COMMANDER_PATH%\Bars\Test.bar" (or without quotation marks)

Code: Select all

[Buttonbar]
Buttoncount=1
button1=cmd.exe
cmd1=cmd.exe
menu1=cmd
Last edited by Fla$her on 2022-10-04, 19:14 UTC, edited 1 time in total.
Overquoting is evil! 👎
User avatar
Gral
Power Member
Power Member
Posts: 1460
Joined: 2005-01-26, 15:12 UTC

Re: [TC10.52 RC1] Internal associations: The button bar doesn't open as a menu by Enter for any file

Post by *Gral »

Try Open: **%COMMANDER_PATH%\Bars\Test.bar - remove quotation marks
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: [TC10.52 RC1] Internal associations: The button bar doesn't open as a menu by Enter for any file

Post by *Fla$her »

I did it. It didn't help.
Overquoting is evil! 👎
User avatar
Gral
Power Member
Power Member
Posts: 1460
Joined: 2005-01-26, 15:12 UTC

Re: [TC10.52 RC1] Internal associations: The button bar doesn't open as a menu by Enter for any file

Post by *Gral »

Works for me without quotation marks, check your settings.
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: [TC10.52 RC1] Internal associations: The button bar doesn't open as a menu by Enter for any file

Post by *Fla$her »

There's no point. I did this before creating the topic.
Overquoting is evil! 👎
User avatar
Gral
Power Member
Power Member
Posts: 1460
Joined: 2005-01-26, 15:12 UTC

Re: [TC10.52 RC1] Internal associations: The button bar doesn't open as a menu by Enter for any file

Post by *Gral »

So why it works for me?
Did you try with specific extensions? Works then?

P.S. Post appropiate entries from your [Associations] section.
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: [TC10.52 RC1 x32] Internal associations: The button bar doesn't open as a menu by Enter for any file

Post by *Fla$her »

I checked with a "clean" wincmd.ini, the menu began to appear.
Some conflict with other settings, apparently.
Post appropiate entries from your [Associations] section.
The section has no effect. Checked with a full transfer.
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC10.52 RC1 x32] Internal associations: The button bar doesn't open as a menu by Enter for any file

Post by *ghisler(Author) »

I can reproduce it in Total Commander 64-bit, but not 32-bit: The popup menu seems to appear and immediately disappear, probably because it receives the key up event of the Enter key. I only used this command with extra verbs, never with "open", so I didn't notice.

I don't know how you get this in 32-bit, maybe it depends on the Windows version?

Btw, you can still open it in 64-bit via right click - "open". Maybe this works for you in 32-bit too?
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC10.52 RC1 x32] Internal associations: The button bar doesn't open as a menu by Enter for any file

Post by *petermad »

probably because it receives the key up event of the Enter key.
I think that is the case, Double-click and cm_Return from command line works.
I don't know how you get this in 32-bit, maybe it depends on the Windows version?
Enter works in 32bit TC 10.52rc1 under Window 7
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC10.52 RC1 x32] Internal associations: The button bar doesn't open as a menu by Enter for any file

Post by *ghisler(Author) »

Does the regular context menu invoked via ENTER work? To get this, you need to set the "open" program to a single asterisk: *
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC10.52 RC1 x32] Internal associations: The button bar doesn't open as a menu by Enter for any file

Post by *ghisler(Author) »

Does the regular context menu invoked via ENTER work? To get this, you need to set the "open" program to a single asterisk: *
I ask because I call a function there to remove extra keyboard messages, so I can add the same also for the new button bar menu. This fixes the problem for me in TC 64-bit, but I don't get the problem in TC 32-bit.
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: [TC10.52 RC1 x32] Internal associations: The button bar doesn't open as a menu by Enter for any file

Post by *Fla$her »

ghisler(Author) wrote: 2022-10-04, 22:20 UTCMaybe this works for you in 32-bit too?
Alas, no.
ghisler(Author) wrote: 2022-10-05, 09:02 UTCDoes the regular context menu invoked via ENTER work?
No.
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC10.52 RC1 x32] Internal associations: The button bar doesn't open as a menu by Enter for any file

Post by *ghisler(Author) »

Then you have a far worse problem than all others here. The regular context menu invoked with ENTER has worked for years without complaints from users.

Could you try with a fresh ini files, e.g. launch totalcmd.exe /i=c:\path\test.ini, please?
Then define an internal association like this:
Menu Files - Internal associatons
Add
Specify file type: *.txt
Open: *
New...
Action (verb): Notepad
Command (program): notepad.exe "%1"

This should then open a single menu item "Notepad" when you double click on a .txt file or press Enter on it.
Author of Total Commander
https://www.ghisler.com
Fla$her
Power Member
Power Member
Posts: 2244
Joined: 2020-01-18, 04:03 UTC

Re: [TC10.52 RC1 x32] Internal associations: The button bar doesn't open as a menu by Enter for any file

Post by *Fla$her »

Works. The menu appears. The file opens.

I add below **%COMMANDER_PATH%\Bars\Test.bar for *.jpg, nothing happens by pressing Enter on jpg.
Overquoting is evil! 👎
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC10.52 RC1 x32] Internal associations: The button bar doesn't open as a menu by Enter for any file

Post by *ghisler(Author) »

Then can you please also try the "open" commands with this fresh ini file, please:
**"%COMMANDER_PATH%\Bars\Test.bar"
**%COMMANDER_PATH%\Bars\Test.bar
**c:\path\totalcmd\Bars\Test.bar
Author of Total Commander
https://www.ghisler.com
Post Reply