@Null
You are here in the Windows Bug Forum, you cannot test with Linux, which you probably know, right ?
Please indicate exactelly the source and line and write a detailed description of the error.
Your post is only bashing.
WindowResizing flicker issue - can damage the running OS
Re: WindowResizing flicker Bug - damage the running OS
Last edited by Saki on Mon Nov 30, 2020 2:33 pm, edited 6 times in total.
地球上の平和
Re: WindowResizing flicker Bug - damage the running OS
I highly doubt there is a bug, calling ResizeWindow() inside a size callback cant be good - it will flood the msg queue.Saki wrote:Hi Mijikai
Running ResizeWindow() alone is enough to trigger the error irreversibly on the OS.
The wizzard code above just shows it very nicely, because he is extremely computationally
intensive and therefore everything runs relatively slow.
Re: WindowResizing flicker Bug - damage the running OS
Hi Mijikai,
I'm sure you're right.
It's basically just a question of whether you can prevent the OS from behaving temporary irreversibly after the bug has been triggered.
If you find a way around this, everything would be okay.
Unfortunately I can't handle your callback routine, you have to build it in yourself to try it.
I was going crazy trying to find the cause of the flickering, which was suddenly gone the next day.
The bad thing is that it affects everything that normally works and you can't localize it and that's what causes it if you don't know the cause.
But it is nothing that needs to be fixed.
If you know what triggers it, you just take care not to trigger it.
On 4K it is extreme.
Best Regards Saki
I'm sure you're right.
It's basically just a question of whether you can prevent the OS from behaving temporary irreversibly after the bug has been triggered.
If you find a way around this, everything would be okay.
Unfortunately I can't handle your callback routine, you have to build it in yourself to try it.
I was going crazy trying to find the cause of the flickering, which was suddenly gone the next day.
The bad thing is that it affects everything that normally works and you can't localize it and that's what causes it if you don't know the cause.
But it is nothing that needs to be fixed.
If you know what triggers it, you just take care not to trigger it.
On 4K it is extreme.
Best Regards Saki
地球上の平和
Re: WindowResizing flicker Bug - damage the running OS
It's the OS which is responsible to terminate application which are badly coded. If Win10 lag and crash when a client program (running with standard account and right) is badly coded, Win10 needs to be fixed. You can't expect PureBasic to handle all the bad programming issues. And yes, calling ResizeWindow() will trigger a size event, so it will create an endless loop.
Re: WindowResizing flicker Bug - damage the running OS
Hi Fred, many thanks for the clarification.
Best Regards Saki
Best Regards Saki
地球上の平和
Re: WindowResizing flicker issue - can damage the running OS
What else struck me about this thing.
The popular ScreenToGif program also uses this
by dragging the left or upper edge of the selection window.
But the OS does not crash, everything continues normally.
So there a different approach is used for the window resizing, Which does not trigger the bug.
The source code is open, so you could possibly see how they do the window resizing.
https://github.com/NickeManarin/ScreenToGif
The popular ScreenToGif program also uses this
by dragging the left or upper edge of the selection window.
But the OS does not crash, everything continues normally.
So there a different approach is used for the window resizing, Which does not trigger the bug.
The source code is open, so you could possibly see how they do the window resizing.
https://github.com/NickeManarin/ScreenToGif
地球上の平和

