bottlesdevs / Bottles

Run Windows software and games on Linux
https://usebottles.com
GNU General Public License v3.0
6.43k stars 269 forks source link

Issue with Displaying Application and Game Icons in Bottles #3430

Open RaulKong898 opened 4 months ago

RaulKong898 commented 4 months ago

Dear Bottles Support Team,

I hope this message finds you well. I am writing to bring to your attention an issue I have encountered while using the Bottles application on multiple Linux operating systems.

I have noticed that when running various applications and games through Bottles, the taskbar icons display the Bottles logo instead of the individual icons for each application or game. This behavior makes it difficult to quickly identify the running applications. Ideally, I would like the taskbar to display the specific icon for each application or game, reserving the Bottles logo only for the Bottles management interface.

This issue persists across several Linux distributions that I have tried over time to see which best suits my needs.

Attached is a screenshot for your reference. In this screenshot, you can see that even though I have opened the Epic Games application, the icon displayed in the taskbar is still the Bottles icon:

Screenshot from 2024-07-12 05-56-07 Screenshot from 2024-07-12 05-56-26

The same thing happens when the application is visible in the area where I can see open applications. Instead of displaying the specific icon of the respective application, it shows the Bottles icon.

Could you please resolve this issue so that the correct icons for each application are displayed in the taskbar? If this feature is not currently supported, I would like to suggest including it in future updates, as it would significantly improve the user experience.

Thank you for your attention to this matter. I look forward to your response.

XEmpty commented 4 months ago

I was trying to change wm_class of created game / app entry but not working, maybe because window class name is always steam_proton or any other runner or it's just because game / app is still start in bottles instance. Did that work before?

yevklim commented 3 months ago

I'm launching my Windows apps through bottles-cli and was annoyed that all windows are created with WM_CLASS set to "steam_proton".

I was searching for a solution, and eventually, I stumbled upon this blog post from Cameron Vanderzanden.

In that blog post, he referred to this commit from 2019, which implemented the mechanism that allows us to set WM_CLASS by setting environment variable SteamAppId before we launch the app.

This solution is not ideal and does not cover all the use cases, but it does cover most of them. Hope this helps you as much as it helped me.