Closed Bug 286115 Opened 19 years ago Closed 19 years ago

Display a separator in the bookmark bar

Categories

(Camino Graveyard :: Bookmarks, enhancement)

PowerPC
macOS
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Camino1.0

People

(Reporter: jdmyers, Assigned: mozilla)

References

Details

(Keywords: fixed1.8)

Attachments

(2 files, 3 obsolete files)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050313 Camino/0.8+
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050313 Camino/0.8+

When managing bookmarks, I've added separators to the bookmark bar, but these do
not show up in the actual bookmark bar of the browser. If you do this in
Firefox, you get a little vertical separator in the bookmark bar where you've
added them. It would be nice to have this functionality in Camino.

Reproducible: Always

Steps to Reproduce:
1.Show All Bookmarks
2.Select Bookmark Bar
3.Add a separator

Actual Results:  
Separator is seen in bookmark view within the bookmark bar, but not shown on
actuall bookmark bar on the browser window.

Expected Results:  
Displayed a vertical separator on the bookmark bar of the browser.
Yeah I agree that this would be very nice to have. I like the way FF does this.
This would be a nice polish for 1.0.
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Component: Toolbars & Menus → Bookmarks
Ever confirmed: true
Target Milestone: --- → Camino1.0
Attached image 16px icon (obsolete) —
Attching the 16px dotted icon. It uses the same size pixels and color as a
regular  toolbar separator. Make sure the spacing looks good.
Taking this bug. I've got a basic implementation working using Jasper's icon.
When you drag and drop it however it displays the icon and the text "<Menu
Separator>", which is less than ideal. Trying to fix this behaviour.
Assignee: pinkerton → Bruce.Davidson
Attached patch Patch (obsolete) — Splinter Review
This patch displays bookmark separators in the bookmark toolbar. I haven't
worked out how to get round the drag showing "<Menu Spacer>" yet.

To make this patch work you will need to save Jasper's icon (as
bm_vseparator.tif - note slight change in filename to make the vertical
orientation clear) to (your camino dir)/mozilla/camino/resources/images/chrome
and add it to BrowserWindow.nib.
Attachment #182941 - Flags: review?(mozilla)
Blocks: 294237
Wevah, care to review this patch? ;)
Comment on attachment 182941 [details] [diff] [review]
Patch

looks good to me
Attachment #182941 - Flags: superreview+
Comment on attachment 182941 [details] [diff] [review]
Patch

Me too. Though, does the icon need to be 16 px wide to work with our custom
button? Doesn't matter to me, though, as long as it looks good. ;)
Attachment #182941 - Flags: review?(mozilla) → review+
I just checked; it can be any width we want (even 100px, if we were completely
insane, or something). However, the custom button cell adds an extra 3px of
space to the right of the image, as if there was still text there, so I've found
that an icon 4px wide, with the dots on the far right actually looks the best
(no, I am not kidding).
Oh, we should also modify the code for the contextual menu; "Open in New Tab"
and "Open in New Window" don't make much sense for a separator. We might also
want to make the separator unclickable, or at least not highlight when clicked.
wevah, agreed on both counts. should we make a new patch?
Attached patch Revised patch (obsolete) — Splinter Review
This patch disables the "Open in New Tab" and "Open in New Window" menu items
in the context menu for a bookmark separator.

I don't quite understand the comment about making separators unclickable. On my
build nothing happens when I [left] click a separator in the bookmark bar. Any
more details available?
Attachment #182941 - Attachment is obsolete: true
Attachment #191823 - Flags: review?(mozilla)
Attached patch Revised patchSplinter Review
Revised patch (suggested by Ludo) to only enable the delete action in the
context menu for a separator.
Attachment #191823 - Attachment is obsolete: true
Attachment #193488 - Flags: review?(qa-mozilla)
Attachment #193488 - Flags: review?(qa-mozilla) → review+
Self ping to check in.
Attached image 4/16px icon
new 4/16px icon per comment 8
Attachment #182876 - Attachment is obsolete: true
Landed, branch and trunk. Thanks!
Status: NEW → RESOLVED
Closed: 19 years ago
Keywords: fixed1.8
Resolution: --- → FIXED
Comment on attachment 191823 [details] [diff] [review]
Revised patch

Clearing obsolete review request.
Attachment #191823 - Flags: review?(mozilla)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: