You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Frameless window on Wayland has a white line on top #51457
Hi @YUCLing! Hmm, I can no longer reproduce the issue on 43.0.0-beta.4 or 42.4.1, but I can easily do so on previous versions with your exact settings (KDE, 130% scale). Does it happen at any other DPI scales? Can you try on 42.4.1 and a 44 nightly?
Ah, I can repro in beta 4 by switching to the Breeze Light KDE theme. (To confirm try setting your theme to Breeze Dark and then launching the app -- you should no longer see the line.)
So this is a different white line from before: this is the edge of the frame (which takes on the colours from the system theme), not the root view. This is a tricky problem to solve at fractional scales since there is no way to force all these rectangles to line up exactly, but I will explore some more options.
So this is a different white line from before: this is the edge of the frame (which takes on the colours from the system theme), not the root view.
Yes, I think that's the case, thanks for your testing! I switched to Breeze Black then I can barely see the line. But if I change the color of the body background, I can see it clearly as a black line.
Activity
mitchchn commentedon May 2, 2026
@aiddya FWIW I can also repro this in #51161.
mitchchn commentedon May 2, 2026
Thanks @YUCLing (you are good at catching Linux bugs!)
nikwen commentedon May 3, 2026
I wonder if it is related to #51015.
5 remaining items
YUCLing commentedon Jun 16, 2026
Hi @mitchchn ! This doesn't seem to be fixed? I've updated to
v43.0.0-beta.4, as it says this is fixed. But I got...Is there anything I missed?
mitchchn commentedon Jun 16, 2026
Hi @YUCLing! Hmm, I can no longer reproduce the issue on 43.0.0-beta.4 or 42.4.1, but I can easily do so on previous versions with your exact settings (KDE, 130% scale). Does it happen at any other DPI scales? Can you try on 42.4.1 and a 44 nightly?
@aiddya maybe we need to implement something like this https://chromium-review.googlesource.com/c/chromium/src/+/6382498 (or try enabling the pixel canvas flag in Electron to help with all the DPI issues)?
YUCLing commentedon Jun 16, 2026
@mitchchn
Hmm, my settings was 125% scale, and it's still broken, but I do cannot reproduce it at 130% scale.
It's the same with both versions
mitchchn commentedon Jun 17, 2026
Sorry yes I reproed with 125% on older versions, not 130. But I cannot see the white line at any scale factor in the new betas.
We may need to look into this a little further. If you set backgroundColor on BrowserWindow (not just body) does that help in the meantime?
YUCLing commentedon Jun 17, 2026
Thanks for your reply @mitchchn ! That's strange then. I tried with two set of options:
Setting
backgroundColordoesn't seem to be changing the color of the line, that's interesting, what could it be?mitchchn commentedon Jun 17, 2026
That's an interesting finding. Does setting the backgroundColor work in a version prior to the patch. e.g. 43.0.3-beta?
YUCLing commentedon Jun 18, 2026
@mitchchn
Yep, it works, the color of the line changes
But it doesn't change in 43.0.0-beta.4
So we are now looking at something else that is white now? How can I be helpful finding it?
mitchchn commentedon Jun 18, 2026
Well, let's start by re-opening the issue. By the way, what is your monitor resolution?
YUCLing commentedon Jun 18, 2026
Primary: 2560x1600
Secondary: 1080x1920
I did the tests on the primary screen.
mitchchn commentedon Jun 18, 2026
Ah, I can repro in beta 4 by switching to the Breeze Light KDE theme. (To confirm try setting your theme to Breeze Dark and then launching the app -- you should no longer see the line.)
So this is a different white line from before: this is the edge of the frame (which takes on the colours from the system theme), not the root view. This is a tricky problem to solve at fractional scales since there is no way to force all these rectangles to line up exactly, but I will explore some more options.
YUCLing commentedon Jun 18, 2026
Yes, I think that's the case, thanks for your testing! I switched to Breeze Black then I can barely see the line. But if I change the color of the body background, I can see it clearly as a black line.