Bug 385862 - Introduce standard shortcuts for switching desktops and moving windows in a certain direction
Summary: Introduce standard shortcuts for switching desktops and moving windows in a c...
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2017-10-17 14:30 UTC by Gerhard Dittes
Modified: 2021-10-23 17:06 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerhard Dittes 2017-10-17 14:30:50 UTC
Hi,

inspired by (and very happy about) the release of "KDE Frameworks 5.37.0" introducing new standard shortcuts for "previous/next tab", I would like to propose the following "standard shortcuts", too:

1.
Switch One Desktop to the Left/Right/Up/Down > Ctrl+Alt+Left/Right/Up/Down

2.
Window One Desktop to the Left/Right/Up/Down > Shift+Ctrl+Alt+Left/Right/Up/Down

Reason:

Many other desktop environments (and also window managers) use the same shortcuts to achieve these actions.

Therefore, new users would feel more at home when trying out Plasma the first time. Long-established users would benefit, too, because the do not need to setup (non-existing) shortcuts any more (when e.g. installing Plasma on a new machine).

Please consider ... thanks a lot for your great work & regards,

Gerhard
Comment 1 Nate Graham 2017-10-17 15:50:19 UTC
Unfortunately these shortcuts conflict with existing shortcuts in Yakuake and KEdit/Kate/K-anything-using-the-KTextEditor-class. You can see for yourself with https://lxr.kde.org/search?_filestring=&_string=CTRL.*ALT.*Up

Personally I'm always in favor of changing default shortcuts if the change results in something better and more consistent overall (IMHO of course) but many KDE developers are understandably much more conservative in this matter. You'll need to make a pretty strong case to convince them.
Comment 2 Gerhard Dittes 2018-03-16 10:01:09 UTC
Hi, @Nate, thanks for your comment. It's a pity...

Especially for the particular "KDE programs" using these shortcuts...

Because this means that if anyone uses such a program on (nearly any) other desktop, the shortcuts are *not going to work*, because the window manager in place usually gets precedence!

(Is this case strong enough? ;-) )

AFAIKS, there is only a small number of programs using those (defacto standard) shortcuts.  Therefore, I still think it would be worth trying to enforce sane default shortcuts for the desktop.

Regards, Gerhard
Comment 3 Nate Graham 2018-03-16 14:32:40 UTC
I'm with you, and am currently attempting to change somr shortcuts to expose window tiling by default. See https://phabricator.kde.org/D11377

I'll see if I can make the case.
Comment 4 Gerhard Dittes 2018-04-10 12:10:18 UTC
Hi Nate,

you're my personal hero! ;-)

I also have been missing (sane) default shortcuts for "window tiling" for a long time. (But my intention was first to wait til my wishes above will get fulfilled, before going to address this one.)

I really appreciate the proposal for the "window tiling" shortcuts -- it reminds me strongly of the Cinnamon desktop. Regarding this, I think that the Linux-Mint creators did a great job with Cinnamon.

I'm addicted to the the Plasma desktop, but the Cinnamon guys really did/do great defaults ... helping new/switching users (because when designing keyboard shortcuts, they oriented themselves by other existing desktops).

Thx & regards, Gerhard
Comment 5 Nate Graham 2018-04-10 14:27:30 UTC
Glad you're happy. :) I agree on the subject of Cinnamon: it's a towering edifice of good defaults. I aspire to help KDE Plasma reach that same level.
Comment 6 Nate Graham 2020-01-13 17:01:11 UTC
Default shortcuts for switching between virtual desktops were just added in https://cgit.kde.org/kwin.git/commit/?id=3bc10be3bba3558c80287a86969eada5b88d09a0.
Comment 7 Gerhard Dittes 2020-02-29 16:42:22 UTC
Yeah, thanks! :-)
Comment 8 David Edmundson 2020-02-29 22:30:18 UTC
With that done moving is the same as 418015

There is a wider task about shortcuts https://phabricator.kde.org/T11520

I don't think this bug brings anything else.
Comment 9 Loucura 2021-10-23 17:06:21 UTC
The default shortcuts could be "Meta+Ctrl+<Arrow key>" to switch desktops, and "Meta+Ctrl+Shift+<Arrow key>" to move windows to another desktop.

Looking at KDE Neon, "Meta+Ctrl+Shift+<Arrow key>" shortcuts are already assigned by default and enabled.
"Meta+Ctrl+<Arrow key>" are also assigned by default, but not enabled, however. It would be nice if they were enabled by default.