gpt4all
gpt4all copied to clipboard
fix: Load correct icon on Flatpak
trafficstars
Describe your changes
On a desktop with KDE Plasma, it was being shown a generic Wayland icon for GPT4All (Flatpak) because it couldn't match the running window to the desktop entry. This was due to the missing StartupWMClass field in the .desktop file.
By adding "StartupWMClass=io.gpt4all.chat" the window-class mismatch was fixed and allowed KDE to display the correct icon.
Issue ticket number and link
No issue
Checklist before requesting a review
- [X] I have performed a self-review of my code.
- [ ] If it is a core feature, I have added thorough tests.
- [ ] I have added thorough documentation for my code.
- [X] I have tagged PR with relevant project labels. I acknowledge that a PR without labels may be dismissed.
- [X] If this PR addresses a bug, I have provided both a screenshot/video of the original bug and the working solution.
Demo
Before the fix
After the fix
Steps to Reproduce
- Open GPT4ALL (Flatpak installation) in KDE Plasma Wayland
- Check the icon