Closed
Bug 84121
Opened 23 years ago
Closed 22 years ago
Submenu of scrollable menu is positioned one menu row too low
Categories
(Core :: XUL, defect, P2)
Tracking
()
VERIFIED
WORKSFORME
mozilla1.1alpha
People
(Reporter: ajbu, Assigned: bugs)
References
()
Details
(Keywords: intl, regression, relnote, Whiteboard: Have r=, looking for sr=)
Attachments
(5 files, 2 obsolete files)
Mozilla build 2001060420, Windows 2000
I mentioned this before on bug 66848 (2001-03-31 06:46), filing this as a new
bug after the checkin of bug 78409.
if a submenu of a scrollable menu is 'bounced' of the bottom of the screen, or
the
submenu is so large it is a scrollable submenu itself, it is positioned (one
menurow?) to low.
So a big scrollable submenu (larger then the height of the screen is positioned
(top=1, bottom=screenheight+1, height=screenheight) instead of (top=0,
bottom=screenheight).
Submenu’s aligned to the bottom of the screen are aligned to (screenheight+1)
instead screenheight. This seems independent of the scrolled position of the
scrollable menu.
Steps to reproduce:
1) Create a bookmark menu so large it becomes scrollable
2) Create a submenu of that scrollable menu so this would be large enough to go
beyond the bottom of the screen
3) Open the bookmark menu and the submenu
Actual results: The submenu is positioned to low, the last row of the submenu
is offscreen
Expected results: Submenu completely visible on the screen.
See the screenshots:
http://bugzilla.mozilla.org/showattachment.cgi?attach_id=29376
http://bugzilla.mozilla.org/showattachment.cgi?attach_id=29375
(Screenshots where created with an earlier build, but seeing the same in build
2001060420)
Comment 1•23 years ago
|
||
ajbu, can you attach a bookmarks file that exhibits this? that'll make it easier
to debug and fix.
Target Milestone: --- → mozilla0.9.3
Comment 3•23 years ago
|
||
Does this mean that the incorrectly positioned menu can have items that are not
selectable?
On my screen the top two pixels of the last menu item (or the scroll arrow if
that menu is scrollable itself) are visible, so it can be selected but the text
of that item is not visible so this might not be very usefull. The item can
also be reached with the cursur keys.
Note that the size of the bookmark list needed to make it scrollable depends on
the screen and font settings.
The effects of bug 75142 (when opening a bookmarks menu that needs scroll
arrows, ALL parent menus get scroll arrows ) might also give insight:
When making the bookmark menu smaller so it fits on the screen, 'Test Folder'
is positioned correctly. When opening an submenu that needs scroll arrows, the
bookmark menu is also given scroll arrows, and 'Test Folder' is shifted down.
No longer blocks: 78409
Comment 6•23 years ago
|
||
over to ben.
Assignee: pinkerton → ben
Summary: Submenu of scrollable menu is positioned one menu row to low → Submenu of scrollable menu is positioned one menu row too low
Comment 7•23 years ago
|
||
marking new. As noted above, all items on the bookmarks can be selected, but
the bottom-most item on a submenu is partially off the bottom of the screen,
and the text is generally not readable (win32/linux/mac(personal toolbar
bookmarks, top level OK) on both branch and trunk). It's worse in Classic
than in Modern (where it is partially readable).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•23 years ago
|
Comment 9•23 years ago
|
||
Comment 10•23 years ago
|
||
> Naoki Hotta wrote:
> This has to be fixed for RTM. Looks like a xptoolkit problem.
Yung-Fong Tang wrote:
> why?
Naoki Hotta wrote:
The problem is not only the arrow is missing but also you cannot see
what is selected, so it is realy hard to select the right charset (i.e.
the feature is not really functioning).
Comment 11•23 years ago
|
||
*** Bug 84777 has been marked as a duplicate of this bug. ***
Comment 12•23 years ago
|
||
removed myself from this bug as I was CC'd in error (wrong email address)
Comment 13•23 years ago
|
||
sorry about the mistake, adding jaimejr@netscape.com to cc.
Comment 14•23 years ago
|
||
*** Bug 85180 has been marked as a duplicate of this bug. ***
Comment 15•23 years ago
|
||
Nhotta - Is this i18n issue, or a CORE issue?
Comment 16•23 years ago
|
||
Jaime, this is a core issue but it affects i18n feature (mail folder property to
set a folder charset shown in the attachment on 06/08/01 10:14).
Comment 17•23 years ago
|
||
in 2001-06-11-04 build i am not able to use up and down arrows to scroll in a
Folder charset dlgbox as a workaround, it makes folder charset practically
unusable ( since this bug was introduced we at least had a workaround)
Comment 18•23 years ago
|
||
Changing the severity to major. This bug does not allow users to set their
character encoding by mail folder. However, we can note the workaround, whish is
to scroll with the up and down keys, as oospoossed to the mouse.
Nominate fror M0.9.3 | P2.
Vishy - Let's try and get this one, if all other work has been completed for
M0.9.2. Pls set priority to P2.
Severity: normal → major
Keywords: correctness
Comment 19•23 years ago
|
||
correctness with 2001-06-12-04 build:i am able to navigate again with up and
down arrows (meaning that we still have a workaround...) and can use the folder
charset... though it would be good to fix it :-)
Comment 20•23 years ago
|
||
nav triage team:
Marking nsbeta1+ and p2. Note, on a mac commercial build, the menu is drawn past
the bottom of the screen, so if you move the cursor below the bottom of the last
menu item, you can scroll the menu down.
Keywords: nsbeta1+
Priority: -- → P2
Comment 21•23 years ago
|
||
nav triage: not critical for netscape 6.1 rtm, -> m1.0.
Target Milestone: mozilla0.9.3 → mozilla1.0
Comment 22•23 years ago
|
||
*** Bug 89112 has been marked as a duplicate of this bug. ***
Comment 23•23 years ago
|
||
From 89112, attachment 41087 [details] has another screenshot.
Comment 24•23 years ago
|
||
*** Bug 89752 has been marked as a duplicate of this bug. ***
Comment 25•23 years ago
|
||
*** Bug 89867 has been marked as a duplicate of this bug. ***
Comment 26•23 years ago
|
||
*** Bug 93796 has been marked as a duplicate of this bug. ***
Comment 27•23 years ago
|
||
Due to this problem, it makes folder charset UI very hard to use (see this
screen shot
http://bugzilla.mozilla.org/showattachment.cgi?attach_id=37665).
Nominating for nsbranch.
Keywords: nsBranch
Comment 28•23 years ago
|
||
*** Bug 95738 has been marked as a duplicate of this bug. ***
Comment 29•23 years ago
|
||
*** Bug 87533 has been marked as a duplicate of this bug. ***
Comment 30•23 years ago
|
||
Marking mostfreq at 10 dups.
Nominating mozilla0.9.5 as this is a very visible bug.
Keywords: mostfreq,
mozilla0.9.5
Comment 31•23 years ago
|
||
Pchen - This is getting a lot of dupes reported against it. I agree with Jacek
nomination for M0.9.5. Let's fix this one.
Comment 32•23 years ago
|
||
ok, we'll try to get this done for 0.9.5 but no guarantees, marking mozilla0.9.5
Target Milestone: mozilla1.0 → mozilla0.9.5
Comment 33•23 years ago
|
||
I may like mucking with menus, but Jan's better-versed with these scrolling
suckers. Jan, any idea on this one?
Comment 34•23 years ago
|
||
Menupopup probably doesn't know about up and down arrow
Comment 35•23 years ago
|
||
some debug info:
method GetViewOffset() returns y value like this:
360 - when bookmarks menu is not scrollable
600 - when bookmarks menu is scrollablethis value is used to position submenu
Comment 36•23 years ago
|
||
I think Ben understands this code much better.
Comment 37•23 years ago
|
||
*** Bug 96905 has been marked as a duplicate of this bug. ***
Comment 38•23 years ago
|
||
Ben - What's the status on this one? We'd like to have afix ASAP (i.e. No late
then the end of the week). If this can be completed by Friday, please work with
you Manager to get this one nsbranch+.
Comment 39•23 years ago
|
||
Marking nsbranch- as it was decided in the August bug triage that we wouldn't
have eenough time in eMojo to fix this. Let's revisit for MachV.
Keywords: nsbranch-
Comment 40•23 years ago
|
||
removing redundant nsbranch keyword, ->0.9.6
Keywords: nsbranch
Target Milestone: mozilla0.9.5 → mozilla0.9.6
Comment 41•23 years ago
|
||
please also see 100986
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: mozilla0.9.6 → mozilla1.0
Comment 42•23 years ago
|
||
this is a very important fix from the intl point of view, the folder properties
( its charset) can not be changed, the workaround would be to use up and down
arrow keys but this is not that evident to every user, more over we started to
get bugs where people are complaining about they Inbox being blank because the
encoding suddenly switched to Arabic and they are not able to change it. it
might happen that this new bug is not caused by 84121 but without this one being
fixed we can not verify that.
Comment 43•23 years ago
|
||
Your workaround does not consistently "fix" the display problem.
Comment 44•23 years ago
|
||
even more reason to fix this bug!
Comment 45•23 years ago
|
||
Nominating for nsbeta1 since it's very inconvenient for users to select a folder
charset from View | Folder Character Coding.
Keywords: nsbeta1
Comment 46•23 years ago
|
||
*** Bug 88555 has been marked as a duplicate of this bug. ***
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla1.0 → mozilla1.1
Comment 47•23 years ago
|
||
Adding relnote keyword. This is a pretty frequent bug, so we should mention
that we know about it.
Keywords: relnote
Comment 48•23 years ago
|
||
There were a couple problems at work here.
1. The ySpillage wasn't taking into account the fact that the menu is offest
down in the y direction by the height of the combobox.
2. The wrong value was being used for the size of the screen (screenheight
should be used)
I also fixed another bug where if you moved the dialog off screen and popped
down the menu, it was bigger than the screen.
This case should have checking for bigger than screen as well.
Looking for review.
Comment 49•23 years ago
|
||
The fix has an mismatched parenthesis. I'll post the corrected file. Otherwise
looks OK.
Comment 50•23 years ago
|
||
Attachment #60202 -
Attachment is obsolete: true
Comment 51•23 years ago
|
||
Attachment #60288 -
Attachment is obsolete: true
Comment 52•23 years ago
|
||
Kinda makes sense to me, I guess. Does it fix the problem with the submenus of
scrollable menus (screenshots in initial report and testcase is the first
attachment), as well as the menulist problem that brought you here?
Comment 53•23 years ago
|
||
I applied the patch to my CVS tree (WindowsME). Seems it cures all the problem
of vanishing lower ends of 2nd tier bookmark lists and submenus (like Message ->
Move -> or View -> Encode ->)
Comment 54•23 years ago
|
||
r=dean_tessman@hotmail.com, assuming you've tested the heck out of it.
Comment 55•23 years ago
|
||
As I test this for two days with no side effect, like the logic behind the
changes, and my input to the patch is only one character deleted, I believe I
can give it a second positive review (r=piskozub@iopan.gda.pl)
Keywords: mozilla0.9.5 → mozilla0.9.7
Whiteboard: Have r=, looking for sr=
Comment 56•23 years ago
|
||
Adding hyatt to CC: hoping for a sr= review (I believe the only peer of this
component who has sr= priviledges)
Comment 57•23 years ago
|
||
*** Bug 85409 has been marked as a duplicate of this bug. ***
Comment 58•23 years ago
|
||
*** Bug 115188 has been marked as a duplicate of this bug. ***
Comment 59•23 years ago
|
||
*** Bug 117152 has been marked as a duplicate of this bug. ***
Comment 60•23 years ago
|
||
hyatt, blake, ben... can one of you sr=? This is a fairly visible bug.
Comment 61•23 years ago
|
||
*** Bug 97551 has been marked as a duplicate of this bug. ***
Keywords: mozilla0.9.8
Comment 62•23 years ago
|
||
*** Bug 118107 has been marked as a duplicate of this bug. ***
Comment 63•23 years ago
|
||
*** Bug 118505 has been marked as a duplicate of this bug. ***
Comment 64•23 years ago
|
||
Any chance for sr=? This bug has already 23 dups :-(
Comment 65•23 years ago
|
||
sr=hyatt.
Comment 66•23 years ago
|
||
checked in
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 67•23 years ago
|
||
This doesn't look like quite the right fix. Using the testcases in bug 100986,
the first menu isn't long enough and the second two are still too long. Plus,
my scrolling bookmarks menu is one row too short, similar to the first testcase
in 100986.
Comment 68•23 years ago
|
||
This does fix the original case in 100986 (the charset menu in mail folder
properties) but itdoes not fix the testcases.
The testcase might be another issue.
Comment 69•23 years ago
|
||
Yes, it fixes that one menulist. And it fixes the large scrolling sub-menu of
my bookmarks menu, which was the original report in this bug. But my scrolling,
top-level bookmarks menu is now one row too short.
Comment 70•23 years ago
|
||
It is still too low in a couple of places in my bookmarks file. It is better,
but still not fixed.
Comment 71•23 years ago
|
||
*** Bug 119811 has been marked as a duplicate of this bug. ***
Comment 72•23 years ago
|
||
I still see this. The menu goes too far down and I can't read the last menuitem.
Status: RESOLVED → REOPENED
OS: Windows 2000 → All
Resolution: FIXED → ---
Comment 73•23 years ago
|
||
In 0.9.8, I'm not only getting the top level menu one line too short, but the
other menus are still one line too far down--just in a different way. The extra
line, instead of just falling off the bottom of the screen, causes a scroll
arrow to appear and lets me scroll down by 1 line. (The menus are short enough
that if they were properly positioned on the screen, they wouldn't need scroll
arrows.)
The scroll arrow itself is almost at the right spot, so if the last line was
simply placed where the scroll arrow is, it would be nearly correct...
Comment 75•23 years ago
|
||
It seems like if the menu width is narrow and you have a lot of bookmarks, it
doesn't give you arrows unless you have a certain amount of bookmarks. It then
hides the submenu below the screen while it should move it up to fit on the
screen. Anyone else see this problem? I think this bug is easy to notice and
since just about everyone uses the bookmarks menu that this bug is considered
very important to Mozilla1.0.
Keywords: mozilla1.0
Comment 76•23 years ago
|
||
*** Bug 129572 has been marked as a duplicate of this bug. ***
Updated•23 years ago
|
Keywords: mozilla0.9.7,
mozilla0.9.8
Comment 77•23 years ago
|
||
This is an example bookmark file that I created that shows the bug.
Comment 78•23 years ago
|
||
Comment 79•23 years ago
|
||
I confirm comment #73 on W2K, build 2002041206. When menu touches windows'
Taskbar, it creates up/down scroll arrows for 1 item. Instead, menu should
display one more line. See attached screenshot.
Comment 80•23 years ago
|
||
I see the same on Win 98 SE; Moz 1.0 RC1 and i've seen it quite a while as shown
in attachment 79046 [details].
The displayed menu shows scroll arrows where it would not be necessary, actually
producing a larger menu then if showing it without any scrolling.
I would think this is an other bug then the original one, but I don't know if
it's related. Maybe someone should change the summary.
Comment 81•23 years ago
|
||
Attachment 79046 [details] is bug 135076. There's a patch there, and I wonder if it might
end up fixing this bug as well. That patch should be checked in any time now,
so we'll know the answer soon.
Comment 82•23 years ago
|
||
Just tested Mozilla 1.0 RC3 and this bug has been fixed. Marking WORKSFORME.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → WORKSFORME
Comment 83•23 years ago
|
||
I downloaded Mozilla build 2002052404 and tested for this bug. The bug is still
here in the same form. There are still numerous instances when text is not fully
displayed. So, it is still not fixed and does not work for me.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Comment 84•23 years ago
|
||
Really? I imported the large bookmarks file (attachment 37223 [details]) into my
bookmarks. The main Bookmarks menu displays properly, as does the "Test Folder
(big)" submenu. This is off of both the Bookmarks menu and the Bookmarks button
on the personal toolbar.
Comment 85•22 years ago
|
||
Is this still an issue? mkaply fixed something related to this a while back.
Comment 86•22 years ago
|
||
This is fixed.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 22 years ago
Resolution: --- → WORKSFORME
Comment 88•22 years ago
|
||
*** Bug 118015 has been marked as a duplicate of this bug. ***
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•