Bug 434621 - Selection of activities over window menu closes upon change
Summary: Selection of activities over window menu closes upon change
Status: RESOLVED DUPLICATE of bug 430440
Alias: None
Product: kwin
Classification: Plasma
Component: activities (show other bugs)
Version: 5.21.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-19 12:44 UTC by Christian Wolf
Modified: 2021-10-16 07:45 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Wolf 2021-03-19 12:44:08 UTC
When opening the window properties (Alt+F3) there is a list of all opened activities with a checkbox in front of each entry. Once any entry is selected the complete menu is hidden avoiding and further edits.

STEPS TO REPRODUCE
1. Have two activities A and B and a window only on A
2. Open the window menu and move to the activities on which to show the window
3. Click on B

OBSERVED RESULT

The menu hides directly. When looking, the window is now on both A and B (potentially "show in all"). This happens if I click on the text part of the menu entry ("B"), the checkbox or if I use the keyboard to select the menu entry.

When shown on all activities no checkbox is selected but the radio button next to "all activities".

EXPECTED RESULT

At least when clicking on the checkbox and using the keyboard I expect the menu to keep open.

It might be ok if the set of selected activities is first collected (not directly applied) until the menu loses focus. The user can individually select the desired activities for a selected window. After everything is set up as desired, the user can click somewhere else and the menu will hide and kwin can apply the changes.
That way, the window will not vanish from the current activity when one accidentally disables the current activity.

When shown on all activities the checkboxes should be all selected (just for visual representation). This will help when enabling/disabling individual activities (see above).

I am asking for this feature to simplify moving windows between activities: when moving the window from A to B (exclusively), I have to add the window to B first as in the steps above, then redo steps 2+3 to remove activity A from the list.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Default Archlinux package
(available in About System)
KDE Plasma Version: 5.21.1
KDE Frameworks Version: 5.790
Qt Version: 5.15.2

ADDITIONAL INFORMATION

Sorry, I am using a localized setting so the names might be off but I think you get the main point.

This might be related with https://bugs.kde.org/show_bug.cgi?id=411688
Comment 1 Gauthier 2021-10-16 07:44:52 UTC
This specific use case is now solved with : https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/231

Scheduled for Plasma 5.24 (sad it got missed for 5.23).

However the issue is not solved when one wants to select more than one activity.

I'll make this a duplicate of Bug 430440 which original talks about the same use case as this one but then highlight the wider issue.
Comment 2 Gauthier 2021-10-16 07:45:09 UTC

*** This bug has been marked as a duplicate of bug 430440 ***