Closed
Bug 397111
Opened 17 years ago
Closed 17 years ago
Places Organizer , next menu won't expand when the pointer gets there
Categories
(Firefox :: Bookmarks & History, defect, P3)
Tracking
()
VERIFIED
FIXED
Firefox 3 beta3
People
(Reporter: Peter6, Assigned: martijn.martijn)
References
Details
(Whiteboard: [has patch][has review])
Attachments
(1 file, 1 obsolete file)
2.65 KB,
patch
|
mak
:
review+
|
Details | Diff | Splinter Review |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a8pre) Gecko/2007092112 Minefield/3.0a8pre ID:2007092112
repro:
Open FF
menu [Bookmarks] -> [Organize Bookmarks]
In the Places Organizer window click on menuitem [Organize] (the menu expands)
move the pointer to the right, over [Views] or [Import and Backup]
result:
The [Organize] does not collapse and [Views] or [Import and Backup] don't expand
expected:
behave like main menubar in FF
Updated•17 years ago
|
Flags: blocking-firefox3?
Updated•17 years ago
|
Flags: blocking-firefox3? → blocking-firefox3+
Priority: -- → P3
Updated•17 years ago
|
Target Milestone: --- → Firefox 3 M11
Comment 4•17 years ago
|
||
This patch has been posted by on Bug 406574
He said:
> Press "Organize" in Places Organizer. A menu will show up. Drag the mouse to
> the right. I would expect "Views" to pop up now, but this does not happen.
>
> This makes it work for me. I basically copied this from bug 203556.
>
Attachment #291427 -
Flags: review?(mano)
Updated•17 years ago
|
Assignee: nobody → martijn.martijn
Updated•17 years ago
|
Status: NEW → ASSIGNED
Comment 6•17 years ago
|
||
Comment on attachment 291427 [details] [diff] [review]
patch by Martijn Wargers
>Index: browser/components/places/content/places.js
>===================================================================
>+var PlacesToolbar = {
>+ // make places toolbar act like menus
>+ openedMenuButton: null,
>+ autoOpenMenu: function (aTarget)
>+ {
>+ if (this.openedMenuButton &&
>+ this.openedMenuButton != aTarget &&
>+ aTarget.localName == "toolbarbutton" &&
>+ (aTarget.type == "menu" ||
>+ aTarget.type == "menu-button")) {
in fewer lines please, could also just check the "menu-button" case.
r=mano otherwise.
Attachment #291427 -
Flags: review?(mano) → review+
Updated•17 years ago
|
Whiteboard: [has patch][has review][needs final patch for landing]
Comment 8•17 years ago
|
||
(In reply to comment #4)
> Created an attachment (id=291427) [details]
> patch by Martijn Wargers
I tested the patch.
It seems good for me.
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b3pre) Gecko/2007122311 Minefield/3.0b3pre
Comment 9•17 years ago
|
||
Martjin i hope you don't mind if i addressed review comments in your patch (only changed some newline)
Mano: menu check cannot be taken away, making only menu-button check does not work
bringing over Mano's review
Attachment #291427 -
Attachment is obsolete: true
Attachment #294416 -
Flags: review+
Comment 10•17 years ago
|
||
notice that the toolbar acts like a menu with mouse but not with keyboard right/left cursor (should i fill a bug on that?)
Keywords: checkin-needed
Updated•17 years ago
|
Whiteboard: [has patch][has review][needs final patch for landing] → [has patch][has review]
Comment 11•17 years ago
|
||
(In reply to comment #10)
> notice that the toolbar acts like a menu with mouse but not with keyboard
Maybe we should use an actual menubar from the start?
Comment 12•17 years ago
|
||
(In reply to comment #11)
> (In reply to comment #10)
> > notice that the toolbar acts like a menu with mouse but not with keyboard
>
> Maybe we should use an actual menubar from the start?
>
I would vote for this, too. I guess the Mac version will try to style it as a menu too, and there is a bug to remove the icons for Linux builds.
Assignee | ||
Comment 13•17 years ago
|
||
Checking in places.xul;
/cvsroot/mozilla/browser/components/places/content/places.xul,v <-- places.xul
new revision: 1.100; previous revision: 1.99
done
Checking in places.js;
/cvsroot/mozilla/browser/components/places/content/places.js,v <-- places.js
new revision: 1.120; previous revision: 1.119
done
Marco, thanks for updating the patch. I checked this in now.
There is probably a bug filed for using a normal menubar instead.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•17 years ago
|
Keywords: checkin-needed
Comment 15•17 years ago
|
||
[[ there is a bug to remove the icons for Linux builds ]]
What icons?
Comment 16•17 years ago
|
||
The icons in front of the "menus"/buttons (Organize, View, Import). The current icons normally have other meanings, so they don't really help at all.
Comment 17•17 years ago
|
||
So, Firefox must send request for icons (to freedesktop).
Comment 18•17 years ago
|
||
No, Firefox should be using a good old menu bar without icons. That's the underlying issue and "There is probably a bug filed" isn't really satisfying, which is why I wouldn't have resolved this bug. Re-implementing all menu bar features to emulate the correct behavior can't be the way to go.
Assignee | ||
Comment 19•17 years ago
|
||
"There is probably a bug filed" isn't really a satisfying answer, but this bug was only about the "Places Organizer , next menu won't expand when the pointer gets there" issue.
Feel free to reopen this bug, if you think this bug should be about the "Firefox should be using a good old menu bar without icons" issue.
Assignee | ||
Comment 20•17 years ago
|
||
(In reply to comment #19)
> Feel free to reopen this bug, if you think this bug should be about the
> "Firefox should be using a good old menu bar without icons" issue.
Ok, iiuc, this will happen in bug 400703.
Comment 21•17 years ago
|
||
@Dao: menubars should die :P . They're old and not idiot-friendly :P .
Comment 22•15 years ago
|
||
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h".
In Thunderbird 3.0b, you do that as follows:
Tools | Message Filters
Make sure the correct account is selected. Click "New"
Conditions: Body contains places-to-b-and-h
Change the action to "Delete Message".
Select "Manually Run" from the dropdown at the top.
Click OK.
Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter.
Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in
before you can comment on or make changes to this bug.
Description
•