Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
None
Description
When opening RAPPS there is a sequence of messages sent to the debug log as follows:
err:(win32ss/user/user32/windows/cursoricon.c:201) (1196314761): unknown/wrong size for header |
err:(win32ss/user/user32/windows/cursoricon.c:201) (1196314761): unknown/wrong size for header |
err:(win32ss/user/user32/windows/cursoricon.c:201) (1196314761): unknown/wrong size for header |
err:(win32ss/user/user32/windows/cursoricon.c:201) (1196314761): unknown/wrong size for header |
err:(win32ss/user/user32/windows/cursoricon.c:201) (1196314761): unknown/wrong size for header |
err:(win32ss/user/user32/windows/cursoricon.c:201) (1196314761): unknown/wrong size for header |
It seemed odd that all of these had the same values which was supposed to be the biSize of the icon. Upon investigation, I found that this was caused by the ICO files having a PNG embedded. To improve the error message and have it report correctly, I added the attached patch. Afterward the output changes to the following:
err:(win32ss/user/user32/windows/cursoricon.c:209) Cannot yet display PNG icons |
err:(win32ss/user/user32/windows/cursoricon.c:1395) Failing File is |
'C:\Documents and Settings\Administrator\Local Settings\Application Data\RApps\appdb\icons\jdk8.ico'. |
err:(win32ss/user/user32/windows/cursoricon.c:209) Cannot yet display PNG icons |
err:(win32ss/user/user32/windows/cursoricon.c:1395) Failing File is |
'C:\Documents and Settings\Administrator\Local Settings\Application Data\RApps\appdb\icons\jdk8.ico'. |
err:(win32ss/user/user32/windows/cursoricon.c:209) Cannot yet display PNG icons |
err:(win32ss/user/user32/windows/cursoricon.c:1395) Failing File is |
'C:\Documents and Settings\Administrator\Local Settings\Application Data\RApps\appdb\icons\codeblocks.ico'. |
err:(win32ss/user/user32/windows/cursoricon.c:209) Cannot yet display PNG icons |
err:(win32ss/user/user32/windows/cursoricon.c:1395) Failing File is |
'C:\Documents and Settings\Administrator\Local Settings\Application Data\RApps\appdb\icons\jdk8.ico'. |
err:(win32ss/user/user32/windows/cursoricon.c:209) Cannot yet display PNG icons |
err:(win32ss/user/user32/windows/cursoricon.c:1395) Failing File is |
'C:\Documents and Settings\Administrator\Local Settings\Application Data\RApps\appdb\icons\jdk8.ico'. |
err:(win32ss/user/user32/windows/cursoricon.c:209) Cannot yet display PNG icons |
err:(win32ss/user/user32/windows/cursoricon.c:1395) Failing File is |
'C:\Documents and Settings\Administrator\Local Settings\Application Data\RApps\appdb\icons\flashplayer32.ico'. |
Attachments
Issue Links
- relates to
-
CORE-18385 Support NT6 (Vista) PNG icons
- Open