Problem - Open Images witch TC & Vista

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

Moderators: white, Hacker, petermad, Stefan2

User avatar
GeProtector
Junior Member
Junior Member
Posts: 8
Joined: 2004-11-27, 21:25 UTC

Post by *GeProtector »

A, Thx.

I dont know why, but for these filetaype there is no entry.

If i enter WindowsPhotoGallery.jpg to this regkey, TC open jpg-files with the WindowsPhotoGallery.

But another bug:

i dont have mini-icons for these files :(
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I dont know why, but for these filetaype there is no entry.
I see - if there is no entry at all, TC uses WinExec. I will change that.
i dont have mini-icons for these files
How should TC get the icon if there is no entry?
Author of Total Commander
https://www.ghisler.com
User avatar
GeProtector
Junior Member
Junior Member
Posts: 8
Joined: 2004-11-27, 21:25 UTC

Post by *GeProtector »

How should TC get the icon if there is no entry?
Hmm, yeah - thats right. :oops:
blendax99
New Member
New Member
Posts: 1
Joined: 2007-03-10, 22:40 UTC

Found me a solution

Post by *blendax99 »

Thanks for the tip! I´ve got this problem a long time!
I can´t open avi files (or could).
I went to the registry in Windows Vista (I.E. HKEY_CLASSES_ROOT)
and just renamed i.e. .avi to .avi_ so I an make a "fresh" assisiation to the files I needed.

After this everything worked!

Great!
ghisler(Author) wrote:It's not a bug of Total Commander. I'm just calling ShellExecuteEx now with the image file as parameter and NULL as the Verb, so Windows does all the rest.

There must be some kind of ambiguity in your associations, which is handled by the Explorer in one way, and the Windows functions in another way. Removing this ambiguity will fix the problem.

Can you post the association for this file type, please?

There are two keys involved:
1. HKEY_CLASSES_ROOT\.jpg

Post the contents of this key (start regedit, go to the key, choose Export - Only the selected branch). Then paste the contents of the file here.

2. The above key contains a (default) value. This value is something like jpg_file or Jpegfile or similar. So repeat the same with the key named jpg_file or Jpegfile (or whatever you found as the default value) under HKEY_CLASSES_ROOT.
jt42
New Member
New Member
Posts: 1
Joined: 2007-03-13, 01:03 UTC

File Associations and Nero

Post by *jt42 »

I had the same association problem with Total Commander only (v6.56) in a system running Vista Ultimate 64. It started after I uninstalled Nero 7.5.9.0 so it was definitely Nero that messed up the associations.

They work fine from explorer but always open the Open With box from Total Commander (even if there was only 1 program available to handle the type).

I tried so many registry deletions and found keys to delete to resolve the problem but it was even easier when I explored Total Commander a bit and set up new associations within it - I would highlight an .avi file, for instance, and go into Files / Associate With and highlight the program I wanted as the default and then click OK.

After that, all was fine
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed this problem is caused by a new registry key "UserChoice", which is currently not documented by Microsoft. I will support it in the next beta.
Author of Total Commander
https://www.ghisler.com
dyhan81
Junior Member
Junior Member
Posts: 11
Joined: 2007-02-25, 00:34 UTC

Post by *dyhan81 »

I think this is definitely MS's fault...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Please try the just-released Release Candidate 1, it should handle "UserChoice" now!
Author of Total Commander
https://www.ghisler.com
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

This seems to be fixed with TC7rc1!

I could reproduce the bug with TC7b4 under Vista Ultimate 32:
- ”Open with dialog” shown every time, when trying to start a document with <DBL-click> or <Return>.
- No icon associated with document file.
using a damaged file association (manually removed some keys from registry, trying to simulate an incomplete deinstallation).

With TC7rc1 the ”open file with” dialog doesn’t appear (did his job already during test with TC7b4), and the associated program is always started.
Even the document icon is shown correct (may be after one restart of TC).

Thanks for fixing this :D

Kind regards,
Holger
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for checking it! Indeed the icon extraction also considers the UserChoice key now.
Author of Total Commander
https://www.ghisler.com
Post Reply