Bug 478137 - Desktop grid is not available as an option for screen edges/corners
Summary: Desktop grid is not available as an option for screen edges/corners
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-desktop-grid (show other bugs)
Version: master
Platform: Compiled Sources Linux
: HI wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
: 482235 482284 482641 484624 486849 486999 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-12-06 01:27 UTC by Prajna Sariputra
Modified: 2024-05-23 12:32 UTC (History)
9 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Prajna Sariputra 2023-12-06 01:27:54 UTC
SUMMARY
Currently, the desktop grid is not available as a possible action/effect to trigger when touching a screen edge or corner. In Plasma 5.27 this wasn't a big deal since the overview effect is in the list and allows moving windows between desktops as well as switching to desktops, but with Plasma 6 the overview effect is far less useful for people with more than one row and column of desktops (being effectively equivalent to present desktops in that case). As per bug 477942 the desktop grid effect is explicitly recommended too for those with such virtual desktop setups.

A mitigating factor is that it's still possible to access the grid by triggering the edge/corner twice if the overview is enabled for those, but having to flick the cursor twice seems like a problem when it comes to avoiding carpal tunnel syndrome and the like.


STEPS TO REPRODUCE
1. Open the screen edges KCM
2. Try to assign the desktop grid to one of the screen edges or corners

OBSERVED RESULT
The desktop grid is not present as one of the options.

EXPECTED RESULT
The desktop grid can be selected for the edge/corner.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1
Kernel Version: 6.6.3-arch1-1 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
The list of options for each screen edge/corner is getting rather unwieldy, so maybe adding yet another option to it isn't a good idea without redesigning it somehow.
Comment 1 Prajna Sariputra 2023-12-06 01:29:20 UTC
*being effectively equivalent to present windows
Comment 2 Bug Janitor Service 2024-02-26 09:47:31 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5298
Comment 3 Vlad Zahorodnii 2024-02-26 14:19:47 UTC
Git commit 4d6f6223bcdbb0e5fbe65cff47c72d444b532372 by Vlad Zahorodnii.
Committed on 26/02/2024 at 14:12.
Pushed by vladz into branch 'master'.

plugins/overview: Provide a way to reserve a screen edge for grid mode

M  +3    -5    src/kcms/screenedges/kwinscreenedgesettings.kcfg
M  +3    -0    src/kcms/screenedges/kwintouchscreensettings.kcfg
M  +7    -1    src/kcms/screenedges/main.cpp
M  +1    -0    src/kcms/screenedges/main.h
M  +7    -1    src/kcms/screenedges/touch.cpp
M  +1    -0    src/kcms/screenedges/touch.h
M  +2    -0    src/plugins/overview/overviewconfig.kcfg
M  +15   -0    src/plugins/overview/overvieweffect.cpp
M  +2    -0    src/plugins/overview/overvieweffect.h

https://invent.kde.org/plasma/kwin/-/commit/4d6f6223bcdbb0e5fbe65cff47c72d444b532372
Comment 4 fanzhuyifan 2024-03-02 19:10:28 UTC
*** Bug 482235 has been marked as a duplicate of this bug. ***
Comment 5 Nicolas Fella 2024-03-03 10:53:51 UTC
*** Bug 482284 has been marked as a duplicate of this bug. ***
Comment 6 Vlad Zahorodnii 2024-03-07 13:35:54 UTC
*** Bug 482641 has been marked as a duplicate of this bug. ***
Comment 7 Rohitt Vashishtha 2024-03-18 08:14:00 UTC
Hey, I wanna bring to your attention that this fix was merged in the master branch but hasn't been cherry-picked onto the Plasma/6.0 branch, from which the 6.0.1 and 6.0.2 releases were made.

I'm reopening this one since there needs to be a cherry-picking process for the commit 4d6f6223bcdbb0e5fbe65cff47c72d444b532372 onto Plasma/6.0 to properly call it merged.

I checked nearby commits and most of them are on both master and Plasma/6.0, so I'm assuming that was the desired end result but this (and maybe some other commits) fell through the cracks.
Comment 8 Vlad Zahorodnii 2024-03-18 09:46:20 UTC
That commit cannot be backported to 6.0 because it contains string changes.
Comment 9 fanzhuyifan 2024-03-27 22:56:39 UTC
*** Bug 484624 has been marked as a duplicate of this bug. ***
Comment 10 Zamundaaa 2024-05-10 19:43:07 UTC
*** Bug 486849 has been marked as a duplicate of this bug. ***
Comment 11 Zamundaaa 2024-05-23 12:32:41 UTC
*** Bug 486999 has been marked as a duplicate of this bug. ***