Closed Bug 467570 Opened 16 years ago Closed 16 years ago

Cannot hide search bar in bookmark manager

Categories

(SeaMonkey :: Bookmarks & History, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey2.0a3

People

(Reporter: asmpgmr, Assigned: stefanh)

Details

(Keywords: regression)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20081201 SeaMonkey/2.0a2pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20081201 SeaMonkey/2.0a2pre

Unchecking View -> Search bar in the bookmark manager menu should hide the search bar but it does not even though the check mark does toggle. This appears to be regression from bug 460756.

Reproducible: Always
Version: unspecified → Trunk
Confirming, the toggle does nothing.

The question is how to solve this though. Since it's not a toolbar anymore the solution might be to simple remove the menu entry.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
Since the search box is part of the toolbar and you can toggle off the toolbar this seems like a reasonable solution.
If we restore the search-box back to it's own toolbar then this toggle will work again.
(In reply to comment #3)
> If we restore the search-box back to it's own toolbar then this toggle will
> work again.

Bug 460756 was exactly about removing the extra toolbar. Are you suggesting it will/should come back? Then what's the bug for that? Otherwise I think the consideration here should only be whether to change the menu item so that it toggles the visibility of the search box (and its label of course) or to remove it like asmpgmr and I seem to agree upon.
Flags: blocking-seamonkey2.0a3?
Who knows, we might even end up making this toolbar customisable and then the search box can be hidden again for those who don't want it.
Sorry, for the confusion - this is my fault... I think this should do it.
Assignee: nobody → stefanh
Status: NEW → ASSIGNED
Comment on attachment 351201 [details] [diff] [review]
Remove menuitem, hide search box in search results window

Oops, forgot to request review...
Attachment #351201 - Flags: superreview?(neil)
Attachment #351201 - Flags: review?(neil)
Target Milestone: --- → seamonkey2.0a3
Comment on attachment 351201 [details] [diff] [review]
Remove menuitem, hide search box in search results window

>+    document.getElementById("bookmarks-search-box").setAttribute("hidden","true")
Might as well modernise this to .hidden = true;
Attachment #351201 - Flags: superreview?(neil)
Attachment #351201 - Flags: superreview+
Attachment #351201 - Flags: review?(neil)
Attachment #351201 - Flags: review+
Pushed 7417a1b5decd to comm-central (with ".hidden = true;").
Severity: minor → normal
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: blocking-seamonkey2.0a3?
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: