Opened 3 years ago

Last modified 3 years ago

#3826 closed Bug

Background not erased for label with $GUI_BKCOLOR_TRANSPARENT set — at Initial Version

Reported by: KaFu Owned by:
Milestone: 3.3.15.5 Component: AutoIt
Version: 3.3.15.4 Severity: None
Keywords: Cc:

Description

Does not happen with autoit-v3.3.15.0-beta-setup.exe, first occurred with autoit-v3.3.15.1-beta-setup.exe
https://www.autoitscript.com/forum/topic/202668-autoit-v33151-beta

Checked release notes and guess it might be related to this fix:

  • Fixed: Workarounds added to alleviate slow downs on Windows 10 1809 and later (OS bug/design change).

To test comment / un-comment the GUI_BKCOLOR_TRANSPARENT line and run with prod version and current Beta. With current Beta the updated data overwrites the label with erasing to old data first.

#include <GUIConstantsEx.au3>
Opt("GUIOnEventMode", 1)

GUICreate("Test", 550, 40)
GUISetOnEvent($GUI_EVENT_CLOSE, "_Exit")

$c_Label = GUICtrlCreateLabel(TimerInit, 10, 10, 430, 20)
GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) ; comment / un-comment this line

; does not happen with autoit-v3.3.15.0-beta-setup.exe, first occurred with autoit-v3.3.15.1-beta-setup.exe
; https://www.autoitscript.com/forum/topic/202668-autoit-v33151-beta
; checked release notes and guess it might be related to this fix:
; - Fixed: Workarounds added to alleviate slow downs on Windows 10 1809 and later (OS bug/design change).

GUICtrlCreateButton('Exit', 495, 10, 50)
GUICtrlSetOnEvent(-1, "_Exit")

GUISetState()

While 1

GUICtrlSetData($c_Label, TimerInit())

WEnd

Func _Exit()

Exit

EndFunc ;==>_Exit

Change History (0)

Note: See TracTickets for help on using tickets.