Hello,
under 1.0 Icons where normally pretty but since 1.5 when opening it under wine
(i tried it under several distributions, ubuntu, arch, gentoo)
it looks really ugly
check screenshot
http://www.abload.de/image.php?img=portableappsplatform.ea02x.png
s.o know how to fix?
It looks like we've hit on a Wine bug here. What version of Wine are you running on each?
Sometimes, the impossible can become possible, if you're awesome!
yeah,
looks like the icons are low-colors and bad resolution.
on this machine i use @home, there is the actual wine version from the repos (arch linux with gnome i686 with intel graphic drivers and metacity)
[ra@digga ~]$ wine --version
wine-1.1.16
http://www.winehq.org/ this is the development stable
under ubuntu i think i used this one
http://packages.ubuntu.com/intrepid/wine
because at office they keep it up to date ( 1.0.1 normal stable)
under gentoo it should be 1.1.16 too because its always up to date
A single death is a tragedy; a million deaths is a statistic.
The icons show up fine in Windows 95 through Windows 7, so if Wine is doing an accurate interpretation of the API, it would work right. But it looks like it's not and I see the same thing on my Wine install in Ubuntu.
So, it looks like we have a bug in Wine. Specifically, it may not be handling ExtractIconEx properly (which is new in 1.5 vs 1.1). Or the display of it in a TImage within Delphi's environment. Either way, it's something specific to Wine.
If I can figure out how to detect wine is running, I could render the icons old style. They'd be haloed on dark themes, but it would look better than this 16 color deal. Anybody know?
Sometimes, the impossible can become possible, if you're awesome!
If I knew how to cross compile on linux I'd try this out, but I'd say check if explorer.exe is running. Also check if temp is under windows if the OS version is after win9x.
cowsay Moo
cowthink 'Dude, why are you staring at me.'
I have the bug here too (WINE 1.1.16) and you can use a registry key.
Although I can't find the page I originally found, I know somewhere in 2004 WINE added some useful registry keys, one of them is
HKEY_CURRENT_USER\Software\Wine
.By detecting this registry key, you can force the app to use the old way of loading icons.
This can also be used for several other hacks to use in WINE (like the non transparent menu for example).
I am running WINE 1.1.16 in Ubuntu and my WINE has that registry key (and several other ones inside ).
Also, if someone here develops for WINE, a bug should be opened, and maybe a Delphi test app made to see where the problem is.
Blue is everything.
John,
I think u know better than me where could be the problem:
"
So, it looks like we have a bug in Wine. Specifically, it may not be handling ExtractIconEx properly (which is new in 1.5 vs 1.1). Or the display of it in a TImage within Delphi's environment.
"
maybe u open a bug-report on http://bugs.winehq.org/
Of course u could use my screenshot there.
A single death is a tragedy; a million deaths is a statistic.
hi,
still this problem.
Someone put a bug report yet or should I do?
A single death is a tragedy; a million deaths is a statistic.
I haven't reported it. I doubt anyone else has either.
Sometimes, the impossible can become possible, if you're awesome!