dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

[BUG] Resolution of some apps after lua config update

Open mwinter80 opened this issue 6 months ago • 6 comments

Describe the bug

I see that the Wayland variables are being set correctly, but It seems that my Electron apps and some other apps (e.g. GNUBG) are looking pixelated again. This all looked fine before the lua switch. In my mind this is not urgent, but wanted to help since it seems something is not quite catching. Thanks!

Steps to reproduce

open electron app or GNUBG

Expected behavior

None pixelated interfaces

Screenshots

No response

Distribution

Arch Linux

If Other, specify

No response

Additional context

No response

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

mwinter80 avatar Jun 01 '26 10:06 mwinter80

I can also confirm that this is happening in Electron apps

preland avatar Jun 02 '26 22:06 preland

@mwinter80 @preland

I got pixelated apps like Steam after the update as well, because the migration removed the xwayland config from hyprland (https://wiki.hypr.land/Configuring/Advanced-and-Cool/XWayland/)

I added back the xwayland in a custom lua file for now

hl.config({
  xwayland = {
    force_zero_scaling = true
  }
})

However, even without the xwayland config, my electron apps like Notion and discord/vesktop still look fine, not really sure if that is the fix for you both.

yurihikari avatar Jun 03 '26 12:06 yurihikari

the above xwayland config fix worked for me (claude desktop, spotify)

preland avatar Jun 03 '26 17:06 preland

HyprMod/XWayland/and Force zero scaling fixed the problem for me (Google Earth)

ortoklas avatar Jun 03 '26 18:06 ortoklas

yes. all fixed for me with that addition to the config. thanks for the help

mwinter80 avatar Jun 03 '26 21:06 mwinter80

Just adding it to the rolling release. https://github.com/mylinuxforwork/dotfiles/blob/main/dotfiles/.config/hypr/conf/ml4w.lua

mylinuxforwork avatar Jun 06 '26 20:06 mylinuxforwork