Bug 449801 - Option to align virtual desktops in Overview vertically
Summary: Option to align virtual desktops in Overview vertically
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-overview (show other bugs)
Version: 5.24.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-08 17:35 UTC by shenlebantongying
Modified: 2023-09-25 11:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shenlebantongying 2022-02-08 17:35:13 UTC
The virtual desktops switcher in the overview introduced in 5.24 can only be displayed horizontally.
https://invent.kde.org/plasma/kwin/-/merge_requests/1388

Rational:

* When people use a vertical taskbar, their vertical desktop tends to have more rows (vertically) instead of more columns (horizontally). Displaying desktops horizontally at the top doesn't make sense for them.

* Modern computer screen tends to be wide (which is also why people choose vertical taskbar), stacking virtual-desktop-switcher, applications windows and search make all of them very small and you cannot see clearly what's inside a virtual desktop unless you have a giant screen. 

Aligning virtual desktops to the left or right margin can make it to be larger and clearer, while at the same time doesn't sacrifice anything.

* If a user sets right/left edges to open overview, they have to move the cursor to the top. Image a user can just move the cursor to the right edge, then the virtual desktops show up around his cursor.

Prior Art:

GNOME 3's virtual desktop switcher is vertical.

Expected:

Add an option to move the virtual desktop switcher on overview to left/right/bottom or top. Please check GNOME3's vertical virtual desktop switcher to get a mental picture.
Comment 1 Niccolò Venerandi 2023-09-25 11:15:06 UTC
Git commit 028dd552cfb9d826b40b9620d869c98d2aa3dca3 by Niccolò Venerandi.
Committed on 25/09/2023 at 13:14.
Pushed by niccolove into branch 'master'.

Merge desktop grid and overview together with a new three-state design

Merges the desktop grid and overview effects together in a new three-state one;
you can switch between them with a certain shortcut or gesture, and you can also
still access either the desktop grid or overview directly.

Default shortcuts are also updated to be Meta+G for Grid, Meta+W for Overview,
Meta+Tab to switch between the three states and Meta+Shift+Tab to cycle in the
opposite direction.
Related: bug 474044, bug 460661, bug 460774, bug 456572, bug 449601, bug 450262, bug 461510, bug 463886, bug 459754, bug 459749, bug 459748, bug 459467
FIXED-IN: 6.0

M  +2    -0    CMakeLists.txt
A  +7    -0    kconf_update/CMakeLists.txt
A  +20   -0    kconf_update/kwin-6.0-overview-activities-shortcuts.py
A  +11   -0    kconf_update/kwin.upd
M  +16   -3    src/libkwineffects/effecttogglablestate.cpp
M  +3    -1    src/libkwineffects/effecttogglablestate.h
M  +0    -1    src/plugins/CMakeLists.txt
D  +0    -49   src/plugins/desktopgrid/CMakeLists.txt
D  +0    -127  src/plugins/desktopgrid/desktopgrid_config.cpp
D  +0    -48   src/plugins/desktopgrid/desktopgrid_config.h
D  +0    -206  src/plugins/desktopgrid/desktopgrid_config.ui
D  +0    -32   src/plugins/desktopgrid/desktopgridconfig.kcfg
D  +0    -9    src/plugins/desktopgrid/desktopgridconfig.kcfgc
D  +0    -250  src/plugins/desktopgrid/desktopgrideffect.cpp
D  +0    -99   src/plugins/desktopgrid/desktopgrideffect.h
D  +0    -18   src/plugins/desktopgrid/main.cpp
D  +0    -92   src/plugins/desktopgrid/metadata.json
D  +0    -306  src/plugins/desktopgrid/qml/DesktopView.qml
D  +0    -328  src/plugins/desktopgrid/qml/main.qml
M  +27   -6    src/plugins/overview/kcm/overvieweffectkcm.cpp
M  +15   -1    src/plugins/overview/kcm/overvieweffectkcm.ui
M  +3    -0    src/plugins/overview/overviewconfig.kcfg
M  +229  -24   src/plugins/overview/overvieweffect.cpp
M  +37   -16   src/plugins/overview/overvieweffect.h
M  +44   -36   src/plugins/overview/qml/DesktopBar.qml
M  +541  -193  src/plugins/overview/qml/main.qml
M  +24   -18   src/plugins/private/qml/WindowHeapDelegate.qml
M  +1    -0    src/plugins/windowview/qml/main.qml
M  +0    -2    src/plugins/windowview/windowvieweffect.cpp

https://invent.kde.org/plasma/kwin/-/commit/028dd552cfb9d826b40b9620d869c98d2aa3dca3