Falsches Standard-Icon für png-Dateien

German support forum

Moderators: white, Hacker, Stefan2

Post Reply
none
Junior Member
Junior Member
Posts: 26
Joined: 2018-12-13, 07:21 UTC

Falsches Standard-Icon für png-Dateien

Post by *none »

Das Standard-Icon für png-Dateien sieht etwas merkwürdig aus (TC 9.51). SHGetFileInfo liefert das korrekte Icon.
User avatar
Dalai
Power Member
Power Member
Posts: 9393
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Falsches Standard-Icon für png-Dateien

Post by *Dalai »

Inwiefern merkwürdig? Das Icon für Bilder hängt mehr oder weniger immer vom verwendeten/verknüpften Bildbetrachter ab. Screenshot wäre ggf. auch hilfreich (extern hochladen und hier verlinken).

Grüße
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
none
Junior Member
Junior Member
Posts: 26
Joined: 2018-12-13, 07:21 UTC

Re: Falsches Standard-Icon für png-Dateien

Post by *none »

Die png-Dateien sind systemseitig mit der Windows 10 Fotos-App und über Interne Verknüpfungen (nur in Total Commander) mit PhotoFiltre verknüpft. Die Symboldatei ist mit %1 vorgegeben.
Image: https://www.harald-mahnke.de/images/png.jpg
User avatar
Stefan2
Power Member
Power Member
Posts: 4159
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Falsches Standard-Icon für png-Dateien

Post by *Stefan2 »

Eventuell

Menü "Konfigurieren > Einstellungen... > Symbole (Icons) > (o)Nur Standardsymbole"

:?:






 
none
Junior Member
Junior Member
Posts: 26
Joined: 2018-12-13, 07:21 UTC

Re: Falsches Standard-Icon für png-Dateien

Post by *none »

Das ist keine Fehlerbehebung, sondern nur eine Fehlerumgehung.
User avatar
Stefan2
Power Member
Power Member
Posts: 4159
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Falsches Standard-Icon für png-Dateien

Post by *Stefan2 »

Ehm, ja.

Dann noch einmal ausführlicher:


Eventuell hast du nur

Menü "Konfigurieren > Einstellungen... > Symbole (Icons) > (o)Nur Standardsymbole"

eingestellt :?:





 
none
Junior Member
Junior Member
Posts: 26
Joined: 2018-12-13, 07:21 UTC

Re: Falsches Standard-Icon für png-Dateien

Post by *none »

Ich habe 'Konfigurieren > Einstellungen... > Symbole (Icons) > Alle verknüpften + EXE/LNK (langsam)' eingestellt. Das ist auch die richtige und gewünschte Einstellung. Allerdings müsste das Icon für png-Dateien so aussehen wie das bmp-Icon. Tatsächlich ist es aber etwas verunstaltet (unscharf, nach links verschoben und links abgeschnitten).
none
Junior Member
Junior Member
Posts: 26
Joined: 2018-12-13, 07:21 UTC

Re: Falsches Standard-Icon für png-Dateien

Post by *none »

Mich würde schon interessieren, warum das Icon für png-Dateien falsch dargestellt wird. An den Benutzereinstellungen kann es ja nicht liegen, denn das würde sich dann ja auch auf die anderen Icons auswirken. Die SystemImageList enthält das Icon auf jeden Fall in der richtigen Darstellung.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Falsches Standard-Icon für png-Dateien

Post by *ghisler(Author) »

Könnten Sie bitte die Ausgabe meines Tools RegistryInfo für die png-Erweiterung hier ins Forum stellen?
https://www.totalcommander.ch/win/registryinfo.zip
Author of Total Commander
https://www.ghisler.com
none
Junior Member
Junior Member
Posts: 26
Joined: 2018-12-13, 07:21 UTC

Re: Falsches Standard-Icon für png-Dateien

Post by *none »

[HKEY_CLASSES_ROOT\.png]
@="pngfile"
"Content Type"="image/png"
"PerceivedType"="image"
[HKEY_CLASSES_ROOT\.png\OpenWithProgids]
"AppX2jm25qtmp2qxstv333wv5mne3k5bf4bm"=hex(0):
"AppX43hnxtbyyps62jhe9sqpdzxn1790zetc"=hex(0):
"AppXcdh38jxzbcberv50vxg2tg4k84kfnewn"=hex(0):
"pngfile"=""
[HKEY_CLASSES_ROOT\.png\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"
=============================
[HKEY_CLASSES_ROOT\pngfile]
@="PNG Image"
"EditFlags"=dword:00210000
[HKEY_CLASSES_ROOT\pngfile\CLSID]
@="{25336920-03F9-11cf-8FD0-00AA00686F13}"
[HKEY_CLASSES_ROOT\pngfile\DefaultIcon]
@="%SystemRoot%\System32\imageres.dll,-83"
[HKEY_CLASSES_ROOT\pngfile\shell]
[HKEY_CLASSES_ROOT\pngfile\shell\printto]
"NeverDefault"=""
[HKEY_CLASSES_ROOT\pngfile\shell\printto\command]
@=""%SystemRoot%\System32\rundll32.exe" "%SystemRoot%\System32\shimgvw.dll",ImageView_PrintTo /pt "%1" "%2" "%3" "%4""
=============================
[Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.png]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.png\OpenWithList]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.png\OpenWithProgids]
"pngfile"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.png\UserChoice]
"ProgId"="AppX43hnxtbyyps62jhe9sqpdzxn1790zetc"
"Hash"="mk4tml5epxA="
=============================
Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.png\UserChoice="AppX43hnxtbyyps62jhe9sqpdzxn1790zetc"
[HKEY_CLASSES_ROOT\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc]
[HKEY_CLASSES_ROOT\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc\Application]
"ApplicationName"="@{Microsoft.Windows.Photos_2020.20070.10002.0_x64__8wekyb3d8bbwe?ms-resource://Microsoft.Windows.Photos/Resources/AppFriendlyName}"
"ApplicationCompany"="Microsoft Corporation"
"ApplicationIcon"="@{Microsoft.Windows.Photos_2020.20070.10002.0_x64__8wekyb3d8bbwe?ms-resource://Microsoft.Windows.Photos/Files/Assets/PhotosAppList.png}"
"ApplicationDescription"="ms-resource:AppDescription"
"AppUserModelID"="Microsoft.Windows.Photos_8wekyb3d8bbwe!App"
[HKEY_CLASSES_ROOT\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc\DefaultIcon]
@="@{Microsoft.Windows.Photos_2020.20070.10002.0_x64__8wekyb3d8bbwe?ms-resource://Microsoft.Windows.Photos/Files/Assets/PhotosLogoExtensions.png}"
[HKEY_CLASSES_ROOT\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc\Shell]
@="open"
[HKEY_CLASSES_ROOT\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc\Shell\open]
"ActivatableClassId"="App.AppX65n3t4j73ch7cremsjxn7q8bph1ma8jw.mca"
"PackageId"="Microsoft.Windows.Photos_2020.20070.10002.0_x64__8wekyb3d8bbwe"
"ContractId"="Windows.File"
"DesiredInitialViewState"=dword:00000000
[HKEY_CLASSES_ROOT\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc\Shell\open\command]
"DelegateExecute"="{4ED3A719-CEA8-4BD9-910D-E252F997AFC2}"
[HKEY_CLASSES_ROOT\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc\Shell\ShellCreateVideo]
"ActivatableClassId"="App.AppX65n3t4j73ch7cremsjxn7q8bph1ma8jw.mca"
"PackageId"="Microsoft.Windows.Photos_2020.20070.10002.0_x64__8wekyb3d8bbwe"
"ContractId"="Windows.File"
"DesiredInitialViewState"=dword:00000000
[HKEY_CLASSES_ROOT\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc\Shell\ShellCreateVideo\command]
"DelegateExecute"="{4ED3A719-CEA8-4BD9-910D-E252F997AFC2}"
[HKEY_CLASSES_ROOT\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc\Shell\ShellEdit]
"ActivatableClassId"="App.AppX65n3t4j73ch7cremsjxn7q8bph1ma8jw.mca"
"PackageId"="Microsoft.Windows.Photos_2020.20070.10002.0_x64__8wekyb3d8bbwe"
"ContractId"="Windows.File"
"DesiredInitialViewState"=dword:00000000
[HKEY_CLASSES_ROOT\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc\Shell\ShellEdit\command]
"DelegateExecute"="{4ED3A719-CEA8-4BD9-910D-E252F997AFC2}"
=============================
OpenWithProgIDs(0)="AppX2jm25qtmp2qxstv333wv5mne3k5bf4bm"
[HKEY_CLASSES_ROOT\AppX2jm25qtmp2qxstv333wv5mne3k5bf4bm]
[HKEY_CLASSES_ROOT\AppX2jm25qtmp2qxstv333wv5mne3k5bf4bm\Application]
"ApplicationName"="@{Microsoft.ScreenSketch_10.1907.2471.0_x64__8wekyb3d8bbwe?ms-resource://Microsoft.ScreenSketch/Resources/AppName/Text}"
"ApplicationCompany"="Microsoft Corporation"
"ApplicationIcon"="@{Microsoft.ScreenSketch_10.1907.2471.0_x64__8wekyb3d8bbwe?ms-resource://Microsoft.ScreenSketch/Files/Assets/ScreenSketchSquare44x44Logo.png}"
"ApplicationDescription"="ms-resource:AppDescription"
"AppUserModelID"="Microsoft.ScreenSketch_8wekyb3d8bbwe!App"
[HKEY_CLASSES_ROOT\AppX2jm25qtmp2qxstv333wv5mne3k5bf4bm\DefaultIcon]
@="@{Microsoft.ScreenSketch_10.1907.2471.0_x64__8wekyb3d8bbwe?ms-resource://Microsoft.ScreenSketch/Files/Assets/FileAssociation/FileAssociation.png}"
[HKEY_CLASSES_ROOT\AppX2jm25qtmp2qxstv333wv5mne3k5bf4bm\Shell]
@="open"
[HKEY_CLASSES_ROOT\AppX2jm25qtmp2qxstv333wv5mne3k5bf4bm\Shell\open]
"ActivatableClassId"="App.AppX99naa8pv4a8nkjghzyt7drksgwxwbtsg.mca"
"PackageId"="Microsoft.ScreenSketch_10.1907.2471.0_x64__8wekyb3d8bbwe"
"ContractId"="Windows.File"
"DesiredInitialViewState"=dword:00000000
[HKEY_CLASSES_ROOT\AppX2jm25qtmp2qxstv333wv5mne3k5bf4bm\Shell\open\command]
"DelegateExecute"="{4ED3A719-CEA8-4BD9-910D-E252F997AFC2}"
[HKEY_CLASSES_ROOT\AppX2jm25qtmp2qxstv333wv5mne3k5bf4bm\Shell\ShellEdit]
"ActivatableClassId"="App.AppX99naa8pv4a8nkjghzyt7drksgwxwbtsg.mca"
"PackageId"="Microsoft.ScreenSketch_10.1907.2471.0_x64__8wekyb3d8bbwe"
"ContractId"="Windows.File"
"DesiredInitialViewState"=dword:00000000
[HKEY_CLASSES_ROOT\AppX2jm25qtmp2qxstv333wv5mne3k5bf4bm\Shell\ShellEdit\command]
"DelegateExecute"="{4ED3A719-CEA8-4BD9-910D-E252F997AFC2}"
none
Junior Member
Junior Member
Posts: 26
Joined: 2018-12-13, 07:21 UTC

Re: Falsches Standard-Icon für png-Dateien

Post by *none »

Es liegt definitiv nicht an Benutzereinstellungen, denn auch nach Neuinstallation von Windows 10 Pro 2004 und TC 9.51 (32 u. 64 Bit) ist das Icon für png-Dateien fehlerhaft. Es wurden keine weiteren Programme installiert und keine Einstellungen für Dateien bzw. Dateiendungen an Windows und TC vorgenommen.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Falsches Standard-Icon für png-Dateien

Post by *ghisler(Author) »

Total Commander benutzt folgenden Eintrag:
[HKEY_CLASSES_ROOT\pngfile\DefaultIcon]
@="%SystemRoot%\System32\imageres.dll,-83"

Ich weiss nicht was der Explorer hier benutzt, vielleicht das da?
"ApplicationIcon"="@{Microsoft.ScreenSketch_10.1907.2471.0_x64__8wekyb3d8bbwe?ms-resource://Microsoft.ScreenSketch/Files/Assets/ScreenSketchSquare44x44Logo.png}"
Author of Total Commander
https://www.ghisler.com
none
Junior Member
Junior Member
Posts: 26
Joined: 2018-12-13, 07:21 UTC

Re: Falsches Standard-Icon für png-Dateien

Post by *none »

Dann wird es wohl an Windows liegen.
Ich ermittle in einem eigenen Programm die Icons bzw. deren Indizes mittels SHGetFileInfo aus der System Image List. Da ist das png-Icon in Ordnung und wird wie im Explorer korrekt angezeigt (wie das bmp-Icon).

Das DefaultIcon (-83 aus imageres.dll) sieht übrigens völlig anders aus.
Image: https://www.harald-mahnke.de/images/png1.jpg
Post Reply