Modify

#3778 closed Bug (Fixed)

Tooltip does not reset the position correctly

Reported by: Dan_555 Owned by: Jon
Milestone: 3.3.15.4 Component: AutoIt
Version: 3.3.14.5 Severity: None
Keywords: Cc:

Description

Pixelsearch noticed, in this https://www.autoitscript.com/forum/topic/203602-tooltip-position-issue/ thread, that the Tooltip position does not reset correctly.

Working Code:

#include <AutoItConstants.au3>
ToolTip("This is tooltip 2", 45, 10, "", $TIP_NOICON, $TIP_CENTER)
Sleep(2000)

Next Two codeblocks show the Bug:
#1:

#include <AutoItConstants.au3>

ToolTip("This is tooltip 1", 0, 0)
Sleep(2000)

ToolTip("")

ToolTip("This is tooltip 2", 45, 10, "", $TIP_NOICON, $TIP_CENTER)
Sleep(2000)

#2:

#include <AutoItConstants.au3>

ToolTip("This is tooltip 2", 45, 10, "", $TIP_NOICON, $TIP_CENTER)
Sleep(3000)

ToolTip("")

ToolTip("This is tooltip 1", 0, 0)
Sleep(3000)

And a workaround:

#include <AutoItConstants.au3>

ToolTip("This is tooltip 2", 45, 10, "", $TIP_NOICON, $TIP_CENTER)
Sleep(3000)

ToolTip("",0,0,"",0,$TIP_BALLOON)


ToolTip("This is tooltip 1", 1, 2)
Sleep(3000)

Attachments (0)

Change History (3)

comment:1 by Jpm, on Aug 15, 2020 at 10:31:06 AM

THanks,
Fix sent to Jon

comment:2 by Jpm, on Aug 17, 2020 at 7:44:20 AM

Owner: set to Jpm
Status: newassigned

comment:3 by Jon, on Jun 11, 2021 at 1:21:17 PM

Milestone: 3.3.15.4
Owner: changed from Jpm to Jon
Resolution: Fixed
Status: assignedclosed

Fixed by revision [12555] in version: 3.3.15.4

Modify Ticket

Action
as closed The owner will remain Jon.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.