matinlotfali / KDE-Rounded-Corners

Rounds the corners of your windows in KDE Plasma 5 and 6
GNU General Public License v3.0
641 stars 22 forks source link

outline disappear and reappear repeatedly when dragging window under fractional scale #181

Closed mill413 closed 6 months ago

mill413 commented 8 months ago

I am using a monitor with 150% scaling, and when I drag a window on it, the outline will disappear and reappear repeatedly.

The outline thickness in video is 5.

https://github.com/matinlotfali/KDE-Rounded-Corners/assets/49865696/1e41049c-c6e4-4878-a917-7e825577538b

I am using archlinux+plasma6.0.2

matinlotfali commented 8 months ago

Thanks for the video. Is it on Wayland? or X11?

mill413 commented 8 months ago

Thanks for the video. Is it on Wayland? or X11?

It's Wayland. And I update to plasma 6.0.3, it still happen.

matinlotfali commented 6 months ago

I still can't reproduce this. Is the issue still present?

mill413 commented 6 months ago

I still can't reproduce this. Is the issue still present?

Yes, it's still on my computer. And I found that applications based on qt, such as telegram, konsole, dolphin and obs studio, has this weird behavior, maybe it's a qt's bug.

taj-ny commented 6 months ago

I'm also experiencing this issue on v0.6.5 and Plasma v6.0.4 with 150% scaling. Whether the outline is drawn seems to depend on the window's Y position (although not always). Resizing a window by its top edge is probably the easiest way to reproduce this. Disabling the window frame with a rule may help as well.

https://github.com/matinlotfali/KDE-Rounded-Corners/assets/79316397/ab3f5fa1-85cc-4087-bb63-21fbf7468c5c

matinlotfali commented 6 months ago

I tried very hard to reproduce it but still no luck. It might be a graphics driver issue. Can you confirm that the issue exists on other distros or other graphics drivers?

taj-ny commented 6 months ago

Looks like this issue was fixed by aa3ba874f5769a3b36c28901488643be3eb615d0.

mill413 commented 6 months ago

It has been fixed after upgrading. Thanks for your work!

matinlotfali commented 6 months ago

That is great news. I made some fixes unrelated to disappearing and reappearing outlines but apparently, it fixed other stuff too.