Summary: | kstart5 ignores --desktop option | ||
---|---|---|---|
Product: | [Plasma] kde-cli-tools | Reporter: | oscar.0 |
Component: | general | Assignee: | Aleix Pol <aleixpol> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | allergy, beavailable, carlsonj, davewithheld, kde, nate, rgawenda, s_chriscollins, ticket.kde.djr4kjpch5320z5k, tobias, witchhunterpro |
Priority: | NOR | ||
Version: | 5.26.5 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
oscar.0
2021-11-28 13:50:04 UTC
Still shows in 5.23.5. Looking at the source (Fedora 35, source RPM, kde-cli-tools-5.23.5-1.fc35), the line that sends the message fails: KXMessages::broadcastMessage("_KDE_NET_WM_TEMPORARY_RULES", message, -1); Message being sent: types=33 desktop=2 desktoprule=3 Forgot to mention: using X11, same behaviour in Wayland but signal/slot architecture: connect(KWindowSystem::self(), &KWindowSystem::windowAdded, this, &KStart::windowAdded); but KStart::windowAdded(WId w) is never called. The command is also ignoring '--alldesktops' argument. KDE Plasma Version: 5.24.4 KDE Frameworks Version: 5.94.0 Qt Version: 5.15.3 Graphics Platform: X11 Bug still present. Until it's fixed, does anybody know a workaround for this bug? (In reply to S. Christian Collins from comment #5) > Until it's fixed, does anybody know a workaround for this bug? I just use a & after the kstart5 command in my scripts. It lets the kstart process running, but otherwise it works. (In reply to Erwan David from comment #6) > (In reply to S. Christian Collins from comment #5) > > Until it's fixed, does anybody know a workaround for this bug? > > I just use a & after the kstart5 command in my scripts. It lets the kstart > process running, but otherwise it works. Sorry I answered for the wrong bug... For this one, I use wmctrl after kstart. The touchy part is that you must wait long enough for the window to have appeared Thanks Erwan, I was able to make this work with wmctrl. However, it only works when using xorg. Does anybody know a workaround that works in Wayland? I don't know if this is the same bug or not, but the --alldesktops option seems to be ignored as well. OS: Debian Bookworm KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 6.1.0-10-amd64 Graphics Platform: X11 Bug is still present. I use wmctrl as a workaround on X11, but there is no equivalent tool on wayland. This makes wayland a very painful option for me so I'll stay with X11 Operating System: Debian GNU/Linux 12 KDE Plasma Version: 5.27.8 KDE Frameworks Version: 5.107.0 Qt Version: 5.15.10 Kernel Version: 6.5.0-1-amd64 (64-bit) Graphics Platform: X11 |