wingpanel icon indicating copy to clipboard operation
wingpanel copied to clipboard

wingpanel does not extend fully to the edges on wayland

Open fidelisakilan opened this issue 11 months ago • 1 comments

What Happened?

Whenever I'm running in wayland on 200% scaling, the panel doesn't stretch fully to the edges

I'm running NixOS 25.05 with the Pantheon desktop environment.

services.xserver.enable = true;
services.xserver.desktopManager.pantheon.enable = true;

Image

Image

Steps to Reproduce

  1. Enabled secure session in lightdm gear icon in lockscreen
  2. After login, desktop wingpanel elements are not aligned to the edges

Expected Behavior

It should wingpanel widgets should be aligned to the edges

OS Version

Other Linux

Session Type

Secure Session (Wayland)

Software Version

Latest release (I have run all updates)

Log Output


Hardware Info

No response

fidelisakilan avatar Feb 19 '25 23:02 fidelisakilan

@lenemter I started looking this since I plan to drop X11 session in NixOS very soon. I believe my case is not a duplicate of https://github.com/elementary/gala/issues/2505 since I cannot reproduce this under 1x scale and also cannot reproduce this in x11 session.

It looks like after removing exactly the following line the width looks correct to me (though this is probably not a proper fix, I don't believe we only need to scale height but not width...):

https://github.com/elementary/wingpanel/blob/1bc8ab6b1df1c9e7ad44fbffa8cc1fd4abd07706/src/PanelWindow.vala#L106

screenshot

bobby285271 avatar Sep 14 '25 05:09 bobby285271