Closed
Bug 27364
Opened 25 years ago
Closed 24 years ago
Context menu should not appear under the mouse cursor
Categories
(SeaMonkey :: General, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
M18
People
(Reporter: nathan, Assigned: german)
References
Details
Attachments
(1 file)
When a context menu is displayed, such as right clicking in the browser, the
resulting menu is directly under the mouse. I would suggest the popup should be
one pixel to the right of the mouse so a right click,
followed by a left click should clear the pop up without selecting anything. At
present the mouse appears directly over the top left corner. This then requires
the user to move the mouse if they inadvertently click the right mouse button.
I know its a minor point but I think its these little details that will start to
matter once the works fully.
Comment 2•25 years ago
|
||
Standard Windows context menus do not behave in the manner described. With
respect to the bug filed, they behave just as Mozilla's do.
Reporter | ||
Comment 3•25 years ago
|
||
Open up IE 4.0 or MS Word and right click to get the context menu. Notice the
mouse is just to the left of the context menu. A left click now removes the
menu without moving the mouse. If this is not happening for you perhaps it is
NT only. I have SP5 installed as well.
NN doesn't do this nor does mozilla.
I'm not saying it should function like this, it is just I find it easier this
way.
Comment 4•25 years ago
|
||
Well, whaddya know? Hey, I have no problem with it either way. I guess I've
just gotten used to menus appearing right under the mouse, so to cancel them I
always move my mouse first.
Comment 5•25 years ago
|
||
I've got a patch to implement this, if someone wants it. I'll attach it as soon
as I pull a fresh tree. The more I use this, the more that I like it.
Comment 6•25 years ago
|
||
Reporter | ||
Comment 7•25 years ago
|
||
Does this fix take into account the situation where context menu appears next to
the right hand/bottom edge ?
In these cases it shouldn't be +1 pixels.
Comment 8•25 years ago
|
||
Yep. If it's against the right or bottom edge, or both edges, the menu is
positioned so that it's fully on-screen. If it's only against one of the edge,
it's still moved one pixel in the other direction. For example, if it's against
the right edge of the screen only, the menu is still moved down one pixel so
that you can click on the window to dismiss it.
The nice thing is that I (luckily) didn't have to worry about that - it's
handled elsewhere.
Comment 9•25 years ago
|
||
On Windows 2000 and NC 4.71 (can't use 4.72 since they broke major mail
functionality), context menus *are* directly under the mouse cursor.
Reporter | ||
Comment 10•25 years ago
|
||
NN puts the context menu directly under the mouse on all versions (of Windows).
The question is would it be an improvement to have it moved slightly.
I think it would, and dean appears to agree with me. The rest of humanity may
not, in which case this enhancement should be ditched ...
Comment 11•25 years ago
|
||
On Windows, my main point of reference, Office 2000 apps and and IE 5 position
the context menu as Nathan describes. Given that a large portion of our user
base will probably use these apps as well, it wouldn't be a foreign concept to
them. I made the patch, and it works well, but eventually someone will have to
decide whether or not this makes it in.
Comment 12•25 years ago
|
||
reassign it to german to address overall context menu issues.
Assignee: shuang → german
Comment 14•24 years ago
|
||
in order to get stuff out of my list, i'm going to just going to check it in.
thanks for the patch, dean!
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 15•24 years ago
|
||
2 pixels instead of 1... OK, I can live with that.
Comment 16•24 years ago
|
||
Hmmm... now that I look more closely at the latest Office apps - which I
admittedly should have done much earlier - I see that they actually leave X at
cursor.X and inc Y by 1. Much more subtle than inc'ing both X and Y by 2.
Updated•24 years ago
|
QA Contact: sairuh → mpt
Comment 17•24 years ago
|
||
Based on my wayyy back comments from 2000-05-08, I'd like to re-open this for
comments. I'd rather have the distance that the menu is placed from the pointer
be much more subtle, like the (0,1) pixels that I described not the (2,2) pixels
that it is currently.
Comments...?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 18•24 years ago
|
||
I'd much prefer the windows standard which can be discerned from notepad,
common dialogs and explorer. Anything else is in violation of the norm and
should be bugged.
fwiw the standard is of course that the top left pixel of the menu coresponds
to the mouse cursor position.
People use the right mouse button because they intend to get a popup menu, not
because they want to confuse programs.
Comment 19•24 years ago
|
||
Crap. Looking at IE 5.5, the context menu appears offset by (2,2). I guess us
doing the same thing is OK, then. Changing status back to Fixed.
Status: REOPENED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → FIXED
Comment 20•24 years ago
|
||
Chaning the qa contact on these bugs to me. MPT will be moving to the
owner of this component shortly. I would like to thank him for all his hard
work as he moves roles in mozilla.org...Yada, Yada, Yada...
QA Contact: mpt → zach
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•