Bug 481576 - redundant numbers next to virtual desktops in the window context menu
Summary: redundant numbers next to virtual desktops in the window context menu
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (other bugs)
Version First Reported In: 5.93.0
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
: 376731 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-02-20 11:20 UTC by Mariusz Libera
Modified: 2024-06-12 16:54 UTC (History)
3 users (show)

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


Attachments
screenshot (240.59 KB, image/png)
2024-02-20 11:20 UTC, Mariusz Libera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mariusz Libera 2024-02-20 11:20:15 UTC
Created attachment 165953 [details]
screenshot

OBSERVED RESULT
right click the title bar and you have 'move to 1 desktop 1'

EXPECTED RESULT
'move to desktop 1' or if the desktop has no name 'move to 1'

Operating System: Arch Linux 
KDE Plasma Version: 5.93.0
KDE Frameworks Version: 5.249.0
Qt Version: 6.7.0
Kernel Version: 6.7.5-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 6800H with Radeon Graphics
Memory: 14.8 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 82RE
System Version: Legion 5 15ARH7
Comment 1 Zamundaaa 2024-02-20 16:17:18 UTC
Oh, I should've looked at the screenshot before moving this. We have this problem in the plasmashell context menu, and in the KWin window menu too
Comment 2 Bug Janitor Service 2024-02-20 16:24:17 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5243
Comment 3 Bug Janitor Service 2024-02-20 16:30:18 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2058
Comment 4 Vlad Zahorodnii 2024-02-21 09:18:23 UTC
Git commit 0bd65de375ac3973824e258c174b65a7a679543f by Vlad Zahorodnii, on behalf of Xaver Hugl.
Committed on 21/02/2024 at 09:07.
Pushed by vladz into branch 'master'.

useractions: remove legacy virtual desktop number from the menu

In almost all cases it's duplicated in the name, and if the user manually
changes the name, the custom name should be shown without additional numbers

M  +1    -9    src/useractions.cpp

https://invent.kde.org/plasma/kwin/-/commit/0bd65de375ac3973824e258c174b65a7a679543f
Comment 5 Vlad Zahorodnii 2024-02-21 09:19:49 UTC
Git commit 49eaa48b6fb401b205cf395f8aa25fa067796245 by Vlad Zahorodnii, on behalf of Xaver Hugl.
Committed on 21/02/2024 at 09:08.
Pushed by vladz into branch 'master'.

applets/taskmanager: don't show the virtual desktop number next to the VD name

In almost all cases it's duplicated in the name, and if the user manually
changes the name, the custom name should be shown without additional numbers

M  +1    -1    applets/taskmanager/package/contents/ui/ContextMenu.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/49eaa48b6fb401b205cf395f8aa25fa067796245
Comment 6 Bug Janitor Service 2024-02-21 09:19:50 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5253
Comment 7 Vlad Zahorodnii 2024-02-21 09:34:22 UTC
Git commit 87309eff61c52686d0850d114f978333736980cc by Vlad Zahorodnii, on behalf of Xaver Hugl.
Committed on 21/02/2024 at 09:20.
Pushed by vladz into branch 'Plasma/6.0'.

applets/taskmanager: don't show the virtual desktop number next to the VD name

In almost all cases it's duplicated in the name, and if the user manually
changes the name, the custom name should be shown without additional numbers


(cherry picked from commit 49eaa48b6fb401b205cf395f8aa25fa067796245)

M  +1    -1    applets/taskmanager/package/contents/ui/ContextMenu.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/87309eff61c52686d0850d114f978333736980cc
Comment 8 Vlad Zahorodnii 2024-02-21 09:44:12 UTC
Git commit 09e42435137627e1756968b37427bfdd52255293 by Vlad Zahorodnii, on behalf of Xaver Hugl.
Committed on 21/02/2024 at 09:19.
Pushed by vladz into branch 'Plasma/6.0'.

useractions: remove legacy virtual desktop number from the menu

In almost all cases it's duplicated in the name, and if the user manually
changes the name, the custom name should be shown without additional numbers


(cherry picked from commit 0bd65de375ac3973824e258c174b65a7a679543f)

M  +1    -9    src/useractions.cpp

https://invent.kde.org/plasma/kwin/-/commit/09e42435137627e1756968b37427bfdd52255293
Comment 9 Zamundaaa 2024-06-12 16:54:02 UTC
*** Bug 376731 has been marked as a duplicate of this bug. ***