Closed
Bug 16765
Opened 26 years ago
Closed 26 years ago
Context menus don't scroll at bottom/right of screen
Categories
(Core :: XUL, defect, P3)
Tracking
()
People
(Reporter: mpt, Assigned: trudelle)
References
Details
A context menu of size x by y pixels, if called for when the mouse pointer is
less than y pixels from the bottom of the screen or less than x pixels from the
right side of the screen, falls off the edge of the screen.
OBSERVED IN
MacOS apprunner, 1999-10-18 build.
STEPS TO REPRODUCE
Start apprunner, and move the window so that some of it falls off, or is close
to, the bottom-right corner of the screen. Activate a context menu near the right
side, or the bottom, of the screen.
WHAT HAPPENS
The menu is drawn beginning at the mouse pointer, with the result that some of it
is off the edge of the screen.
WHAT SHOULD HAPPEN
(1) If the mouse pointer is closer than x pixels to the right of the screen, or
closer than y pixels to the bottom of the screen, move the intended menu panel
position by the minimum necessary to keep it all on the screen. Draw the menu
panel.
(2) Draw the first menu item 1~2 pixels below the mouse pointer. This is the same
as saying `at the top of the menu' (since the menu begins 1~2 pixels southeast of
the mouse pointer), UNLESS the menu has been moved upward by step (1), in which
case it will be vertically in the middle of the menu somewhere.
(3) If the special case in (2) applies, include a scroll triangle at the bottom
of the menu, which -- when moused over for more than about 0.25 seconds --
scrolls the rest of the menu into the menu panel, and itself disappears.
(4) If and when the menu reaches this fully-visible state, leave it like this
regardless of where the mouse pointer goes.
If in doubt, run 4.x on a Mac and observe how MacOS does it. :-)
-- mpt (extra keywords: popup, right-click)
Comment 1•26 years ago
|
||
Generically, this Bug report looks like a DUP of Bug 9454, but
under "WHAT SHOULD HAPPEN" is some Mac-specific detail that a
fix candidate for 9454 may want to be checked against.
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
Updated•26 years ago
|
Resolution: DUPLICATE → ---
Comment 3•26 years ago
|
||
With respect to michael.lowe, removing duplicate, but adding dependency from this
bug to bug 11586.
Bug 11586 deals with part of the solution to this problem (scrolling menus); but
it does not discuss the problem itself -- context menus falling off the screen.
Implementation of scrolling menus would not, by itself, fix this bug.
Updated•26 years ago
|
Status: REOPENED → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → DUPLICATE
Comment 4•26 years ago
|
||
True, that part of your bug is a dup of bug #9454, which is already a dependency
for bug #11586.
*** This bug has been marked as a duplicate of 11586 ***
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 5•26 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•