SwayNotificationCenter icon indicating copy to clipboard operation
SwayNotificationCenter copied to clipboard

Blurry notifications with HiDPI scaling

Open christopher-l opened this issue 3 years ago • 15 comments
trafficstars

When using HiDPI scaling, notifications are scaled by pixels and become blurry. image

In the notification center, notifications will sometimes be blurry. image

christopher-l avatar Dec 01 '21 20:12 christopher-l

Hmmm... Seems to be a layershell issue. Maybe related to #27?

ErikReider avatar Dec 03 '21 12:12 ErikReider

Can you check if running swaync-client -rs in the terminal fixes this? (With the latest changes ofc)

ErikReider avatar Dec 23 '21 17:12 ErikReider

swaync-client -rs doesn't seem to have any effect on existing notifications, but the issue has become harder to reproduce with the latest changes. In general, notifications tend to appear correctly initially and only when viewed in the notification center first on a non-scaled monitor and then again on a scaled one, the notification sometimes renders blurry, but even this doesn't happen anymore with notify-send for me (but with other notification sources, it still does).

christopher-l avatar Dec 24 '21 10:12 christopher-l

Hi! I am using SwayNotificationCenter from master and I still have blurry notifications. However, they are not sporadically blurry like @christopher-l , but they are always blurry. I have two screens, one FHD and one 4k scaled. If I disable the first one, the notifications work fine again. Even if I reenable it later, the notifications continue to work fine.

danyspin97 avatar Feb 24 '22 17:02 danyspin97

@danyspin97 Could you provide a screenshot and do other GTK applications look the same?

ErikReider avatar Feb 25 '22 21:02 ErikReider

@ErikReider I would, but it started working, I don't know why :/ I will post a screenshot if and when this issue will reapper. Thanks for the support :)

danyspin97 avatar Mar 01 '22 12:03 danyspin97

I have two different systems. I mostly use one, but today I went back on the other one and I got this problem again:

blurred

Other GTK wayland applications look fine. I am using GDK_BACKEND=wayland in my environment so all the GTK applications should natively run on Wayland and they aren't blurred.

I am running swaync version 0.6.1.

danyspin97 avatar Jun 13 '22 09:06 danyspin97

Are the widgets in the control center also blurry (clear all button, dnd switch, title text)

ErikReider avatar Jun 13 '22 09:06 ErikReider

It's the same as the reporter, the buttons in the control center are fine, but some notifications are blurry. I also have some not blurry notifications.

danyspin97 avatar Jun 13 '22 09:06 danyspin97

Seems like an EventBox issue I guess?...

ErikReider avatar Jun 13 '22 09:06 ErikReider

The first displayed notification is blurry; then all the following ones displayed together are not blurry. After they have been removed, the next one will still be blurry and this process repeats again.

danyspin97 avatar Jun 13 '22 12:06 danyspin97

I have the same experience as @danyspin97.

image

xadhatter avatar Feb 01 '23 00:02 xadhatter

The first displayed notification is blurry; then all the following ones displayed together are not blurry. After they have been removed, the next one will still be blurry and this process repeats again.

Are you still experiencing this? What setup are you using? (display wise)

ErikReider avatar Feb 22 '23 11:02 ErikReider