Closed Bug 42729 Opened 24 years ago Closed 23 years ago

Tooltips do not appear on text fields

Categories

(Core :: XUL, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: bugs, Assigned: kinmoz)

References

Details

(Keywords: helpwanted, Whiteboard: [ui])

I tried this on both <xul:textfield> and <html:input>, so it appears to be a 
problem with html:input rather than events not bubbling up to the containing 
box. 

e.g. 

<!-- for tooltip utility xul/js -->
<?xul-overlay href="chrome://global/content/globalOverlay.xul"?>

<textfield tooltip="aTooltip" tooltiptext="Foopy"/>

No tooltip appears when moused over. This bug blocks 42404, which the khakis/doc 
people deem "important".
Status: NEW → ASSIGNED
Target Milestone: --- → M21
Nominating for nsbeta2 since this blocks bug #42404 which is already nsbeta+.
Severity: normal → blocker
Keywords: nsbeta2
not a "blocker". dependency already set, that's enough.
Severity: blocker → normal
This is still M21.  Will this be fixed for beta 2?
Putting on [nsbeta2+] radar for beta2 fix...to facilitate bug 42404.
Whiteboard: [nsbeta2+]
now that it's been marked as beta2+, i'll move it back in.
Target Milestone: M21 → M18
Moving from [nsbeta2+] to [nsbeta2-] per todays PDT XP Toolkit Beta2 Review mtg.
Whiteboard: [nsbeta2+] → [nsbeta2-]
for my own notes, here's what is going on:

the onCreate (NS_MENU_CREATE) handler on an enderLite widget always returns 
consume_noDefault which is what we're using to indicate that the tooltip should 
not be displayed. It appears that enderLite is also hijacking this result code to 
show the event should not undergo default processing.

what we need to do is either modify the event handling code to not set 
consume_noDefault for NS_MENU_CREATE or switch to the new APIs for determining if 
the event has been handled and let consume_noDefault mean what it means 
elsewhere.

cc'ing mjudge, saari, and akkana. I'll hold onto this bug for now, but it isn't 
really a toolkit bug.
Target Milestone: M18 → M20
more for your notes:

The new APIs of which you speak are nsIPrivateDOMEvent (nsPI?) ::SetHandled(bool) 
and bool ::IsHandled(void).
need to coordinate with editor folks, but this should probably get fixed.
Keywords: nsbeta3
Keywords: correctness
Whiteboard: [nsbeta2-] → [nsbeta2-],nsbeta3+
future
Target Milestone: M20 → Future
nope, not beta3. nothing to see here. move along.
Whiteboard: [nsbeta2-],nsbeta3+ → [nsbeta2-]
Pinkerton - please see dependency bug 42404 that has beeen repeatedly plused for 
beta3 and almost plused for beta2.  We need this capability for making search 
discoverable from the URL bar, and search is the #1 activity from Search.  It is 
also at the top of Jim Martin's list of UI enhancements.

Do not make an engineering only decision to cut this - let's talk if you like.
jim martin has taken the time out of his busy schedule to comment that a tooltip 
on the url bar is one of the key UI improvements for 6.0?? Give me a break.

Man we have so many bigger problems than this. I'll defer to my manager. Talk to 
him if you want 42404 fixed.
This reminds me of all those poorly-designed doors that offer only push
affordances, so they have to add a cheesy sign saying 'PULL'.  Unfortunately,
we've built the Location bar equivalent, and must now tack up a sign saying
'Search Here', or students will be unable to enter our School for the Gifted.
How long will it take to hook up tooltips to text fields? What are the risks?
Are you the right person to do the work?  
Whiteboard: [nsbeta2-] → [nsbeta2-][nsbeta3+]
->M18
Target Milestone: Future → M18
there are two ways to fix this bug:
- hack it to return the correct value for NS_MENU_CREATE, or
- update all of Ender to use the new nsIPrivateDOMEvent api's

I'm not about to check in a hack to ender, one that if landed will probably live 
on until we rewrite the codebase again. If the ender team wants to do this, it's 
their choice and they know the hack is there.

-->beppe for triage.
Assignee: pinkerton → beppe
Status: ASSIGNED → NEW
this is on the low-hanging fruit list, assigning to sfraser to see what we can 
do, simon, let's talk
Assignee: beppe → sfraser
Priority: P3 → P4
Whiteboard: [nsbeta2-][nsbeta3+] → [nsbeta2-][nsbeta3+][p:4]
It's unlikely I can get to this. akk, can you take a look?
Assignee: sfraser → akkana
I'm not likely to have a chance either, but Anthony said we could put this on
his list.
Assignee: akkana → anthonyd
yah, I already talked to pink about this, and he said he could show me how the 
new apis have changed.  I will grab pink this week and have a 'session' with 
him.

Anthony
Status: NEW → ASSIGNED
removing nsbeta2- keyword
Whiteboard: [nsbeta2-][nsbeta3+][p:4] → [nsbeta3+][p:4]
Putting on [nsbeta2-] radar.  Bug already set for [nsbeta3+], missed PR2 train 
:-(
Whiteboard: [nsbeta3+][p:4] → [nsbeta3+][nsbeta2-][p:4]
getting off the CC spam radar...
PDT is downgrading to [nsbeta3-], this is not critical to PR3 and RTM.
Whiteboard: [nsbeta3+][nsbeta2-][p:4] → [nsbeta3-][nsbeta2-][p:4][minus]
moving to future and adding helpwanted
Keywords: helpwanted
Target Milestone: M18 → Future
not sure about this, but i'll go ahead and move it to 0.9.

anthonyd
Target Milestone: Future → mozilla0.9
setting to p3.
anthonyd
Priority: P4 → P3
pinkerton, this is one of the bugs I was telling you about.  When you get a 
chance, I want to get the new api's from you for this.

removing nsbeta stuff.
Keywords: nsbeta2, nsbeta3
Whiteboard: [nsbeta3-][nsbeta2-][p:4][minus]
bug 42404 has long been resolved, so is this still on issue? Moving to moz0.9.1
Target Milestone: mozilla0.9 → mozilla0.9.1
move to mozilla 0.9.2 since I don't see any pressing need for this at the moment.
OS: Windows 2000 → All
Hardware: PC → All
Target Milestone: mozilla0.9.1 → mozilla0.9.2
back to future for this one
Whiteboard: [ui]
Target Milestone: mozilla0.9.2 → Future
reassign to brade
Assignee: anthonyd → brade
Status: ASSIGNED → NEW
hot potato?
-->kin

is this still a bug?
Assignee: brade → kin
works4me
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.