Closed Bug 595641 Opened 14 years ago Closed 14 years ago

Double right-clicking on the title bar randomly performs actions (focusing areas, opening the bookmark sidebar, etc.)

Categories

(Firefox :: Shell Integration, defect)

defect
Not set
major

Tracking

()

RESOLVED FIXED
Firefox 4.0b7
Tracking Status
blocking2.0 --- betaN+

People

(Reporter: u88484, Assigned: Felipe)

Details

(Keywords: dataloss, regression)

Attachments

(1 file)

Double right-clicking on the title bar randomly performs actions (focusing areas, opening the bookmark sidebar, etc.)  No errors in the error console.

This was confirmed by two other users on mozillazine.
blocking2.0: --- → ?
Adding dataloss because I just had my current page change to about:home
Keywords: dataloss
What OS? Aero on/off? Accelerated Layers on/off?
(In reply to comment #2)
> What OS? Aero on/off? Accelerated Layers on/off?

Windows XP Pro. Accelerated Layers on.
(In reply to comment #3)
> (In reply to comment #2)
> > What OS? Aero on/off? Accelerated Layers on/off?
> 
> Windows XP Pro. Accelerated Layers on.

Just tried it with Accelerated Layers off, the bug is still there.
Mozilla/5.0 (Windows NT 6.0; WOW64; rv:2.0b5) Gecko/20100101 Firefox/4.0b5

With menu bar disabled - for me I get the following: double right clicking in various locations to the right of the orange Firefox button refreshes page, opens the sidebar, closes the sidebar, highlights text in the searchbar, opens home page in current tab.

Windows Vista, Service Pack 2, 64-bit
Jimm, can you reproduce this and diagnose? Or Felipe?
blocking2.0: ? → betaN+
Component: General → Shell Integration
QA Contact: general → shell.integration
Assignee: nobody → felipc
Status: NEW → ASSIGNED
Attached patch PatchSplinter Review
that was a freaky bug!

WM_NCRBUTTONDBLCLK falls through WM_APPCOMMAND
Attachment #477408 - Flags: review?(jmathies)
Attachment #477408 - Flags: review?(jmathies) → review+
This seems like it should get some test love...
Flags: in-testsuite?
Whiteboard: [needs landing]
(In reply to comment #8)
> This seems like it should get some test love...

This was a problem in the native event processing so a mochitest won't be able to cover it. Maybe we could include a litmus test. (although I don't think it's necessary as it'd be hard to regress this, and the bug is not 100% reproducible -- depends on the X/Y position of the click)
(In reply to comment #9)
> This was a problem in the native event processing so a mochitest won't be able
> to cover it.

That kinda sucks. Is there no way to send a native mouse event to the titlebar and synthesize the right-click?

> Maybe we could include a litmus test. (although I don't think it's
> necessary as it'd be hard to regress this, and the bug is not 100% reproducible
> -- depends on the X/Y position of the click)

It's these type of hard to notice, corner cases that need to be auto-guarded IMHO.
Fixed by changeset http://hg.mozilla.org/mozilla-central/rev/0eb96c685fed
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite? → in-testsuite-
Resolution: --- → FIXED
Whiteboard: [needs landing]
Target Milestone: --- → Firefox 4.0b8
Target Milestone: Firefox 4.0b8 → Firefox 4.0b7
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: