Modify

Opened 6 weeks ago

Last modified 5 weeks ago

#3778 assigned Bug

Tooltip does not reset the position correctly

Reported by: Dan_555 Owned by: Jpm
Milestone: 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 (2)

comment:1 Changed 6 weeks ago by Jpm

THanks,
Fix sent to Jon

comment:2 Changed 5 weeks ago by Jpm

  • Owner set to Jpm
  • Status changed from new to assigned

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 assigned The owner will remain Jpm.
Author


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

 
Note: See TracTickets for help on using tickets.