#Artifacts when manually and automatically resizing windows in Explorer

1 messages · Page 1 of 1 (latest)

ashen bay
#

Hello,

I have been recently introduced to Komorebi and as I use and configure it I have encountered the following graphical issue:

When I open explorer, resize it, or open a new explorer window, weird white artifacts appear as shown in the attached video.

I tried changing the animation speed and framerate but the issue persists.
I also attached my own Komorebi.json for reference.

Is this a known issue with Komorebi or particular to my case?

My gratitude in advance.

left otter
#

Hi Waleed - latest investigation on this suggests that it is a GPU driver issue because these artifacts don't show when running on an igpu

ashen bay
left otter
#

Relevant discussion from a few days ago

autumn mist
#

I am also facing the same problem (

steep vigilBOT
#

GG @autumn mist, you just advanced to level 1!

keen fable
#

i thought that was just how komorebi was?

silk siren
#

Think I remember this happening even back in Vista* with a custom msstyle.

fresh inlet
#

@left otter I'm currently testing on an Intel iGPU, and yes, there is a difference. So basically, you will need to change the render engine for animation in Komorebi 😦

keen fable
#

has that been the problem this whole time??

left otter
#

Or do we need a separate PR there

fresh inlet
rose hazel
#

I have the same issue here

#

When opening file manager and when resize it with alt snap

left otter
#

@Microsoft y u no fix 😢

fresh inlet
#

But there is something which I can't explain. I'm feeling every day like we're missing something here. There are no artifacts when you use native resizing.

keen fable
#

its prbly ms doing some closed source bs to discourage users from users third party apps

fresh inlet
keen fable
left otter
#

Imo it's still a MS problem if this is how it reacts when we are using documented Win32 API calls for window manipulation

steep vigilBOT
#

GG @left otter, you just advanced to level 31!

fresh inlet
left otter
#

if exe.eq(explorer) { setwindowpos() } incoming

#

Tbh this is not that weird to implement, we can add another rule for it

#

We have rules for everything else 😅

fresh inlet
#

Let me try to make some tests for "resizing", maybe I'm wrong.

#

I don't know why, but for me SetWindowPos and MoveWindow work totally in different ways. I can see many more artifacts with MoveWindow

left otter
#

Looks nice

#

I think we can make this configurable

fresh inlet
left otter
#

Which one do you think looks better?

fresh inlet
#

This last one doesn’t have white artifacts. The animation is slow because of the low FPS

keen fable
#

wouldnt forcing a window redraw after each step take a lot of cpu?

fresh inlet
#

Not a lot, but it can be increased. I think this should be a job for the GPU, not the CPU

#

I have noticed that when I enable animation in Hyprland, the GPU temperature goes up by about 10°C 👀
On Windows my GPU stays at around 45–50°C all the time without the fans spinning, but on Hyprland it goes up to about 60°C and the fans start spinning

keen fable
#

bro i wish i knew enough rust to help with this

#

but ill prbly be very inactive

#

but just for fun, what libraries / crates are you using and what purpose do they serve in the project

#

like:
win32api - prbly to work with the windows resizing and allat
serde crate - for parsing the json config file

broken quartz
#

not sure if this has been addressed yet, but I experience the same resizing artifacts

scarlet zealot
#

bumping to share i also experience this

uncut torrent