Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
7
Erster Beitrag:
vor 2 Jahren, 8 Monaten
Letzter Beitrag:
vor 2 Jahren, 8 Monaten
Beteiligte Autoren:
Curtis, Alexandre Leclerc, Tor-Bjarne

[WD20] Rezing/Redraw Issue - Tough One

Startbeitrag von Curtis am 22.06.2015 20:24

https://youtu.be/TTsuH-5qqXw

The sample video above shows that the controls flicker and are very slowly redrawn when resizing. I brought this to PCSoft's attention and they said they fixed it starting with the final version 20 release, but I'm still experiencing this issue. I'm using the GenSteel style, but have had the same issues with other styles.

Anyone have any idea what's going on here?

Antworten:

Hi,

Do you have any code in the "Resizing Win_xx" or "Whenever modifying win_xx" embed points (Or any other) ??

You can try to play around with:

WinDisableEffect(effectAnimation + effectTranslucentBorder + effectDDW + effectBlur)




Cheers
Tor-Bjarne

von Tor-Bjarne - am 23.06.2015 13:07
I do not have any code at all. The project from the video is just a quick example with only controls and the GenSteel style.

WinDisableEffect() did not change anything when I put it in the 'Resizing WIN_xx' process.

Thanks though!

von Curtis - am 23.06.2015 13:40
Hi Curtis,

I see that you are using a Tab control. Does it do the same outside the tab control?

I had this very problem using iStyle140 and the culprit was a transparent PNG file (the image was only transparency). When I removed the PNG file then there was no more flickering. Then I made a personnalized style with no background image and all was fixed for all the other tab controls.

Just check your tabl control background image in the tabs to see if it's transparent. Try to remove the background image. Maybe this is the same problem I had couple years ago.

Best regards,
Alexandre Leclerc

von Alexandre Leclerc - am 23.06.2015 13:45
Quote
Curtis
WinDisableEffect() did not change anything when I put it in the 'Resizing WIN_xx' process.


You are suppose to put this code in the Project code or "Clobal declaration of Win_main"

I was curious about, if there was any code in your 'Resizing WIN_xx' process.

Cheers
Tor-Bjarne

von Tor-Bjarne - am 23.06.2015 14:10
Quote
Tor-Bjarne
Quote
Curtis
WinDisableEffect() did not change anything when I put it in the 'Resizing WIN_xx' process.


You are suppose to put this code in the Project code or "Clobal declaration of Win_main"

I was curious about, if there was any code in your 'Resizing WIN_xx' process.

Cheers
Tor-Bjarne


Oops. Still had no effect when I moved it to Global declaration.

Alexandre,
You might be on the right track. I was able to make it better by getting rid of the outside border image of the tab, but it's still not perfect. Removing the images of the panes did not help at all.

von Curtis - am 23.06.2015 14:22
Hi Curtis,

Yeah, this could be something related to transparency in some images used in GenSteel but we can't be sure it's the same issue I had in the past. This was for your consideration and investigation... just in case it would be similar.

Best regards and good luck with that,
Alexandre Leclerc

von Alexandre Leclerc - am 23.06.2015 14:31
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.