You are here

Portable Apps 1.5 Icons ugly under Linux with wine

9 posts / 0 new
Last post
rafi
Offline
Last seen: 12 years 6 months ago
Joined: 2008-06-06 11:18
Portable Apps 1.5 Icons ugly under Linux with wine

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?

John T. Haller
John T. Haller's picture
Online
Last seen: 4 min 8 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Wine Version

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!

rafi
Offline
Last seen: 12 years 6 months ago
Joined: 2008-06-06 11:18
on this machine i use @home,

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.

John T. Haller
John T. Haller's picture
Online
Last seen: 4 min 8 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Hmmm

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!

John Bentley
John Bentley's picture
Offline
Last seen: 14 years 7 months ago
Developer
Joined: 2006-01-24 13:26
If I knew how to cross

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.'

José Pedro Arvela
Offline
Last seen: 5 years 2 months ago
Joined: 2007-07-10 07:29
Have bug here too

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 Blum ).

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.

rafi
Offline
Last seen: 12 years 6 months ago
Joined: 2008-06-06 11:18
John, I think u know better

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.

rafi
Offline
Last seen: 12 years 6 months ago
Joined: 2008-06-06 11:18
hi, still this

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.

John T. Haller
John T. Haller's picture
Online
Last seen: 4 min 8 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Nope

I haven't reported it. I doubt anyone else has either.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments