Created attachment 161251 [details] Pixelorama being grouped with the Godot editor SUMMARY Any application that is made with Godot (i.e. Pixelorama) is grouped under the Godot icon along with it's editor, in the Icons-only Task Manager. This is undesirable, because I might want to use both the editor and another Godot made app at the same time, and it makes it annoying to switch between them when they're grouped together. It also doesn't make any sense. For example, one wouldn't want every app made with Qt to be grouped under Qt Creator. STEPS TO REPRODUCE 1. Install the Godot editor (doesn't matter from where, distro packages or Flatpak) 2. Install an application made with Godot (i.e. Pixelorama) 3. Launch the Godot editor 4. Launch any application made with Godot OBSERVED RESULT All applications that are made with Godot are grouped under the Godot editor. EXPECTED RESULT Applications made with Godot are in their own group, and not grouped under the Godot editor SOFTWARE/OS VERSIONS Operating System: Fedora Linux 38 KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 Kernel Version: 6.4.11-200.fc38.x86_64 (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor Memory: 15.5 GiB of RAM Graphics Processor: AMD Radeon RX 5700 XT Manufacturer: ASUS
This would be happening because those apps are incorrectly setting their metadata (WM_CLASS, WM_STRING, etc) to be the same metadata that Godot Engine uses. I'd recommend reporting the issue to the developers of those apps. The Godot people might want to hear about it too; if this is common, it might suggest that the template that new apps use is pre-set to what's used by Godot itself, which, if true, isn't a great default value.
(In reply to Nate Graham from comment #1) > This would be happening because those apps are incorrectly setting their > metadata (WM_CLASS, WM_STRING, etc) to be the same metadata that Godot > Engine uses. I'd recommend reporting the issue to the developers of those > apps. The Godot people might want to hear about it too; if this is common, > it might suggest that the template that new apps use is pre-set to what's > used by Godot itself, which, if true, isn't a great default value. Thank you! I've opened a bug report over on Godot's repository: https://github.com/godotengine/godot/issues/81141
You're welcome!
In my Godot bug report, one of the maintainers said that it might actually be a KDE bug. What do you think? > In might be KDE bug as well, seems like it apply grouping only based on the first hints set, and do not change it if hints are changed. So if you start `Pixelorama` first and the editor second, it won't group it. > > Starting `Pixelorama` first: > > * Start `Pixelorama` > > * Window is created and hints are set to `Godot_Engine`, `Godot`, new task icon is created. > > * Hints are changed to `Godot_Engine`, `Pixelorama` > > * Start `Godot Editor` > > * Window is created and hints are set to `Godot_Engine`, `Godot`, new task icon is created since hints do not match. > > > Starting `Godot Editor` first: > > * Start `Godot Editor` > > * Window is created and hints are set to `Godot_Engine`, `Godot`, new task icon is created. > > * Start `Pixelorama` > > * Window is created and hints are set to `Godot_Engine`, `Godot`, hints match, and task icon is grouped. > > * Hints are changed to `Godot_Engine`, `Pixelorama`, but task icon is not changed/ungrouped.
Sort of. We do indeed not support changing window hints at runtime. We could, but we currently consider this to be an app bug.
To expand on that, the reason why we don't support window changing their hints at runtime is because it would cause windows to change their groupings at runtime, which would be extremely odd-looking and break your short-term muscle memory.
Alright, thanks for your explanation!