Closed Bug 226696 Opened 21 years ago Closed 20 years ago

[patch] Button/Icon to delete bookmark/folder

Categories

(Camino Graveyard :: Bookmarks, enhancement)

PowerPC
macOS
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Camino0.9

People

(Reporter: nuffer, Assigned: mikepinkerton)

Details

Attachments

(6 obsolete files)

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031121 Camino/0.7+ Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031121 Camino/0.7+ It would be handy-dandy to have a "delete" button next to the "add bookmark", "add folder", and "add separator" buttons in the bookmarks window. Reproducible: Always Steps to Reproduce:
I agree this button should be added! Though I think it should be grouped withe the "reveal" and "info" buttons.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → Camino0.8
If someone would create the graphic, I'll tke care of adding it to the .nib file and hooking it up.
Noemi the graphic is already in the Camino resource folder > delete_on
Oops - thanks, Jasper. I've created an updated .nib file, but I'm having trouble uploading it as an attachment for some reason - the "Create New Attachment" form is doing nothing.
Attached file Updated .nib file (obsolete) —
[zipped]. This is the .nib file with the button added and the deleteBookmarks: method set as its outlet.
Summary: Button/Icon to delete bookmark/folder → [patch] Button/Icon to delete bookmark/folder
Your nib works but you will need to add code to makes sure that the buttons is correctly dimmed depending on what is selected.
Attached file updated nib (obsolete) —
Attachment #138488 - Attachment is obsolete: true
Attachment #140320 - Flags: review?(sbwoodside)
Attachment #140320 - Flags: review?(nuffer)
after seeing this applied, i'm not sure we need this enough to add yet more chrome to the manager. it's starting to get crowded. what i would prefer to see is the "Edit:Delete" menu item work, coupled with backspace (which already works). if we do go with this patch, we should enable the button when history items are selected and disable it for the top-ten (which should be read-only, IMHO). jasper, convince me why we need this extra chrome.
...er, jasper didn't file this. noemi, can you convince me why we need this?
Delete is generally used as often if not more often than the info or reveal button so appart from estehtical issues I don't see why we sholdn't add it. Why don't we moev the reveal button to the results contextual menu? That would make more sence thgan keeping out the delete button for esthetical reasons. The button we now use in the BM are huge, there are better alternatives if we think it looks to crowded. One of them is using custom button graphics, shown here http://www.jasperhauser.nl/camino/bla/bmtoolbar.jpg
Mike as you have seen in the upcomming icon theme the delete button WIL NOT cause any clutter. If the patch is good all that needs to be done is make a new nib cause Mike tweeked in this week. I will have the icon set ready really soon.
Attached file new nib file (obsolete) —
- updated the nib to reflect the latest nib changes mike made - included the new bm icons that go with the new theme that will land soon Icon changes: bookmark_on -> bm_book.tif delete_on -> bm_del info_on -> bm_info searchicon -> bm_reveal separator_on -> bm_sep Icons that can be removed: - disclosureArrowDown.tiff (no longer in use in the dl manager) - disclosureArrowRight.tiff (no longer in use in the dl manager) - edit_on We need to email Reinhold Penner again about the icon changes.
Attachment #140319 - Attachment is obsolete: true
Oeps and: folder_on -> bm_folder
Attached file new nib, removed the delete icon :) (obsolete) —
Since we decided not to use an icon for this feature, but instead to fix the edit menu item states for bookmarks (Bug 155484), the delete icon was removed. Josh needs to look at his patch and isolate the button state clean ups he did so we can check that in separatly. Then we can close this bug.
Attachment #142064 - Attachment is obsolete: true
landed new nib, new icons, and removed unused icons.
Does the paatch attached still needs review ?
Comment on attachment 140320 [details] [diff] [review] enable/disable delete button appropriately and a bit of cleanup Removing review flags on obsolete patch
Attachment #140320 - Attachment is obsolete: true
Attachment #140320 - Flags: review?(sbwoodside)
Attachment #140320 - Flags: review?(nuffer)
Attached patch Just the cleanup (obsolete) — Splinter Review
He wasn't kidding when he said *minor* cleanup; hardly worth keeping this bug open for. FWIW, here's just the cleanup part of the code.
Attachment #144917 - Flags: review?(qa-mozilla)
Pushing off the 0.8 list, since what's left is of trivial importance.
Target Milestone: Camino0.8 → ---
Attachment #144917 - Flags: review?(qa-mozilla) → review+
Attachment #144917 - Flags: superreview?(pinkerton)
Target Milestone: --- → Camino0.9
Could either Jasper, Mike, or Stuart please explain what is going on with this bug? Why is there a nib that removes a delete icon that was never added? Do we just need to land a little cleanup patch? It seems to me we should have a delete button and the edit menu should work. Either way this bug should be easy to knock off the 0.9 list.
Comment on attachment 144917 [details] [diff] [review] Just the cleanup The cleanup is not necessary. Its already fixed or it doesn't make much sense.
Attachment #144917 - Attachment is obsolete: true
Attachment #144917 - Flags: superreview?(pinkerton)
Attachment #144917 - Flags: review+
Attachment #142071 - Attachment is obsolete: true
Leaving this open since I think we should have a delete button.
Is this bug still valid after smfr's rework of the icons/options available in Jan? There are now buttons/popups (3) for adding items, "modifying" items (delete, open in tabs, get info), and sorting items. Is a separate delete button/icon still warranted?
I think we can savely close this bug now, Smokey Ardisson is right that the new buttons we now have already contain any option we have a or have room for options we might want to add. We don't need clutter by adding an extra button. So I'm closing this bug. Marking fixed as the option is available from the "action" popup menu.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: