Opened 9 years ago

Closed 8 years ago

Last modified 5 years ago

#11143 closed defect (fixed)

Tooltip: Tooltips within TooltipDialogs should disappear when the parent comes down

Reported by: Pete Smith Owned by: bill
Priority: high Milestone: 1.7
Component: Dijit Version: 1.5.0b2
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

I have a tooltip dialog, and within that I have ValidationTextBoxes. If I have a promptMessage or invalidMessage (really a tooltip) up, and my parent dialog comes down, the message tooltips stay up. It should be implicit, that when the parent dialog is hidden, that the child tooltips come down. I have hacked a few things in to get around this, but it would be nice if the parent tooltip took care of this.

Attachments (1)

11143.html (1.1 KB) - added by ben hockey 9 years ago.
test case

Download all attachments as: .zip

Change History (9)

comment:1 Changed 9 years ago by bill

Description: modified (diff)
Milestone: tbdfuture
Summary: Tooltips within Tooltips should come down when the parent comes downTooltip: Tooltips within TooltipDialogs should disappear when the parent comes down

Agreed, this is complicated to fix though since Tooltip monitors for the onblur/onmouseleave events and apparently neither of them occur in cases like this, when the node (or it's parent) suddenly become display: none.

I'm unclear why you parent dialog "comes down" while the user is busy typing into a ValidationTextBox, can you attach a test case?

Changed 9 years ago by ben hockey

Attachment: 11143.html added

test case

comment:2 Changed 9 years ago by ben hockey

i added a test case since i'm also seeing a similar problem. the paths to dojo, etc assume that the file is in a sibling directory of dojo, dijit, dojox.

try pressing the "validate and close" button and you'll see the tooltip saying that the select is required. next, click the 'X' to close the dialog and you'll see that the tooltip stays around.

comment:3 Changed 9 years ago by ben hockey

similar to #10821

comment:4 in reply to:  3 Changed 9 years ago by Wendy Adams

Replying to neonstalwart:

similar to #10821

I would be interested in seeing your 'hack' that stops this behavior. While it is true, as stated in a different ticket, that if another tooltip is displayed after this issue starts, that the 'junk' tooltip goes away, but it doesn't give a very good user impression to see the stale tooltip 'stuck' on an unrelated interface. ( and for Bill, the user doesn't have to be TYPING in the text box, just hovering over it, and hitting 'ESC' to close dialog.)

comment:5 Changed 8 years ago by bill

Milestone: future1.7
Owner: set to bill
Status: newassigned

comment:6 Changed 8 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [25499]) Make validation tooltip for Select disappear when containing Dialog or TooltipDialog is hidden. Add test showing that tooltip already disappears when Dialog/TooltipDialog containing ValidationTextBox based widgets is hidden, assuming that focus goes somewhere as the Dialog/TooltipDialog is hidden.

Fixes #11143 !strict.

comment:7 Changed 5 years ago by Bill Keese <bill@…>

In 26c7ac6597c9c1bebe8d775ae140b33bccf1944f/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:8 Changed 5 years ago by Bill Keese <bill@…>

In aca7e02e1079a35ab06bd41fc6cf87591dc901b9/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 
Note: See TracTickets for help on using tickets.