Summary: | kdesrc-build --run does not set icon for application window on wayland | ||
---|---|---|---|
Product: | [Developer tools] kdesrc-build | Reporter: | Andrew Shark <ashark> |
Component: | general | Assignee: | Michael Pyne <mpyne> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | Git | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Andrew Shark
2021-07-17 19:37:35 UTC
Somewhere the XDG_DATA_DIRS is incorrectly set. The development application ignores `$install-dir/share` (`install-dir` as configured in kdesrc-buildrc), and reads from system path. Actually, no. When running `kdesrc-run konsole` (but not with `kdesrc-build --run konsole`) and executing there the `env | grep XDG_DATA_DIR` command, I can see that the XDG_DATA_DIR is set correctly. The first path is /home/andrew/kde6/usr/share, which is expected. It is configured in /home/andrew/kde6/build/konsole/prefix.sh. It means that the reason of incorrectly set icon is somewhere else. It seems it is impossible to do after kwin has started. Also, even if modify system's XDG_DATA_DIR to contain dev path first, then normal app also will have that modified icon. In other words, in a single kwin session it is impossible to have different icons for the apps (dev and normal). I only can think now of some hacky ways, such as making a window rule triggered by window title to apply custom desktop file. |