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)

PowerPC
Mac System 8.5
defect

Tracking

()

VERIFIED DUPLICATE of bug 11586

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)
Depends on: 14476
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.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
*** This bug has been marked as a duplicate of 11586 ***
Status: RESOLVED → REOPENED
Depends on: 11586
Resolution: DUPLICATE → ---
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.
Status: REOPENED → RESOLVED
Closed: 26 years ago26 years ago
Resolution: --- → DUPLICATE
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 ***
No longer depends on: 11586
Status: RESOLVED → VERIFIED
[bugday] verifying duplicate. I've read through them and bug 9454 when combined with bug 11586 cover all the aspects of this bug.
You need to log in before you can comment on or make changes to this bug.