Modify

Opened 6 years ago

Closed 6 years ago

#2602 closed Bug (No Bug)

GUIcreate generates blinking/flikering on W2012

Reported by: dominiquebenoit@… Owned by:
Milestone: Component: AutoIt
Version: 3.3.11.0 Severity: None
Keywords: Cc:

Description

Hello,

For months I have customers using my AutoIT programs claiming for a blinking problem on W2012.

I asked one of these customer to be able to access remotly his server to analyse this problem. After 2 days I wrote for you the simplest script that show the problem:

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>

Blinking()
NOblinking()

; This Guicreate creates Blickering/Flickering
Func Blinking()

Local $msg
GUICreate("Using Task Manager shows 'not responding'", 615, 440, 192, 124) ;, -1, $WS_EX_TOOLWINDOW) ; BitAnd($WS_EX_TOOLWINDOW, $WS_SIZEBOX)) ; will create a dialog box that when displayed is centered
GUISetState(@SW_SHOW) ; will display an empty dialog box
While 1

$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then ExitLoop

WEnd
GUIDelete()

EndFunc ;==>Example1

; This Guicreate have no Blickering/ no Flickering
Func NOblinking()

Local $msg
GUICreate("Using Task Manager does not shows anymore 'not responding'", 615, 440, 192, 124, -1, $WS_EX_TOOLWINDOW) ; I tested all possible style. $WS_EX_TOOLWINDOW is the only onle which eliminates the blinking
GUISetState(@SW_SHOW) ; will display an empty dialog box
While 1

$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then ExitLoop

WEnd
GUIDelete()

EndFunc ;==>Example1

I also use this program to reproduce the flickering problem on a VMware VM W2012 (running it on the WMware console).

Comments:

When you start the Task Manager, you see the program that switch to Not responding status every seconds.

I test it with the new Autoit release: same behavior.

It works fine on XP/W7 (of course). This problem is only on W2012

I will continue to study this problem on my side, but I would greatly appreciate your help !

Why $WS_EX_TOOLWINDOW fix this? That is my big question.

Kind regards

Dominique

Attachments (0)

Change History (7)

comment:1 Changed 6 years ago by Jon

Hmm, I can't see any issue on my 2012 server, it never seems to say anything about not responding/flickering.

comment:2 Changed 6 years ago by Jpm

server 2012 is supposed to have the same code as Win8.1 and nothing wrong about "no responding" !!!

comment:3 Changed 6 years ago by mlipok

I checked this on W2012 Essential.

Compiled as x86 but also as x64.

I do not see any issue.

comment:4 Changed 6 years ago by anonymous

Hello,

That is the problem I fight against during the past 6 months (unfortunatly).

On some servers, the flickering is obvious (outrageous in fact) and prevent to use the GUI.

On others the same code does not flicker at all.

Yesterday, when I did place this ticket, I was connected from France to Australia on a W2012 where obviously it was flikering. Then I did run it on my own VMware 2012 test system (2012 R2 64 bits) and I have reproduce locally the same issue.

If you need it I can try to setup a test server that reproduce it for you.

Kind regards

Dominique Benoit

comment:5 Changed 6 years ago by Jpm

If you reproduce it setup a server so I can analyze.
Not sure I will find the pb but at least I will try
If you don't to be too public, use private conversation to give me how to use the server
Cheers
JP

comment:6 Changed 6 years ago by anonymous

Hello,

We have done more research and it appears that on W8 and Windows 2012, Microsoft is installing a default standard graphic driver that is not enough compatible with some applications and the new Metro interface. As result some application are flickering.

As a conclusion, it is not an AutoIt related feature at all.

Thank you for your time and help!

comment:7 Changed 6 years ago by Jpm

  • Resolution set to No Bug
  • Status changed from new to closed

no problem,
always please to help when needed

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.