Closed Bug 680280 Opened 14 years ago Closed 14 years ago

Tools -> Web Search does nothing when the sidebar is displayed

Categories

(SeaMonkey :: Search, defect)

defect
Not set
normal

Tracking

(seamonkey2.2 affected, seamonkey2.3 affected, seamonkey2.4 fixed, seamonkey2.5 fixed, seamonkey2.6 fixed)

RESOLVED FIXED
seamonkey2.6
Tracking Status
seamonkey2.2 --- affected
seamonkey2.3 --- affected
seamonkey2.4 --- fixed
seamonkey2.5 --- fixed
seamonkey2.6 --- fixed

People

(Reporter: bugzilla, Assigned: neil)

Details

(Keywords: regression)

Attachments

(1 file)

Mozilla/5.0 (Windows NT 5.1; rv:6.0) Gecko/20110813 Firefox/6.0 SeaMonkey/2.3 There seems to be a recently-introduced conflict between the sidebar which was introduced in the 2.2 release. If the sidebar is shown [View -> Show/Hide -> Sidebar (F9)] then Tools -> Web Search (Ctrl+Shift+S) does nothing. There's no errors on the error console. If the sidebar is hidden then Tools -> Web Search (Ctrl+Shift+S) correctly calls the default search engine. Steps to reproduce: 1. Show sidebar: View -> Show/Hide -> Sidebar (F9) 2. Choose Web Search: Tools -> Web Search (Ctrl+Shift+S) Actual Result: No visible action in browser window Expected Result: Default search engine page is displayed.
Possibly related to Bug 601466?
The issue is that when the sidebar is open the code tries to do (even if the search panel isn't the one currently open) this.searchSidebar.focus(); See http://mxr.mozilla.org/comm-central/source/suite/browser/navigator.js#1176 Not sure what this is supposed to do, but it does not appear to do anything on current trunk. If you customise the sidebar to remove the search panel then it will either focus the search bar if present or open the relevant search engine's web page (as expected).
OS: Windows XP → All
Hardware: x86 → All
Version: SeaMonkey 2.3 Branch → Trunk
Attached patch Possible patchSplinter Review
I thought that the previous code was focusing the search sidebar content, but it's not, so this just finds the sidebar search box more directly.
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #554251 - Flags: review?(iann_bugzilla)
Comment on attachment 554251 [details] [diff] [review] Possible patch r=me, a=me for comm-aurora/beta Requesting for comm-release to see if we can get it into 2.3.1
Attachment #554251 - Flags: review?(iann_bugzilla)
Attachment #554251 - Flags: review+
Attachment #554251 - Flags: approval-comm-release?
Attachment #554251 - Flags: approval-comm-beta+
Attachment #554251 - Flags: approval-comm-aurora+
Comment on attachment 554251 [details] [diff] [review] Possible patch Unless its a change we would respin an rc for in the old cycle, I don't want to take it for .1, sorry.
Attachment #554251 - Flags: approval-comm-release? → approval-comm-release-
Pushed changeset d4f82c11ebaf to comm-central only.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [checkin needed comm-aurora, comm-beta]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: