wayfire icon indicating copy to clipboard operation
wayfire copied to clipboard

Damage artefacts when maximize-restore gtk window

Open mark-herbert42 opened this issue 6 months ago • 5 comments

Describe the bug When opening gtk3 app like wcm or caja on empty screen , maximizing it an then restoring back the artifacts remain in the places where the background should be, and those artfacts remain flickering unntil I move the window.

This does not happen with windows like firefox or thunderbird - those ones maximize-restore without artefacts.

To Reproduce Steps to reproduce the behavior:

Open just one wcm (or caja) window. maximize and restore to original size.

Wayfire version tried with git, and with vulkan patches applied - no difference.

mark-herbert42 avatar Jun 13 '25 03:06 mark-herbert42

https://disk.yandex.ru/i/PFLLoiyFEZjxoQ

Checked with 0.9 release (wlroots 0.17.4) - bug does not happen there , so looks like a regression.

mark-herbert42 avatar Jun 13 '25 03:06 mark-herbert42

increased timeout for transaction from default 100 to 1000 - and the issue seems gone. Making it to default 100 - issue back again. Maybe related to hardware somehow - I use meteorlake 125H

p.S. - 400 seems to be enough, 100 - artifacts, 200- artifacts, 300 - less artifacts but sometimes happen. 400 - fine.

mark-herbert42 avatar Jun 13 '25 14:06 mark-herbert42

@mark-herbert42 interesting find, it will certainly help narrowing down the issue.

ammen99 avatar Jun 13 '25 15:06 ammen99

well this is interesting. i have a very similar sounding bug but mine creeps in only with firefox and thunderbird

artifacts appear after maximizing then un-maximizing window

mrsteve0924 avatar Jun 14 '25 05:06 mrsteve0924

disabled alpha plugin and artifacts are gone even with 100 timeout. Alpha plugin was enabled - but I had no windows on screen with transparency set. From the other hand I do have patched move plugin that activates transparency when window is moving - and it works perfectly without alpha plugin and no artifacts appears.

mark-herbert42 avatar Jun 17 '25 06:06 mark-herbert42