Modify

Opened 6 years ago

Closed 5 years ago

#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 J-Paul Mesnage, 6 years ago

THanks,
Fix sent to Jon

comment:2 by J-Paul Mesnage, 6 years ago

Owner: set to J-Paul Mesnage
Status: newassigned

comment:3 by Jon, 5 years ago

Milestone: 3.3.15.4
Owner: changed from J-Paul Mesnage 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.