Modify

Opened 4 years ago

Closed 3 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 Changed 4 years ago by Jpm

THanks,
Fix sent to Jon

comment:2 Changed 4 years ago by Jpm

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

comment:3 Changed 3 years ago by Jon

  • Milestone set to 3.3.15.4
  • Owner changed from Jpm to Jon
  • Resolution set to Fixed
  • Status changed from assigned to closed

Fixed by revision [12555] in version: 3.3.15.4

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 owner will remain Jon.
Author


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

 
Note: See TracTickets for help on using tickets.