Context menu in Branch View

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
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Context menu in Branch View

Post by *roentgen »

It seems TC has some problems when right clicking files in branch view if the files are placed in sub-dirs (that is not in the root dir where the branch view command was issued).

In XP: Internet explorer (bleah) is opened when selecting the bold (default) action.

In Vista: TC hangs for several seconds but nothing happens eventually.

Note: direct Enter (double click) works as expected, i.e. opens the selected file in the associated program.
TC for Linux please!
User avatar
petermad
Power Member
Power Member
Posts: 14861
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

In XP: Internet explorer (bleah) is opened when selecting the bold (default) action.
Confirmed - but not always.

Some filetypes here - like .css, *.log, *.ini and *.inf - are opened in Notepad.

*.ini, *.inf and *.hlp are opened after asking whether I want to open or save the file.

The operation is apparantly percieved as a file transfer. And Windows Security system/Firewall is asking the question

*.doc and *.xls files are opened in Wordviewer/Excelviewer (I don't have Word ad Excel) after the same question.

*.pdf files opens correctly in Acrobat, *.ppt files opens correctly in my Powerpointviewer and *.zip files opens correctly in Windows Explorer (not Internet Explorer). By correctly I mean the same way they open on my system when I am not in Ctrl+B view.

*.exe files are run after asking whether I want to run (execute) the files or save them.

*.bmp files are opened in MS Paint (usually opened in Fax & Picture Viewer).

*.fon and *.ttf files are opened in Windows Font viewer after asking whether I want to open or save the file.

*.msc files are executed after asking whether I want to open (not run) or save the file.
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

Here *.pdf files are opened in IE which embeds Acrobat Reader.
*.zip files are opened in Windows Explorer although they are associated with WinRAR.

I guess it all depends what IE thinks about a certain extension :wink:
TC for Linux please!
User avatar
petermad
Power Member
Power Member
Posts: 14861
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

ere *.pdf files are opened in IE which embeds Acrobat Reader.
Oh, sorry - same here I as wrong about that in my previous posting.

I guess it all depends what IE thinks about a certain extension
Yes, but why are some of the files treated differently by Explorer when in branch view :?:
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48173
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I'm sorry, this doesn't work because the used OLE function QueryContextMenu expects the files in the same directory as the current shell folder (IShellFolder interface). I haven't found a way to make it work with files from different directories.
Author of Total Commander
https://www.ghisler.com
User avatar
roentgen
Power Member
Power Member
Posts: 757
Joined: 2005-12-03, 19:58 UTC

Post by *roentgen »

It works rather fine in Search results. Isn't it the same situation?
TC for Linux please!
User avatar
petermad
Power Member
Power Member
Posts: 14861
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

It works rather fine in Search results. Isn't it the same situation?
Good point!
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48173
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

No, the search result files all include the full path, while the Ctrl+B files are relative to a certain subdirectory. In search results view, TC shows the right click menu for a single file only.
Author of Total Commander
https://www.ghisler.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2ghisler(Author)
No, the search result files all include the full path, while the Ctrl+B files are relative to a certain subdirectory.
Do you want to claim you are unable to construct the full path out of the branch path and the displayed file name (relative path displayed in status bar)? :roll:
In search results view, TC shows the right click menu for a single file only.
I guess roentgen refers to the "applied" search results where the context menu is displayed just fine for one or multiple files.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48173
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

No, I'm trying to use the relative paths also with item-idlists - this seems to work with some parts of the menu, but not all. I wonder how the Explorer solves that in its search results window...
Author of Total Commander
https://www.ghisler.com
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

I wonder how the Explorer solves that in its search results window...
I guess it uses full paths - the same what you do in search result:
the search result files all include the full path
User avatar
petermad
Power Member
Power Member
Posts: 14861
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Not changed in TC 7.02
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48173
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I had checked this, it would require considerable changes to the right click menu functions, too risky for a small update with no public beta test. Therefore I had to postpone this to a later release.
Author of Total Commander
https://www.ghisler.com
Post Reply