Bug 481023

Summary: virtual desktops not evenly distributed into rows
Product: [Plasma] kwin Reporter: fanzhuyifan
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: ASSIGNED ---    
Severity: minor CC: kde, nate, orkenwhite
Priority: NOR Keywords: qt6
Version First Reported In: 5.93.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description fanzhuyifan 2024-02-07 17:54:24 UTC
STEPS TO REPRODUCE
1. create 10 virtual desktops in 3 rows


OBSERVED RESULT
See a 4-4-2 pattern

EXPECTED RESULT
4-3-3 pattern

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 6.0.0
Qt Version: 6.7.0
Kernel Version: 6.7.4-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 20 × 13th Gen Intel® Core™ i9-13900H
Memory: 15.2 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: ROG Zephyrus G16 GU603VV_GU603VV
System Version: 1.0

ADDITIONAL INFORMATION
Comment 1 fanzhuyifan 2024-02-07 18:05:00 UTC
Implemented in kwin/src/virtualdesktops.cpp
Comment 2 orkenwhite 2024-02-28 15:29:33 UTC
Can reproduce.
Comment 3 Bug Janitor Service 2024-02-28 15:55:12 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5324