-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
App icon is incorrect under KDE Plasma Wayland session #4505
Comments
Your "correct icon" image is nothing like the default openscad icon, so I don't think we would have any control over that. |
I'm seeing the issue on Debian too. Running the same app via X11 on Wayland shows the custom icon. Running plain Wayland it's just going to the default. This seems to be related to how the application name is defined. |
The code which should set the window icon is here, where it grabs the icon from our I have no idea how that interacts with custom icon sets etc, or if Wayland requires some additional/different setting. |
I have the same problem with evince on I do not have this issue with |
I have the same problem. I am using PyQT6 and python311. When I boot from KDE 5.27.7 (FW: 5.108.0 | QT: 5.15.10 | Core: 6.4.10-zen2-1-zen (64-bit)) using Wayland, my app icon disappears: When I boot from X11 everything works fine:
More info: OpenShot/openshot-qt#1112 (comment) |
So KDE devs basically saying it's a per application problem and aren't offering a fix? And they wonder why Wayland adoption is so poor. |
@parkerlreed, No. As they say in Community KDE:
|
Yes so they are basically saying we are not going to support the old way of setting the icon all developers have to name their desktop file exactly like this and specify the icon for it to work. Applications that are working on Wayland right now are just because of QT and not because of the developers specifically tailoring for Wayland. It's unreasonable to expect everybody to follow the KDE guidelines just to get a window icon working. |
There's not much point discussing general KDE topics here. Also it's not a KDE-only issue, I do see the problem with Gnome-Shell + Wayland too and not just for OpenSCAD, but for example Quassel also lost it's icon (and that's org.kde.Quassel!). The problem I see is that it's really hard to find a definitive answer on what the correct way of naming in all the needed places is and what depends on what. I don't have a huge issue with changing the naming in the AppData but I would have an issue if that's incompatible with X11 based systems. So if anyone can find some clear documentation on what pieces need to play together (which files in what directories and what specific properties need to match the names defined in the Qt code used by OpenSCAD), please post pointers here. I failed so far to really get a full picture. For general KDE/Qt discussion, please find some place the respective developers have a chance of seeing it. |
The best way of investigating I have seen is: Following this I find GNOME has identified the OpenSCAD window as because QGuiApplication::desktopFileName().isEmpty(). I think the easiest solution is just to It is possible to rename the desktop file |
Hi
I have OpenSCAD Version: 2021.01 on Arch Linux running KDE Plasma Wayland session.
Window decoration, panel, show the Wayland generic icon instead OpenScad icon.
The text was updated successfully, but these errors were encountered: