Bug 477939 - On Wayland, center-aligned panels cause left/right/top/bottom aligned panels sharing the same edge to not touch that edge
Summary: On Wayland, center-aligned panels cause left/right/top/bottom aligned panels ...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 6.0.5
Platform: Arch Linux Linux
: HI normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6, wayland
: 478176 479757 481749 482212 482781 483126 486518 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-12-02 20:14 UTC by 1uui022st
Modified: 2024-05-31 14:43 UTC (History)
24 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Image showing behaviour of panels (67.12 KB, image/png)
2023-12-02 20:14 UTC, 1uui022st
Details
Panel mis-alignment with 6.0.0 build (2.07 MB, image/png)
2024-03-06 05:12 UTC, John 'JT' Lamb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description 1uui022st 2023-12-02 20:14:48 UTC
Created attachment 163781 [details]
Image showing behaviour of panels

STEPS TO REPRODUCE
1. Create multiple panels on the same side of the screen 
2. Limit the panels to occupy a specific area, in that they don't overlap

OBSERVED RESULT
Second panel begins at the highest point of the first panel

EXPECTED RESULT
Both panels start at the same height, e.g. at the bottom of the screen

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version:  5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1

ADDITIONAL INFORMATION
The issue does not appear in the X11 session.
Comment 1 1uui022st 2023-12-03 01:36:04 UTC
The issue seems to specifically affect the default panel in conjunction with others, or perhaps just a panel created before 5.90.0. I created 2 new panels and the issue no longer appears.
Comment 2 Nate Graham 2023-12-05 20:21:40 UTC
I'm guessing one panel is center-aligned and the other one (the one that appears at the wrong height) is left or right-aligned, correct? I can reproduce that.
Comment 3 Niccolò Venerandi 2023-12-06 23:15:04 UTC
*** Bug 478176 has been marked as a duplicate of this bug. ***
Comment 4 fanzhuyifan 2024-01-14 17:10:21 UTC
*** Bug 479757 has been marked as a duplicate of this bug. ***
Comment 5 fanzhuyifan 2024-02-24 16:37:59 UTC
*** Bug 481749 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2024-03-04 20:31:00 UTC
*** Bug 482212 has been marked as a duplicate of this bug. ***
Comment 7 John 'JT' Lamb 2024-03-06 05:08:44 UTC
(In reply to Nate Graham from comment #2)
> I'm guessing one panel is center-aligned and the other one (the one that
> appears at the wrong height) is left or right-aligned, correct? I can
> reproduce that.

Correct.  I'm on the Artix testing 6.0.0 builds, and it's still occurring with a default panel and any others added after are out of alignment.
Comment 8 John 'JT' Lamb 2024-03-06 05:12:49 UTC
Created attachment 166463 [details]
Panel mis-alignment with 6.0.0 build
Comment 9 KBTRA 2024-03-07 10:58:36 UTC
I also can reproduce this bug, but I don't need to have a center aligned panel. I am currently on KDE neon user edition with plasma 6.0.0 and I can replicate this bug even creating two empty panels one left aligned and one right aligned.
Comment 10 leob94mt 2024-03-07 11:06:42 UTC
I can replicate this bug as well. 
Operating System: Arch Linux 
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.8-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5625U with Radeon Graphics
Memory: 14.5 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Comment 11 Lucas M 2024-03-07 12:39:03 UTC
Same problem here. Additionally, with multiple screens, moving the panel to another monitor and then back fixes the issue until reboot. After that, the panel shows up on a different screen, while in configuration it still says it is on the screen its supposed to be on.

Operating System: Garuda Linux 
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.8-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 6650 XT
Comment 12 Paulo Bittencourt 2024-03-07 15:14:30 UTC
I have the same issue. It also happens even if the first panel is not center-aligned, and on all four edges of the screen.

Operating System: EndeavourOS 
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.8-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700X 8-Core Processor
Memory: 31,3 GiB of RAM
Graphics Processor: AMD Radeon RX 6700 XT
Product Name: X570 Phantom Gaming 4
Comment 13 Jonas Verhofsté 2024-03-07 23:28:30 UTC
*** Bug 482781 has been marked as a duplicate of this bug. ***
Comment 14 fanzhuyifan 2024-03-10 20:52:42 UTC
*** Bug 483126 has been marked as a duplicate of this bug. ***
Comment 15 Edip 2024-04-12 07:54:48 UTC
Any news? its been more than a month
Comment 16 John 'JT' Lamb 2024-04-22 07:21:40 UTC
CPU: 16-core AMD Ryzen 9 5950X (-MT MCP-) speed/min/max: 2481/2200/5980 MHz
Kernel: 6.8.7-artix1-1 x86_64 Up: 7m Mem: 5.42/62.7 GiB (8.6%)
Storage: 5.05 TiB (20.5% used) Procs: 528 Shell: Bash inxi: 3.3.34
[john@quokka ~]$ inxi -F
System:
  Host: quokka Kernel: 6.8.7-artix1-1 arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 6.0.4 Distro: Artix Linux
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: TUF GAMING X570-PRO (WI-FI) v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 4602
    date: 02/23/2023
CPU:
  Info: 16-core model: AMD Ryzen 9 5950X bits: 64 type: MT MCP cache:
    L2: 8 MiB
  Speed (MHz): avg: 2537 min/max: 2200/5980 cores: 1: 2200 2: 4000 3: 2200
    4: 2200 5: 2200 6: 2200 7: 2200 8: 2200 9: 4000 10: 2200 11: 2200 12: 2200
    13: 2200 14: 2200 15: 2200 16: 2200 17: 4000 18: 4000 19: 2200 20: 2200
    21: 3998 22: 2200 23: 2200 24: 2200 25: 2200 26: 2200 27: 2200 28: 2200
    29: 2200 30: 2200 31: 2200 32: 4000
Graphics:
  Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT]
    driver: amdgpu v: kernel
  Device-2: Logitech C922 Pro Stream Webcam driver: snd-usb-audio,uvcvideo
    type: USB
  Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 23.2.6
    compositor: kwin_wayland driver: X: loaded: amdgpu
    unloaded: modesetting,radeon failed: fbdev,vesa dri: radeonsi gpu: amdgpu
    resolution: 1: 1920x1080 2: 1920x1080
  API: EGL v: 1.5 drivers: radeonsi,swrast
    platforms: wayland,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.0.5-arch1.1
    renderer: AMD Radeon RX 6700 XT (radeonsi navi22 LLVM 17.0.6 DRM 3.57
    6.8.7-artix1-1)
  API: Vulkan v: 1.3.279 drivers: radv,llvmpipe surfaces: xcb,xlib,wayland
Audio:
  Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel
  Device-2: AMD Starship/Matisse HD Audio driver: snd_hda_intel
  Device-3: Logitech C922 Pro Stream Webcam driver: snd-usb-audio,uvcvideo
    type: USB
  API: ALSA v: k6.8.7-artix1-1 status: kernel-api
  Server-1: PulseAudio v: 17.0 status: active
Network:
  Device-1: Broadcom BCM4360 802.11ac Dual Band Wireless Network Adapter
    driver: wl
  IF: wlan0 state: up mac: b8:09:8a:44:8a:35
  Device-2: Intel Ethernet I225-V driver: igc
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: 04:42:1a:e7:72:ed
Bluetooth:
  Device-1: Apple Bluetooth Host Controller driver: btusb type: USB
  Report: rfkill ID: hci0 state: up address: see --recommends
Drives:
  Local Storage: total: 5.05 TiB used: 1.03 TiB (20.5%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 500GB size: 465.76 GiB
  ID-2: /dev/nvme1n1 model: AGAMMIXS70B-2T-CS size: 1.86 TiB
  ID-3: /dev/sda vendor: Seagate model: ST1000DM010-2EP102 size: 931.51 GiB
  ID-4: /dev/sdb vendor: Western Digital model: WD2003FZEX-00SRLA0
    size: 1.82 TiB
Partition:
  ID-1: / size: 425.39 GiB used: 36.18 GiB (8.5%) fs: ext4 dev: /dev/nvme0n1p3
  ID-2: /boot/efi size: 511 MiB used: 296 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /home size: 1.83 TiB used: 1021.91 GiB (54.5%) fs: ext4
    dev: /dev/nvme1n1p1
Swap:
  ID-1: swap-1 type: partition size: 32 GiB used: 0 KiB (0.0%)
    dev: /dev/nvme0n1p2
Sensors:
  System Temperatures: cpu: 40.8 C mobo: N/A gpu: amdgpu temp: 55.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Info:
  Memory: total: 64 GiB note: est. available: 62.7 GiB used: 5.4 GiB (8.6%)
  Processes: 528 Uptime: 7m Shell: Bash inxi: 3.3.34

Updated to Arch Linux's KDE 6.0.4 and this behavior is still occurring.
Comment 17 Travis Miller 2024-04-27 06:11:54 UTC
I can also reproduce this bug on OpenSUSE Tumbleweed, Plasma 6.0.4, Frameworks 6.1.0, Wayland session.

It only seems to occur when the 'Always Visible' option is set for at least one panel. If both panels use any other setting (Auto-Hide, Dodge Windows, or Windows Go Below) the bug does not occur outside of edit mode, even if both panels are visible at once. In edit mode the panels are still offset, but that does not impact actual use. There is no difference in behavior when using the 'custom' width option vs 'fit content'.
Comment 18 Nate Graham 2024-05-03 18:50:21 UTC
*** Bug 486518 has been marked as a duplicate of this bug. ***
Comment 19 John 'JT' Lamb 2024-05-03 18:51:54 UTC
Quick update: this only occurs in a Wayland session.  In X11, it works as expected on the same build info below.


(In reply to John 'JT' Lamb from comment #16)
> CPU: 16-core AMD Ryzen 9 5950X (-MT MCP-) speed/min/max: 2481/2200/5980 MHz
> Kernel: 6.8.7-artix1-1 x86_64 Up: 7m Mem: 5.42/62.7 GiB (8.6%)
> Storage: 5.05 TiB (20.5% used) Procs: 528 Shell: Bash inxi: 3.3.34
> [john@quokka ~]$ inxi -F
> System:
>   Host: quokka Kernel: 6.8.7-artix1-1 arch: x86_64 bits: 64
>   Desktop: KDE Plasma v: 6.0.4 Distro: Artix Linux
> Machine:
>   Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
>   Mobo: ASUSTeK model: TUF GAMING X570-PRO (WI-FI) v: Rev X.0x
>     serial: <superuser required> UEFI: American Megatrends v: 4602
>     date: 02/23/2023
> CPU:
>   Info: 16-core model: AMD Ryzen 9 5950X bits: 64 type: MT MCP cache:
>     L2: 8 MiB
>   Speed (MHz): avg: 2537 min/max: 2200/5980 cores: 1: 2200 2: 4000 3: 2200
>     4: 2200 5: 2200 6: 2200 7: 2200 8: 2200 9: 4000 10: 2200 11: 2200 12:
> 2200
>     13: 2200 14: 2200 15: 2200 16: 2200 17: 4000 18: 4000 19: 2200 20: 2200
>     21: 3998 22: 2200 23: 2200 24: 2200 25: 2200 26: 2200 27: 2200 28: 2200
>     29: 2200 30: 2200 31: 2200 32: 4000
> Graphics:
>   Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT]
>     driver: amdgpu v: kernel
>   Device-2: Logitech C922 Pro Stream Webcam driver: snd-usb-audio,uvcvideo
>     type: USB
>   Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 23.2.6
>     compositor: kwin_wayland driver: X: loaded: amdgpu
>     unloaded: modesetting,radeon failed: fbdev,vesa dri: radeonsi gpu: amdgpu
>     resolution: 1: 1920x1080 2: 1920x1080
>   API: EGL v: 1.5 drivers: radeonsi,swrast
>     platforms: wayland,x11,surfaceless,device
>   API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.0.5-arch1.1
>     renderer: AMD Radeon RX 6700 XT (radeonsi navi22 LLVM 17.0.6 DRM 3.57
>     6.8.7-artix1-1)
>   API: Vulkan v: 1.3.279 drivers: radv,llvmpipe surfaces: xcb,xlib,wayland
> Audio:
>   Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel
>   Device-2: AMD Starship/Matisse HD Audio driver: snd_hda_intel
>   Device-3: Logitech C922 Pro Stream Webcam driver: snd-usb-audio,uvcvideo
>     type: USB
>   API: ALSA v: k6.8.7-artix1-1 status: kernel-api
>   Server-1: PulseAudio v: 17.0 status: active
> Network:
>   Device-1: Broadcom BCM4360 802.11ac Dual Band Wireless Network Adapter
>     driver: wl
>   IF: wlan0 state: up mac: b8:09:8a:44:8a:35
>   Device-2: Intel Ethernet I225-V driver: igc
>   IF: eth0 state: up speed: 1000 Mbps duplex: full mac: 04:42:1a:e7:72:ed
> Bluetooth:
>   Device-1: Apple Bluetooth Host Controller driver: btusb type: USB
>   Report: rfkill ID: hci0 state: up address: see --recommends
> Drives:
>   Local Storage: total: 5.05 TiB used: 1.03 TiB (20.5%)
>   ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 500GB size: 465.76 GiB
>   ID-2: /dev/nvme1n1 model: AGAMMIXS70B-2T-CS size: 1.86 TiB
>   ID-3: /dev/sda vendor: Seagate model: ST1000DM010-2EP102 size: 931.51 GiB
>   ID-4: /dev/sdb vendor: Western Digital model: WD2003FZEX-00SRLA0
>     size: 1.82 TiB
> Partition:
>   ID-1: / size: 425.39 GiB used: 36.18 GiB (8.5%) fs: ext4 dev:
> /dev/nvme0n1p3
>   ID-2: /boot/efi size: 511 MiB used: 296 KiB (0.1%) fs: vfat
>     dev: /dev/nvme0n1p1
>   ID-3: /home size: 1.83 TiB used: 1021.91 GiB (54.5%) fs: ext4
>     dev: /dev/nvme1n1p1
> Swap:
>   ID-1: swap-1 type: partition size: 32 GiB used: 0 KiB (0.0%)
>     dev: /dev/nvme0n1p2
> Sensors:
>   System Temperatures: cpu: 40.8 C mobo: N/A gpu: amdgpu temp: 55.0 C
>   Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
> Info:
>   Memory: total: 64 GiB note: est. available: 62.7 GiB used: 5.4 GiB (8.6%)
>   Processes: 528 Uptime: 7m Shell: Bash inxi: 3.3.34
> 
> Updated to Arch Linux's KDE 6.0.4 and this behavior is still occurring.
Comment 20 Nate Graham 2024-05-03 23:01:23 UTC
Indeed.
Comment 21 Ethan J 2024-05-14 21:23:40 UTC
I an am also experiencing the bug after release on Fedora 40.
Comment 22 George 2024-05-15 12:09:45 UTC
Same for me on Fedora 40 - Wayland - Nvidia.
Comment 23 Edip 2024-05-31 14:42:37 UTC
Just installed plasma 6.1 beta (6.0.90 Archlinux wayland) and the bug still exists