marchaesen / vcxsrv

Windows X-server based on the xorg git sources (like xming or cygwin's xwin), but compiled with Visual Studio 2012 Community Edition.
GNU General Public License v3.0
358 stars 14 forks source link

Flicker #2

Closed bpranoto closed 3 months ago

bpranoto commented 6 months ago

Application flickers badly when running remotely.

To show the problem, I created a simple app with just one form and nothing else which can be download from https://drive.google.com/file/d/1ZrMzhPauAhiwV4UMVMxWOW6HPOP1P7pe/view?usp=sharing

Then from windows station, I connect to the linux host through putty and run the application.

After the application form displayed, the application flicker badly whenever I resize the form.

Here is the youtube video of the problem described above: https://www.youtube.com/watch?v=daheodHgNhc

The application is created with Lazarus 3.1/FreePascal v 3.2.2

bpranoto commented 6 months ago

vcxsrv version: v21.1.10.0

marchaesen commented 3 months ago

Should be fixed in release 21.1.13

marchaesen commented 3 months ago

Strange, because I do not see this problem anymore. I am running your program from wsl in windows 11. With the previous version, I saw the problem you described.

On Sun, 2024-05-19 at 00:57 -0700, bpranoto wrote:

Thank you. Unfortunately, the problem is still there. If you try to increase the windows's width by dragging the right side, it will flicker as soon as you release the mouse button. — Reply to this email directly, view it on GitHub [1], or unsubscribe [2]. You are receiving this because you modified the open/close state.Message ID: @.***>

[1] view it on GitHub https://github.com/marchaesen/vcxsrv/issues/2#issuecomment-2119141365 [2] unsubscribe https://github.com/notifications/unsubscribe-auth/AO37QIUO5YRTMYWXFRXSE2LZDBLQNAVCNFSM6AAAAABDO5GY3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJZGE2DCMZWGU

bpranoto commented 3 months ago

Yes, it is much better.

It still happens occasionally. As it is an intermittent issue, and I cannot always reproduce it, I deleted my last message in the github.

On Thu, 23 May 2024 at 01:13, marchaesen @.***> wrote:

Strange, because I do not see this problem anymore. I am running your program from wsl in windows 11. With the previous version, I saw the problem you described.

On Sun, 2024-05-19 at 00:57 -0700, bpranoto wrote:

Thank you. Unfortunately, the problem is still there. If you try to increase the windows's width by dragging the right side, it will flicker as soon as you release the mouse button. — Reply to this email directly, view it on GitHub [1], or unsubscribe [2]. You are receiving this because you modified the open/close state.Message ID: @.***>

[1] view it on GitHub https://github.com/marchaesen/vcxsrv/issues/2#issuecomment-2119141365 [2] unsubscribe

https://github.com/notifications/unsubscribe-auth/AO37QIUO5YRTMYWXFRXSE2LZDBLQNAVCNFSM6AAAAABDO5GY3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJZGE2DCMZWGU

— Reply to this email directly, view it on GitHub https://github.com/marchaesen/vcxsrv/issues/2#issuecomment-2125456282, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYS3LY4KHXNKCXA6KH4W5LZDTN4HAVCNFSM6AAAAABDO5GY3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRVGQ2TMMRYGI . You are receiving this because you authored the thread.Message ID: @.***>

-- Bambang P http://bpranoto.blogspot.com

bpranoto commented 3 months ago

The problem is more apparent if I run the program through X2go which uses vcxsrv as X server. However, I don't know if it's more related to x2go client or vcxsrv

On Thu, 23 May 2024 at 12:00, Bambang P @.***> wrote:

Yes, it is much better.

It still happens occasionally. As it is an intermittent issue, and I cannot always reproduce it, I deleted my last message in the github.

On Thu, 23 May 2024 at 01:13, marchaesen @.***> wrote:

Strange, because I do not see this problem anymore. I am running your program from wsl in windows 11. With the previous version, I saw the problem you described.

On Sun, 2024-05-19 at 00:57 -0700, bpranoto wrote:

Thank you. Unfortunately, the problem is still there. If you try to increase the windows's width by dragging the right side, it will flicker as soon as you release the mouse button. — Reply to this email directly, view it on GitHub [1], or unsubscribe [2]. You are receiving this because you modified the open/close state.Message ID: @.***>

[1] view it on GitHub https://github.com/marchaesen/vcxsrv/issues/2#issuecomment-2119141365 [2] unsubscribe

https://github.com/notifications/unsubscribe-auth/AO37QIUO5YRTMYWXFRXSE2LZDBLQNAVCNFSM6AAAAABDO5GY3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJZGE2DCMZWGU

— Reply to this email directly, view it on GitHub https://github.com/marchaesen/vcxsrv/issues/2#issuecomment-2125456282, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYS3LY4KHXNKCXA6KH4W5LZDTN4HAVCNFSM6AAAAABDO5GY3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRVGQ2TMMRYGI . You are receiving this because you authored the thread.Message ID: @.***>

-- Bambang P http://bpranoto.blogspot.com

-- Bambang P http://bpranoto.blogspot.com

marchaesen commented 3 months ago

I am able to reproduce easily when running your program from a linux pc. Could you share me the source of this program? I do not see the problem with other X clients (kdiff3, xterm, ...) Maybe that it could help me in finding out the real cause of this problem.

On Wed, 2024-05-22 at 22:16 -0700, bpranoto wrote:

The problem is more apparent if I run the program through X2go which uses vcxsrv as X server. However, I don't know if it's more related to x2go client or vcxsrv

On Thu, 23 May 2024 at 12:00, Bambang P @.***> wrote:

Yes, it is much better.

It still happens occasionally. As it is an intermittent issue, and I cannot always reproduce it, I deleted my last message in the github.

On Thu, 23 May 2024 at 01:13, marchaesen @.***> wrote:

Strange, because I do not see this problem anymore. I am running your program from wsl in windows 11. With the previous version, I saw the problem you described.

On Sun, 2024-05-19 at 00:57 -0700, bpranoto wrote:

Thank you. Unfortunately, the problem is still there. If you try to increase the windows's width by dragging the right side, it will flicker as soon as you release the mouse button. — Reply to this email directly, view it on GitHub [1], or unsubscribe [2]. You are receiving this because you modified the open/close state.Message ID: @.***>

[1] view it on GitHub https://github.com/marchaesen/vcxsrv/issues/2#issuecomment- 2119141365 [2] unsubscribe

https://github.com/notifications/unsubscribe- auth/AO37QIUO5YRTMYWXFRXSE2LZDBLQNAVCNFSM6AAAAABDO5GY3GVHI2DSMVQWIX3L MV43OSLTON2WKQ3PNVWWK3TUHMZDCMJZGE2DCMZWGU

— Reply to this email directly, view it on GitHub https://github.com/marchaesen/vcxsrv/issues/2#issuecomment- 2125456282, or unsubscribe https://github.com/notifications/unsubscribe- auth/ABYS3LY4KHXNKCXA6KH4W5LZDTN4HAVCNFSM6AAAAABDO5GY3GVHI2DSMVQWIX3L MV43OSLTON2WKQ3PNVWWK3TUHMZDCMRVGQ2TMMRYGI . You are receiving this because you authored the thread.Message ID: @.***>

-- Bambang P http://bpranoto.blogspot.com

bpranoto commented 3 months ago

Here it is. Actually, it is just a do nothing template application.

The application is build with Lazarus v3 and Freepascal 3.2.2 under linux. If you don't have lazarus/freepascal in your system, I recommend to install with fpcupdeluxe https://github.com/newpascal/fpcupdeluxe/releases/latest.

The problem is not there if it is compiled with Lazarus version 2.

Thank you very much.

project1.zip