mako
mako copied to clipboard
Blurry notification/Hi-DPI
Using mako i got very strange behaviour: all the time i receive notifications, first notification gets blurry, but reloading sway/using slurp/getting another notification and all the notifications are no longer blurry.
I'm using a Hi-DPI laptop, and of course with output eDP-1 scale 1
everything works fine.
I don't know how can it help but i replaced scale
to constant (2) in wayland.c and everything renders perfectly.
I have the same issue. Can you share a diff, so I can at least use this as a workaround?
EDIT: I solved it. I think what the reportor means is that if the initial scale is identical to your scaling factor instead of one, the blurriness disappears. The value is found on line 565 in wayland.c.
Thanks, BrightYC
@trobjo-telia I glad it helped. By the way, doesn't the cursor is blurry too? Like you are dragging mouse inside notifications and cursor inside the notification looks blurry. Seems like mako doesn't respect XCURSOR_SIZE or smth 🤔
Yes, that is true, even with your "fix" the cursor is still blurry when hovering over the notification.
Today I've got really weird behavior:
- restart mako
-
notify-send
a message. it works as expected (shown, hidpi) - click to dismiss
-
notify-send
another message. nothing appears -
makoctl reload
. the notification appears, but blurry. - issue some more reloads. it probably will become hidpi.
The two issues (not shown and blurry) just seem to happen to me randomly. No clue what to do next.
I've sent a pull request to address both blurry text and cursor. Could you give it a try?
I have tested it now. You pull request fixes the issue for me!
I have tested it too, your PR fixes this issue!
Created an AUR package for Arch Linux users https://aur.archlinux.org/packages/mako-no-blur-git
Thanks for the package @okhsunrog! Works like a charm.
Will is be merged?
Latest master should have this issue fixed.
Latest master should have this issue fixed.
they are blurry again for some reason, and not just like sometimes but like every time now lol