Closed Bug 286796 Opened 20 years ago Closed 20 years ago

Tab context menu's get cut off at the bottom of the screen

Categories

(Core :: XUL, defect)

x86
All
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 256505

People

(Reporter: Gijs, Unassigned)

Details

Attachments

(1 file)

1.26 KB, application/vnd.mozilla.xul+xml
Details
When opening a context menu on a tab in ChatZilla (don't have any better
testcase at the moment), the context menu always opens downwards, even if
ChatZilla is maximized. This causes half the context menu to be invisible,
because the screen is simply not big enough. This problem seems to only occur on
tabs, not on html pages or other items which have a context menu.

The problem occurs only on trunk builds (not on FF 1.0 / 1.0.1 or the Mozilla
1.7.* releases), when using the latest version of ChatZilla (0.9.67), though
other versions of ChatZilla may have the same problem (untested).

tH tracked the problem down to the Suite nightly of 2004-07-28, so our guess is
that something broke inbetween that build and the 2004-07-27 one (which works).

Steps to reproduce:
1. Get a nightly build past 2004-07-27, and install ChatZilla 0.9.67 on it
(which attempts to be entirely backwards compatible back to Mozilla 1.0, so it
should just work)
2. Open ChatZilla after the obligatory restarts, and maximize the window.
3. Right click your *client* tab if you still have it, or any tab of the servers
you automatically open at startup.

Actual results:
The context menu opens downwards, off the edge of the screen.

Expected results:
Open upwards so that all menuitems would be visible.

I'm guessing some CVS commit between the 2004-07-27 and 2004-07-28 builds broke
it, but I'm not familiar enough with the core of Mozilla to find out which did.
One day regression timeframe 2004-07-27 / 2004-07-28
You don´t have buildIDs to reduce it to hours?

Normally, builds for windows would be 2004072707 and 2004072807
http://archive.mozilla.org/pub/mozilla/nightly/2004-07-27-07-trunk/ is empty, as
the other 5 trunk folders for the timeframe above. Seems all but 1.7 builds is
deleted in the archive.

checkins in that two-day-timeframe:
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=SeaMonkeyAll&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2004-07-27+00%3A00&maxdate=2004-07-28+23%3A00&cvsroot=%2Fcvsroot
Actually, I was using Firefox builds for testing. The 2004072708 build worked
okay, the menus get cut off as described in the 2004072812 build.
(In reply to comment #2)
> Actually, I was using Firefox builds for testing. The 2004072708 build worked
> okay, the menus get cut off as described in the 2004072812 build.

I´m seeing the bug on current Mozilla Suite trunk, so I assume it is not Firefox
specific. Your new timing reduces the number of people from 16 to 11:
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=SeaMonkeyAll&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2004-07-27+05%3A00&maxdate=2004-07-28+12%3A00&cvsroot=%2Fcvsroot
Attached file attempt for testcase
Tried to make a simple testcase, seeing as ChatZilla uses rather complicated
code for menu's. This testcase still produces the bug on mozilla's 2005-03-18
zip windows build, didn't test further.

*** This bug has been marked as a duplicate of 256505 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: