Open Bug 301482 Opened 19 years ago Updated 2 years ago

Tooltip should not directly reappear after clicking on an element with a titletip

Categories

(Core :: Layout, defect)

x86
Windows XP
defect

Tracking

()

People

(Reporter: martijn.martijn, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

Normally when hovering over an element with a titletip, you get a tooltip.
However, after clicking on the element, you get different behaviors in browsers.

In Opera8, the tooltip won't reappear until after you've left the element and
hovered over again.
This is also the case for IE6, but only for the chrome area, for the content
area it is the same as for Mozilla currently.
Attached patch patchSplinter Review
This makes Mozilla behave like Opera8.
Boris, do you have any idea about this behavior? Is this wanted for Mozilla? Do
you know any person, who can decide?
Sounds like a ui person kinda thing to decide...
Assignee: nobody → martijn.martijn
Attachment #189934 - Flags: review?(beltzner)
Mike, what do you think about the patch.
Alternatively, the tooltip appearing could be disabled while the mouse button is pressed. I think that could prevent stray tooltips appearing at linux and mac while dragging bookmarks, for instance.
(In reply to comment #4)
> I think that could prevent stray tooltips appearing at linux and
> mac while dragging bookmarks, for instance.

[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9b4pre) Gecko/2008022702 SeaMonkey/2.0a1pre] (nightly) (W2Ksp4)

This is now the case on Windows too: see bug 420341 comment 0.
Flags: blocking1.9?
Sounds like this should be decided by UI owners, not by the blocking1.9? nomination process.
Flags: blocking1.9? → blocking1.9-
(In reply to comment #4)
> Alternatively, the tooltip appearing could be disabled while the mouse button

That is the behavior I get with Windows MsIE v6 while D&Ding a bookmark within a menu.

> is pressed. I think that could prevent stray tooltips appearing at linux and
> mac while dragging bookmarks, for instance.

Could you provide such a patch, as you suggested in bug 420341 comment 2 ?
Comment on attachment 189934 [details] [diff] [review]
patch

See previous comments about if this is what/how we want or not.
Attachment #189934 - Flags: review?(jag)
(In reply to comment #7)
> Could you provide such a patch, as you suggested in bug 420341 comment 2 ?

Serge, it turns out this is bug 312852, I'll attach a patch there.
It's related to this bug, so I'm adding a dependancy.
Depends on: 312852
Depends on: 423878
Comment on attachment 189934 [details] [diff] [review]
patch

Obsoleting, per comment 9:
bug 312852 does have an "updated" version of this patch.
Attachment #189934 - Attachment is obsolete: true
Attachment #189934 - Flags: review?(jag)
Attachment #189934 - Flags: review?(beltzner)
Well, the patch attached to this bug was a slightly different variant, namely what this bug title was about. I was trying to get ui-review from Beltzner for it, to see what his opinion was about it.
Maybe undo my obsoleting ... or set the review request on the new patch:
I though it confusing to have two patches almost the same in two different bugs...
Comment on attachment 189934 [details] [diff] [review]
patch

Yeah, it's a bit confusing, I know.
But I think I still would like this behavior.
Attachment #189934 - Flags: ui-review?(beltzner)
Comment on attachment 189934 [details] [diff] [review]
patch

Unobsoleting, since martijn set "ui‑review=?" (back).

The differences I see between the two patch:
*2005 <-> 2008 code: minor bitrot I guess.
*|mHadMouseDown| <-> |mIsMouseDown| var. name.
*(nothing) <-> |MouseUp()| too.

To reduce confusion, I feel like having a few words of yours about how the behavior differs between the two patches would help ... as we can obviously keep only one of then in the end.
Attachment #189934 - Attachment is obsolete: false
Well, see comment 0. That's mainly what this bug is about.
Comment on attachment 189934 [details] [diff] [review]
patch

This patch isn't technically correct, although I would still like to have an opinion if this bug is something we want.
Attachment #189934 - Flags: ui-review?(beltzner)
(In reply to comment #15)
> Well, see comment 0. That's mainly what this bug is about.

Sure, but that does answer my question about the two patches;
then, maybe I'm the only one "confused" here.
(Forget about it: as long as we get some progress in one of the bugs...)
(In reply to comment #17)
> Sure, but that does answer my question about the two patches;

s/does/does not/

Mass-removing myself from cc; search for 12b9dfe4-ece3-40dc-8d23-60e179f64ac1 or any reasonable part thereof, to mass-delete these notifications (and sorry!)

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: martijn.martijn → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: