Summary: | Spawned Child processes from Snap get grouped with parent | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Till Seifert <till.seifert> |
Component: | Task Manager and Icons-Only Task Manager widgets | Assignee: | Eike Hein <hein> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | alex765, nate, plasma-bugs-null |
Priority: | NOR | ||
Version First Reported In: | 5.18.4 | ||
Target Milestone: | 1.0 | ||
Platform: | Neon | ||
OS: | Linux | ||
See Also: |
https://bugs.kde.org/show_bug.cgi?id=417457 https://bugs.kde.org/show_bug.cgi?id=475736 |
||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Task manager with java as subprocess of intellij
The Task manager if app is laucnched the same way on Palasma 5.17 |
Created attachment 126129 [details]
The Task manager if app is laucnched the same way on Palasma 5.17
I forgot to mention: If i launch the same command line (java -jar[…]) from Konsole while IntellJ is running, it gets its own Task Manager entry exactly like in Plasma 5.17. So it only seems to happen if the java app is a *subprocess* of IntelliJ Similar issue to Bug 417457. Maybe the same root cause. Additional info: this also happens with *non-java" apps that I launch from Intellij, (such as gitk). They even keep the IntelliJ-icon in the Task bar after i close Intellij completely! The Alt-Tab switcher is not affected. I now switched from the Snap-version of IDEA to one installed in /opt. The does *not* appear now. Can you check again in Plasma 6.3 or later and see if this is still happening with the Snap version? If so, it would also be great to learn if it's happening to you only on X11, only on Wayland, or both. Thanks a lot! 🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone! 🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME. |
Created attachment 126128 [details] Task manager with java as subprocess of intellij This happens to me when i launch a Java app i am developing with IntellJ IDEA (second line is IntelliJ, third line is the launched custom app): The process tree looks like this: └─ /bin/sh /snap/intellij-idea-ultimate/204/bin/idea.sh └─ /snap/intellij-idea-ultimate/204/jbr/bin/java -classpath /snap/intellij-idea-ultimate……… │ ├─ /home/till/jdk1.8.0_191/bin/java The task manager (normal and icon-only) display the IntelliJ icon for for the launched java-app, and group it with IntelliJ. This happens only since Plasma 5.18. STEPS TO REPRODUCE 1. Launch IntelliJ 2. Launch a Java app that creates a window from intelliJ 3. Observe Task Manager OBSERVED RESULT The Task Manager groups the launched app with IntelliJ and assigns the same icon EXPECTED RESULT The launched app is displayed as an independend entry in the Task Manager and has it's icon SOFTWARE/OS VERSIONS Operating System: KDE neon 5.18 KDE Plasma Version: 5.18.0 KDE Frameworks Version: 5.67.0 Qt Version: 5.13.2 Kernel Version: 4.18.17-041817-generic OS Type: 64-bit Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz Memory: 23,4 GiB ADDITIONAL INFORMATION before 5.18. this worked as expected. see two attached screenshots, icon1.png is Plasma 5.18, and icon2.png is Plasma 5.17.