Closed Bug 277847 Opened 20 years ago Closed 20 years ago

Stop button activated when middle clicking inside blank tab

Categories

(Firefox :: Toolbars and Customization, defect)

x86
Windows XP
defect
Not set
trivial

Tracking

()

VERIFIED FIXED

People

(Reporter: RyanVM, Assigned: mconnor)

References

Details

Attachments

(1 file)

When a new tab is opened, the stop button is inactive as it should be. However,
when I middle click inside that tab window, the stop button activates.  I've
confirmed this behavior on both 1.0 final and on the 1/10/05 trunk (Mozilla/5.0
(Windows; U; Windows NT 5.1; en-US; rv:1.8a6) Gecko/20050110 Firefox/1.0+).
Assignee: mconners → mconnor
Status: UNCONFIRMED → ASSIGNED
Checking in toolkit/content/widgets/browser.xml;
/cvsroot/mozilla/toolkit/content/widgets/browser.xml,v  <--  browser.xml
new revision: 1.50; previous revision: 1.49
done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Mike, how about something like this?

if (!this.autoscrollEnabled  ||
(this.contentDocument.getBoxObjectFor(this.contentDocument.documentElement).height
<= this.boxObject.height) ||
this.isAutoscrollBlocker(event.originalTarget))
return;

I think it would solve this bug, bug 212002 and bug 266201. 
Hmm, no that doesn't work for sites like:
http://weblogs.mozillazine.org/gerv/
where the documentElement is very short.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050614
Firefox/1.0.4

stop button activates when middleclicking in a new tab...
Thomas, this was checked in trunk builds, you can download a trunk build here:
http://ftp.scarlet.be/pub/mozilla.org/firefox/nightly/latest-trunk/
QA Contact: bugzilla → toolbars
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: