Closed Bug 541904 Opened 14 years ago Closed 14 years ago

middle mouse button does not work on an inactive window

Categories

(Core :: General, defect)

1.9.2 Branch
All
macOS
defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla1.9.3a5

People

(Reporter: shivanfalcon, Assigned: mstange)

References

Details

(Keywords: regression)

Attachments

(1 file, 2 obsolete files)

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6

Using mouse3 (middle mouse button) on a window closes the tab (if on a tab) or opens a new tab (if on a link) under default conditions. 3.5.x had this ability, but after upgrading to 3.6, this functionality no longer works on an INACTIVE window.

Reproducible: Always

Steps to Reproduce:
1. Open window 1
2. Open window 2
3. With window 2 active, mouse3 click a link or tab in window 1
Actual Results:  
Nothing

Expected Results:  
Tab closes (if on a tab) or tab opens (if on a link)

This was working in Firefox < 3.6
Component: Tabbed Browser → General
Product: Firefox → Core
QA Contact: tabbed.browser → general
Summary: mouse3 does not work on an inactive window → middle mouse button does not work on an inactive window
Version: unspecified → 1.9.2 Branch
Can you please run Firefox in Safe Mode (http://support.mozilla.com/kb/Safe+Mode) and check this again with all add-ons disabled? Thanks.
Safe Mode made no difference.
Thomas, would you have time to check the beta releases of Firefox 3.6 and find out when this problem occurred for the first time? Would be nice to have a smaller regression range.
Keywords: regression
3.7 NB, 3.6.1 NB 3.6 RC2, 3.6 RC1, 3.6 B4, all have the issue.
3.5.7 latest does not.
Also, I noticed that when using 3.5.7, the default action for a .dmg was "Open With Disk Mounter" but >=3.6 is "Open With ..." (Click to choose)
(In reply to comment #4)
> 3.7 NB, 3.6.1 NB 3.6 RC2, 3.6 RC1, 3.6 B4, all have the issue.
> 3.5.7 latest does not.

Can you please go back to B4 -> A1? It would be great if you have that time. 

(In reply to comment #5)
> Also, I noticed that when using 3.5.7, the default action for a .dmg was "Open
> With Disk Mounter" but >=3.6 is "Open With ..." (Click to choose)

That one should be handled by another bug. But please test with a fresh profile first before filing a new one.
I think I regressed this in bug 443178. Please confirm.
Thomas, regarding the information from Markus it would be great if you could test the following to builds. While the first one should work the latter one fails.

http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2009/11/2009-11-18-03-mozilla-1.9.2/

http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2009/11/2009-11-19-03-mozilla-1.9.2/
(In reply to comment #6)
> Can you please go back to B4 -> A1? It would be great if you have that time. 
I couldn't find anything before B4. If you could send a link I can try it.
(someone posted links to these as I was commenting...)


(In reply to comment #7)
> I think I regressed this in bug 443178. Please confirm.
I don't think tooltips are the cause of this.
(In reply to comment #9)
> (someone posted links to these as I was commenting...)

Actually, I already tested those versions. (:
(In reply to comment #7)
> I think I regressed this in bug 443178. Please confirm.

Confirmed. Thanks for the links to the builds, Henrik.

Actually, I regressed this twice: After bug 443178, middle-clicking an inactive window only failed when the Firefox *application* is active. Then in 515003 I also broke it for inactive windows in inactive applications.

(In reply to comment #9)
> (In reply to comment #7)
> > I think I regressed this in bug 443178. Please confirm.
> I don't think tooltips are the cause of this.

The patch in that bug didn't only touch tooltips.

(In reply to comment #10)
> Actually, I already tested those versions. (:

Those builds are nightly builds. They change almost daily, not only when their version number changes.
Blocks: 443178, 515003
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached patch v1 (obsolete) — Splinter Review
Assignee: nobody → mstange
Status: NEW → ASSIGNED
Attachment #443377 - Flags: review?(joshmoz)
Attachment #443377 - Attachment is obsolete: true
Attachment #443377 - Flags: review?(joshmoz)
Comment on attachment 443377 [details] [diff] [review]
v1

This doesn't fix sheets yet.
Attached patch v2 (obsolete) — Splinter Review
Attachment #443393 - Flags: review?(joshmoz)
Comment on attachment 443393 [details] [diff] [review]
v2

still not ready
Attachment #443393 - Flags: review?(joshmoz)
Attached patch v3Splinter Review
Difference to the previous patch is that we don't want to let mouse *move* events through to inactive windows, even when Cmd is pressed.
Attachment #443393 - Attachment is obsolete: true
Attachment #443614 - Flags: review?(joshmoz)
Attachment #443614 - Flags: review?(joshmoz) → review+
http://hg.mozilla.org/mozilla-central/rev/f12a2ee5469e
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Hardware: x86_64 → All
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: