Skip to content

Icons of wine applications aren't displayed #152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
CreamyCookie opened this issue Jun 24, 2018 · 8 comments
Closed

Icons of wine applications aren't displayed #152

CreamyCookie opened this issue Jun 24, 2018 · 8 comments

Comments

@CreamyCookie
Copy link

The icons of wine applications aren't rendered. Instead the standard wine icon is shown. There also a cog icon, that cannot be clicked:

wine screenshot

The desktop file (created by PlayOnLinux) does show an icon. (It's an image file without an extension.)

@robint99
Copy link
Contributor

robint99 commented Jul 5, 2018

Which distro and applet version are you using? I don't have many games that I can run under PlayOnLinux, but I tried Pharaoh and Cleopatra and that at least did show the correct icon.

pharoah

This was on Ubuntu Mate 18.04 with V0.86 of the applet.

@CreamyCookie
Copy link
Author

CreamyCookie commented Jul 5, 2018

I'm also using Ubuntu Mate 18.04. My applet version was V0.85, but I've now manually installed from master (which looks a lot better with the high res icons).

Sadly, the issue seems to be still there. I've tried with the Battle.net launcher and it just displays a set of cogs, while the Ubuntu Mate alt-tab-switcher displays the correct icon:

screenshot

Interestingly, when starting a Wine application it displays the right icon but it vanishes after a while (leaving the cogs):
screenshot starting

@robint99
Copy link
Contributor

I've just committed a fix for this. Wine apps now show the Wine icon defined by the icon theme e.g.

Ambient Mate:
screenshot at 2018-07-17 08-15-32

Adapta:
screenshot at 2018-07-17 08-13-26

As for the invisible windows issues, there seems to be a long standing issue with PlayOnLinux and Freetype (e.g. see here. Basically, because fonts can't be rendered you end up with windows only a few pixels in height and width and these are difficult to see. I ran into exactly this problem when installing Pharoah and when trying to install BattleNet. Hopefully the PlayOnLinux devs will sort this out soon...

I'll close this issue as the icons are now being displayed properly.

@CreamyCookie
Copy link
Author

CreamyCookie commented Jul 17, 2018

@robint99 Thanks, I've just tried it.

Wouldn't it also be possible to show the right icon like the Mate Alt-Tab switcher does, as shown here:

screenshot

This is the old screenshot (hence the cog, which is the Battle net launcher). The icon in the alt-tab switcher on the right is the correct one.

@robint99
Copy link
Contributor

It may be that with the new code the Battle Net icon will be displayed correctly. Unfortunately, because of the PlayOnLinux font issue I mentioned above, I haven't been to install it and do any testing...

If you want to try it yourself I've written a Python script to install the latest development version of the applet do this for you, and you can find it here in one of my other repositories.

Cheers.

@CreamyCookie
Copy link
Author

CreamyCookie commented Jul 18, 2018

Oh, sorry I wasn't clear. I had compiled from master and it's not showing the battle net one, just the default wine one. (which of course is better / more clear then the generic cog)

@robint99
Copy link
Contributor

After several attempts I was able to get the Battle Net installer to run, and the icon was indeed wrong. I've updated the code again and now the installer does have the correct icon.

screenshot at 2018-07-19 08-36-36

The installer errors out but so I can't test Battle Net itself, but the changes I've made should mean that Battle Net and any other Wine app that sets an icon for itself should show that icon in the dock.

I'll reopen this issue until you have a chance to test if for yourself ...

Cheers

@robint99 robint99 reopened this Jul 19, 2018
@CreamyCookie
Copy link
Author

Thank you, that works perfectly: 👍

screenshot at 2018-07-19 11-06-21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants