tcm75rc1: internal associations bug ?

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

User avatar
ZeLen1y
Junior Member
Junior Member
Posts: 35
Joined: 2009-06-27, 09:05 UTC

tcm75rc1: internal associations bug ?

Post by *ZeLen1y »

Associated files run only from file panels but no from buttonbar & cmdline ... :?
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Wasn't that the purpose of Internal AssociateWith? So when you [ENTER] on the file, or DoubleClick, or RightClick for contextMenu, then the Internal Association takes over... Otherwise it is whatever Windows normal file associations are.

Of which, you can also change the complete (windows) association, with TC's cm_Associate
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

It really should be any file that is opened in TC, whether it be a button or other command, not just in file lists.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

Boofo wrote:It really should be any file that is opened in TC, whether it be a button or other command, not just in file lists.
Why and what for? I`m not agree here.
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

2Postkutscher,

Because internal should be anything inside TC, not just file lists.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

Why and what for? I`m not agree here.
Consistency.
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

Lefteous wrote:Consistency.
Exactly!
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
User avatar
ZeLen1y
Junior Member
Junior Member
Posts: 35
Joined: 2009-06-27, 09:05 UTC

Post by *ZeLen1y »

Balderstrom wrote:Wasn't that the purpose of Internal AssociateWith? So when you [ENTER] on the file, or DoubleClick, or RightClick for contextMenu, then the Internal Association takes over... Otherwise it is whatever Windows normal file associations are.

Of which, you can also change the complete (windows) association, with TC's cm_Associate
Why not to do full support of internal associations ? Or concept of internal associations did not means it ?

p.s. And I did not ask about "complete (windows) association" ... :shock:
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

ghisler(Author) wrote:This is by design. Internal associations are used in file lists only. Currently it's not planned to support them in any other places, sorry.
You can disagree all you like, but when Christian says it is by design, or it is how he prefers it, then you just pretty much have to accept that at face value. There are at least a couple things that I would prefer to be different, but they are set in stone.
User avatar
Hacker
Moderator
Moderator
Posts: 13068
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Boofo,
It really should be any file that is opened in TC, whether it be a button or other command, not just in file lists.
Then you would have to add a way to "launch" a file with the system association.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

Hacker,

Reading the registry key shouldn't be a problem, I would think.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
User avatar
Hacker
Moderator
Moderator
Posts: 13068
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Boofo,
Reading the registry key shouldn't be a problem, I would think.
But how would you solve it in the interface? The user has somehow to be given the option to launch e.g. c:\pic.jpg using an internal association (as you suggest) or using the system association. How to differentiate?

Roman
Last edited by Hacker on 2009-08-18, 21:58 UTC, edited 1 time in total.
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Boofo
Power Member
Power Member
Posts: 1431
Joined: 2003-02-11, 00:29 UTC
Location: Des Moines, IA (USA)
Contact:

Post by *Boofo »

Hacker,

It would check the internal associations first and if it doesn't find anything there, then it would use the system association.

What I was referring to is that is should be available in more places in TC then just the file list (i.e. buttonbar, hotlist, etc.) Internal means internal to me which should cover anything opened IN TC. no matter where it is. It doesn't matter anyway as Christian has already spoken on this issue and refuses to do anyhing about it.
chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

How do I un-overwrite all my data?

User of Total Commander
#60471 Single user license
User avatar
Hacker
Moderator
Moderator
Posts: 13068
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

Boofo,
I am only saying that in the file lists you can launch a file using system associations (SA) or internal associations (IA) at will. For instance you can define a menu with IA's if you want to run a file that way. But there is no menu for a button bar button for instance. You could either run it using an IA or using an SA but you;d have no way to choose which, if it would be changed.
Not sure if I am clear enough.

Roman
Last edited by Hacker on 2009-08-19, 22:14 UTC, edited 1 time in total.
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Post Reply