Bug 482366 - "Duplicated" move to center shortcut after upgrade
Summary: "Duplicated" move to center shortcut after upgrade
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 6.0.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-04 10:26 UTC by Gurenko Alex
Modified: 2024-03-05 23:39 UTC (History)
2 users (show)

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


Attachments
Shortcuts configuration that works (132.00 KB, image/png)
2024-03-04 10:26 UTC, Gurenko Alex
Details
kglobalshortcutsrc (14.35 KB, text/plain)
2024-03-04 10:37 UTC, Gurenko Alex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gurenko Alex 2024-03-04 10:26:38 UTC
Created attachment 166386 [details]
Shortcuts configuration that works

On a system that was upgraded from Plasma 5.27.10, where Move window to Center shortcut set to Meta + C, after upgrade the shortcut does not work. In Shortcut settings there is an old option "Move window to center" and "Move window to the center". That latter is new and is working.

STEPS TO REPRODUCE
1. Install Plasma 5.27.10
2. Configure Shortcut Move window to Center
3. Upgrade to Plasma 6.0.0

OBSERVED RESULT

Old short cut does not work. Two similar shortcuts available present in the Shortcuts. Old one is still configured and does not work.

EXPECTED RESULT

Old shortcut is mapped to a new one upon upgrade. Only single shortcut is present in Shortcuts.

SOFTWARE/OS VERSIONS

Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.0
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.0-0.rc6.49.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XTX
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7C84
System Version: 1.0

ADDITIONAL INFORMATION

This does not happen if system didn't have old shortcut configured.
Comment 1 Nicolas Fella 2024-03-04 10:35:03 UTC
Can you please attach your .config/kglobalshortcutsrc ?
Comment 2 Gurenko Alex 2024-03-04 10:37:45 UTC
Created attachment 166390 [details]
kglobalshortcutsrc

There you go
Comment 3 Nicolas Fella 2024-03-04 10:53:49 UTC
Thanks.

"Move Window to the Center" was introduced in Plasma 5.24 (https://invent.kde.org/plasma/kwin/-/merge_requests/1409)

As far as I can tell "Move Window to Center" is not an upstream thing. Do you have a third-party KWin script that added this?
Comment 4 Gurenko Alex 2024-03-04 11:24:17 UTC
Oooh, indeed, I used to have that script, but during the upgrade it got removed (at least I don't see it's listed anymore in kwin scripts list), but the records remains I guess.
Comment 5 Nate Graham 2024-03-05 19:18:19 UTC
Sounds like it, yeah. Not totally sure this is worth improving as it's quite an edge case.
Comment 6 Gurenko Alex 2024-03-05 23:24:53 UTC
(In reply to Nate Graham from comment #5)
> Sounds like it, yeah. Not totally sure this is worth improving as it's quite
> an edge case.

I guess it can be closed now when the root cause is known.