Closed Bug 295223 Opened 20 years ago Closed 20 years ago

Bookmark menu collapses when hovering folder in level 1, quickly marking another folder in level 1, and then hovering folder in level 2 (subfolder of first folder).

Categories

(Core :: XUL, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla1.9alpha1

People

(Reporter: michael, Assigned: masayuki)

References

(Depends on 1 open bug)

Details

Attachments

(3 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050521 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050521 Firefox/1.0+ Consider the following bookmark folder structure: Folder 1 - Random bookmark - Folder 2 - Random bookmarks - Random bookmarks Folder 3 If you hover folder 1, then quickly move over folder 3, whiout folder 3 expanding and then again quickly over folder 2.. Then when folder 2 should expand, the bookmark menu collapses instead. It's kinda hard to explain, but please ask, if there's something you don't understand. Reproducible: Always Steps to Reproduce: 1. Use the suggested folder structure (example should be attached as bookmark.html ...) 2. Hover the folder 1, so that it expands. 3. Quickly move the folder over folder 3, whitout making it expand, then quickly 4. Hover folder 2, whitout moving over any bookmarks in folder 1. Wait until folder 2 should expand. Actual Results: Bookmark menu collapses Expected Results: Folder 2 should have expanded. I have checked that the bug exists in the release version of Firefox 1.0.4 - and it does.
I confirm this with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050523 Firefox/1.0+ and 1.0.4 .
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: unspecified → Trunk
gmcbugzilla@sympatico.ca: Please don't confirm bugs unless you can identify the correct component in which they belong. Related: bug 67955.
Component: Bookmarks → XP Toolkit/Widgets: Menus
Depends on: 67955
OS: Windows XP → All
Product: Firefox → Core
QA Contact: bookmarks → xptoolkit.menus
Hardware: PC → All
taking. I will create the patch.
Assignee: nobody → masayuki
Priority: -- → P3
Target Milestone: --- → mozilla1.9alpha
Status: NEW → ASSIGNED
Attached patch Patch rv1.0Splinter Review
Currently, when timer notify, we judge the opened menu is active or inactive. But the way is not good. In the way, if most descendant menu item is active, the menu is active. If not so, inactive. But when the sub-menu opened, the most descendant menu is not inactive. But for user, the sub-menu is active. Therefore, I changed the way, we should not judge when timer notify. We should cancel the timer when descendant menu item is activated.
Attachment #192676 - Flags: superreview?(bryner)
Attachment #192676 - Flags: review?(bryner)
Comment on attachment 192676 [details] [diff] [review] Patch rv1.0 >--- layout/xul/base/src/nsIMenuParent.h 18 Apr 2004 14:30:36 -0000 1.24 >+++ layout/xul/base/src/nsIMenuParent.h 14 Aug 2005 16:12:20 -0000 >@@ -35,19 +35,19 @@ > * the terms of any one of the MPL, the GPL or the LGPL. > * > * ***** END LICENSE BLOCK ***** */ > > #ifndef nsIMenuParent_h___ > #define nsIMenuParent_h___ > > >-// {D407BF61-3EFA-11d3-97FA-00400553EEF0} >+// {0D1F2281-A530-419c-AE2C-21672590A9EC} > #define NS_IMENUPARENT_IID \ >-{ 0xd407bf61, 0x3efa, 0x11d3, { 0x97, 0xfa, 0x0, 0x40, 0x5, 0x53, 0xee, 0xf0 } } >+{ 0xd1f2281, 0xa530, 0x419c, { 0xae, 0x2c, 0x21, 0x67, 0x25, 0x90, 0xa9, 0xec } } Just one minor thing, for consistency, leave a leading 0 on the first struct member.
Attachment #192676 - Flags: superreview?(bryner)
Attachment #192676 - Flags: superreview+
Attachment #192676 - Flags: review?(bryner)
Attachment #192676 - Flags: review+
checked-in.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
now we can reproduce this bug again. see bug 387142. # don't reopen this bug.
Depends on: 405658
Component: XP Toolkit/Widgets: Menus → XUL
QA Contact: xptoolkit.menus → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: