Bug 450343 - Titlebar Context Menu is missing option to move window to another activity
Summary: Titlebar Context Menu is missing option to move window to another activity
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: activities (other bugs)
Version First Reported In: 5.24.1
Platform: Kubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-15 20:44 UTC by brintal
Modified: 2023-08-08 00:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brintal 2022-02-15 20:44:39 UTC
SUMMARY
When clicking the titlebar of a window with the right mouse button, the context menu opens which allows to adjust the activities on which the window is displayed. 
Unfortunately there is no option to simply move the window to a different activity. (See https://imgur.com/pAEjTUF). In order to move the window, one has to select the checkbox next to the new activity which results in the contextmenu being closed. The context menu then has to be opened again and the checkbox next to the current activity deselected (as we want to MOVE the window and not display it on both activities).

In contrast, when right-clicking the task icon in the task manager bar, there is an option to simply move the window to one of the other activitites (see https://imgur.com/FD2G9wO).
The same option should be present when opening the window title context menu.


STEPS TO REPRODUCE
1. right click window title bar
2. hover over "Show in Activitites"

OBSERVED RESULT
Option "Move to [anotherActivity]" is NOT visible

EXPECTED RESULT
Option "Move to [anotherActivity]" should be visible

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 21.10
KDE Plasma Version: 5.24.1
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.13.0-28-generic (64-bit)
Graphics Platform: X11
Processors: 16 × 11th Gen Intel® Core™ i9-11950H @ 2.60GHz
Memory: 31,0 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Comment 1 brintal 2022-02-15 21:03:08 UTC
Apparently this feature (in the task bar) was recently added: https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/231
The author briefly discussed also adding it to the kwin context menu but that didn't happen yet as it seems. 
Still I think those menus should behave consistent with each other.
Comment 2 joelsonejr 2023-08-08 00:33:58 UTC
If the desired window is using the system provided title bar, the menu to move to another activity is showing up correctly. 
Tested the issue, but no error was found. 

The system utilizes for testing  was:

OS: Manjaro Linux x86_64
Kernel: 6.1.41-1-MANJARO
Shell: zsh 5.9
Resolution: 2560x1440, 1920x1080
DE: Plasma 5.27.6
WM: KWin
WM Theme: Oxygen
Theme: [Plasma], Adwaita-dark [GTK2/3]
CPU: Intel i7 4790H
GPU: AMD ATI Radeon 6600
Memory: 32043MiB