https://bugs.kde.org/show_bug.cgi?id=459961

            Bug ID: 459961
           Summary: Improve "move to activity" feature.
    Classification: Plasma
           Product: kactivitymanagerd
           Version: 5.25.5
          Platform: Other
                OS: All
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: general
          Assignee: ivan.cu...@kde.org
          Reporter: avalonva...@protonmail.com
                CC: plasma-b...@kde.org
  Target Milestone: ---

SUMMARY
Currently, there is only one way to move a specific window to an activity,
which is through selecting the relevant window by right clicking it in the task
manager, and hovering over "Show in Activities" (https://imgur.com/a/Xv1FlnF).
If there are other methods, they're not documented (see
https://bugs.kde.org/show_bug.cgi?id=459959).

To be clear, I'm not talking about assigning a specific application to an
activity so it launches there by default, I'm talking about moving it to
another activity on demand.

What is visually and practically inconsistent is that currently the "Show in
Activities" menu can also be accessed by right clicking the window titlebar,
however the "Move to x" option is not present there
(https://imgur.com/a/pWn7gpl). While you could manually select each activity to
show it in, that's much more of a chore than simply clicking "Move to...",
because you'd also have to uncheck the activity it is currently in. So I'm
requesting that the "Move to" option be added to the titlebar as well.

Secondly, and perhaps this could be it's own issue, it would be nice to expose
a dedicated shortcut to automate this process, as it's a frequent window
operation if you actually make use of activities often. Currently the
workaround for this would look something like this:

xprop -f _KDE_NET_WM_ACTIVITIES 8s -id $(xdotool getwindowfocus) -set
_KDE_NET_WM_ACTIVITIES $(kactivities-cli --list-activities|grep [replace with
activity name]|cut -d" " -f2

But hopefully you can see why this implementation is really messy (you can send
your desktop to the shadow realm if you're not careful). Since "move to
activity" already exists, I presume there's already a Dbus command that
automates this action with greater elegance, however having scoured the
internet for hours, I'm fairly sure it is not documented anywhere a user would
expect it to (the documentation for this feature is lacking in general).
Exposing that command with an optional keyboard shortcut is much cleaner, and
is consistent with the other shortcuts available for similar window actions,
such as "quick tile" for example, which moves a window to a predefined
location.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.19.11
(available in About System)
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to