Right edge Resize flickers

Server Jo 1 Reputation point
2023-01-22T19:54:35.37+00:00

This is a well known issue with the window desktop composer. Recently we see few apps that do not suffer from this issue. We want to inform Microsoft, that this is simply an OS bug. Why not fix this? Why would a sane composer refresh under a window whose right edge does not move one pixel?

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,990 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Castorix31 86,041 Reputation points
    2023-01-23T08:41:22.97+00:00

    It depends on the type of application

    For example, a UWP app like Calc does not flicker :

    calc_resize


  2. Limitless Technology 44,411 Reputation points
    2023-01-24T09:01:57.3433333+00:00

    Hello there,

    Found this theriy in one of the forum and might help you .

    By default, in modern Windows, your window is just a texture on the video card, and the desktop window manager is mapping that to a rectangle on the screen. You've seem to have done everything necessary to make sure that texture gets updated in one fell swoop.

    But when you resize the window, perhaps the desktop compositor immediately updates its geometry, causing the (still unchanged) texture to be appear in the new position on the screen. It's only later, when you do the paint, that the texture is updated.

    You can test this theory by temporarily turning off desktop compositing.

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer–


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.