Closed Bug 388349 Opened 17 years ago Closed 16 years ago

Sidebar "Tabs" menu misplaced in Suiterunner

Categories

(SeaMonkey :: Sidebar, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
seamonkey2.0a2

People

(Reporter: hand_of_fate2000, Assigned: philip.chee)

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a7pre) Gecko/2007071311 SeaMonkey/2.0a1pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a7pre) Gecko/2007071311 SeaMonkey/2.0a1pre

When clicking on "Tabs" in the sidebar title bar in previous builds, a menu appears below the title. In Suiterunner builds however, the menu appears with the first item exactly where the cursor is, and unless the user is careful the first item gets automatically selected.

Reproducible: Always

Steps to Reproduce:
1. Open sidebar
2. Click on "Tabs"
Actual Results:  
When mouse button is pressed, menu appears with first item straight under the cursor. If the user clicks without dragging then the first item is automatically selected.

Expected Results:  
Menu should appear below the button, so that the user can select whichever item they choose to.
I can confirm this with:
Build identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.9pre) Gecko/2008032704 Mnenhy/0.7.5.20005 SeaMonkey/2.0a1pre
(Mnenhy deactivated cause of Bug 424982)

When open the Drop-Down-Menu from "Tabs" Button in Sidebar with Mouseclick the Menu will popup, but even if there was no Item selected by User (marked blue), the Dropdown-Menu-Popup closes and first Item in List "Customize Sidebar" will be opend when mousebutton was leased. 


Error-Console gives:

Error: uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIRDFService.GetResource]"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: chrome://communicator/content/sidebar/sidebarOverlay.js :: SidebarTogglePanel :: line 1269"  data: no]


To select other then the first Menu-Item, I have to hold the Mousebutton pressed while move down in Menu-Popup. 
Status: UNCONFIRMED → NEW
Ever confirmed: true
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9pre) Gecko/2008060902 SeaMonkey/2.0a1pre] (nightly) (W2Ksp4)

(Bug still there.)

***

(In reply to comment #1)
> Error: uncaught exception: [Exception... "Component returned failure code:
> 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIRDFService.GetResource]"  nsresult:
> "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame ::
> chrome://communicator/content/sidebar/sidebarOverlay.js :: SidebarTogglePanel
> :: line 1269"  data: no]

Bug 412221 ;-)
Assignee: sidebar → nobody
Keywords: regression
QA Contact: sidebar
Version: unspecified → Trunk
I fixed this sometime back in the xSidebar extension. Porting my fix to SeaMonkey 2.0a
Assignee: nobody → philip.chee
Attachment #346035 - Flags: superreview?(neil)
Attachment #346035 - Flags: review?(neil)
Attachment #346035 - Flags: superreview?(neil)
Attachment #346035 - Flags: superreview+
Attachment #346035 - Flags: review?(neil)
Attachment #346035 - Flags: review+
Comment on attachment 346035 [details] [diff] [review]
Fix 1.0: replace |popupanchor="bottomleft"| with |position="after_start"|

Actually "after_start" is the default (see nsXULPopupManager::ShowMenu) so you could just omit this line completely.
Carrying forward r+/sr+
Attachment #346035 - Attachment is obsolete: true
Attachment #346051 - Flags: superreview+
Attachment #346051 - Flags: review+
Keywords: checkin-needed
Whiteboard: [checkin comment #5]
Comment on attachment 346051 [details] [diff] [review]
Fix 1.1: remove popupanchor completely
[Checkin: Comment 6]

http://hg.mozilla.org/comm-central/rev/80121b0303a5
Attachment #346051 - Attachment description: [for checkin] Fix 1.1: remove popupanchor completely → Fix 1.1: remove popupanchor completely [Checkin: Comment 6]
Status: NEW → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Whiteboard: [checkin comment #5]
Target Milestone: --- → seamonkey2.0a2
And
{
http://hg.mozilla.org/comm-central/rev/47e9e30342e6
Windows bustage fix
}
Thanks to Magnus.
nani nani?
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1b2pre) Gecko/20081105 SeaMonkey/2.0a2pre] (nightly) (W2Ksp4)

V.Fixed
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: