Open
Bug 617564
Opened 12 years ago
Updated 12 years ago
setConsumeRollupEvent not working in mac for FF 3.6.12 while mouse is down. i think waits for after click
Categories
(Firefox :: Menus, defect)
Tracking
()
NEW
People
(Reporter: noitidart, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:2.0b7) Gecko/20100101 Firefox/4.0b7 Build Identifier: Mozilla/5.0 (Windows NT 5.1; rv:2.0b7) Gecko/20100101 Firefox/4.0b7 I have added to the main menu this: document.getElementById('contentAreaContextMenu').popupBoxObject.setConsumeRollupEvent(Components.interfaces.nsIPopupBoxObject.ROLLUP_NO_CONSUME); And then I press and hold down right mouse button. Menupops up like it should. But then on mouse scroll, or left/middle click outside, the events are not being triggered. During this time the right mouse button was depressed. It works fine in Linux however, which is same as mac as in the menu pops open on mouse down. The reason I think that it doesnt work till mouse down is by doing this test. Make firefox window medium size. Right mouse down in firefox and then move mosue out of firefox and then mouse up. Then when I come back to firefox and left click or middle click, it does the expected action (which is jump to last used tab in MouseControl). However, DOMMouseScroll/scroll of the wheel event does not trigger. Reproducible: Always Steps to Reproduce: 1. Download MouseControl 1.1 (https://addons.mozilla.org/en-US/firefox/addon/255249/) 2. Select tab a, then select another tab. Right mouse down, hold. Then try left click. It will not jump you to the tab. 3. Actual Results: Nothing happens. Please see details Expected Results: Events should trigger. Please see details
Oh the details of the computer I tested from: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12
Comment 2•12 years ago
|
||
Is this a regression in Firefox 3.6.x? If yes, which version before didn't show this issue?
Oh i dont know, i only tested it in 3.6.12 would you like me to test in other versions? I was banging my head for weeks, i couldnt do anything to make this work, I always thought it was me because there was a note on the documentation page saying it should work for 3.6.x now. But no matter what it just wouldn't work, so i think its a bug.
Also in 3.6.12 this throws an error: this.notifier = Components.classes["@mozilla.org/alerts-service;1"].getService(Components.interfaces.nsIAlertsService); the error thrown is: Error: uncaught exception: [Exception... "Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]" nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)" location: "JS frame :: chrome://dummytest/content/dummyTest.js :: anonymous :: line 7" data: no] however if I just say: this.notifier = Components.classes["@mozilla.org/alerts-service;1"]; it is fine.
Comment 5•12 years ago
|
||
So what happens in your case when you let the following command evaluate by the Error Console? Does it fail too? window.alert(Components.classes["@mozilla.org/alerts-service;1"].getService(Components.interfaces.nsIAlertsService));
Yes sir same error: Error: uncaught exception: [Exception... "Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]" nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)" location: "JS frame :: chrome://dummytest/content/dummyTest.js :: anonymous :: line 7" data: no] If you want you can access my computer via LogMeIn and I can show you.
Comment 7•12 years ago
|
||
I don't see this error. Can you please run the same test in a fresh profile? I wonder if another extension is causing this problem. http://support.mozilla.com/en-US/kb/Managing+profiles
ok thanks will try and get back to you within 10 minutes
Same error :( I had to install my addon dummy test to run the code. I just uploaded dummyTest for you to see how im doing it: http://www.neocodex.us/personal/noit/dummyTest.xpi
Comment 10•12 years ago
|
||
Please don't install any add-on. Run the code directly in the Error Console and not as part of an extension. See Tools | Error Console.
Reporter | ||
Comment 11•12 years ago
|
||
Oh sorry ill try momentarily.
Reporter | ||
Comment 12•12 years ago
|
||
Yes I got error still. It gave me this: Error: uncaught exception: [Exception... "Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]" nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)" location: "JS frame :: javascript:%20window.alert(Components.classes["@mozilla.org/alerts-service;1"].getService(Components.interfaces.nsIAlertsService)); :: <TOP_LEVEL> :: line 1" data: no]
Reporter | ||
Comment 13•12 years ago
|
||
I have to sleep now but if you want please let me know and I can send you the logmein details. Its 3:51am here im so tired. :( good night :(
Comment 14•12 years ago
|
||
Looks like your Firefox installation could be corrupted. Can you please download a 3.6.12 dmg installer and use this build? Does it fix your issue?
Reporter | ||
Comment 15•12 years ago
|
||
Can you provide me a link please. I had download my firefox stragiht from the mozilla.com maybe about 2-3 weeks ago.
Reporter | ||
Comment 16•12 years ago
|
||
So sorry i cant find an official 3.6.12 dmg download from mozilla site. So sorry can you please link me.
Comment 17•12 years ago
|
||
Now with 3.6.13 released, you can also use this version. Just get it from http://getfirefox.com/
Reporter | ||
Comment 18•12 years ago
|
||
Sorry Henrik, my brother has to logon, he has the admin password. I've been asking him, but he's been busy at work. I will post as soon as i get a chance to upgrade to .13 but should i still test in a fresh download of .12?
Reporter | ||
Comment 19•12 years ago
|
||
Gosh my brother is such an idiot. So sorry about the delay Henrik. I hardly see him, he leaves for work before I get up and is asleep before I get back. I'll get him to do it soon so sorry. He won't give me the password. :(
Comment 20•12 years ago
|
||
You do not need an admin password. Simply open the dmg file and start Firefox directly, without moving it to applications.
Reporter | ||
Comment 21•12 years ago
|
||
Oh! Ok ill try that thanks Henrik. :)
Reporter | ||
Comment 22•12 years ago
|
||
The dmg worked just like you said but I am still having the same bugs. :( Error: uncaught exception: [Exception... "Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]" nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)" location: "JS frame :: javascript:%20window.alert(Components.classes["@mozilla.org/alerts-service;1"].getService(Components.interfaces.nsIAlertsService)); :: <TOP_LEVEL> :: line 1" data: no] is what is given when i paste window.alert(Components.classes["@mozilla.org/alerts-service;1"].getService(Components.interfaces.nsIAlertsService)); into the error console :(
Comment 23•12 years ago
|
||
That's kinda strange. But something which came into my mind, is Growl installed on this machine? If not it could be related, and we shouldn't fail in such a way.
Comment 24•12 years ago
|
||
Ok, this is indeed related to Growl. Stopping Growl didn't help to make this issue appear. You will have to completely remove Growl from the system. That's why I haven't seen it before. Instructions for doing that can be found at http://growl.info/documentation/growl-package-removal.php Could this be related to bug 597165?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Hardware: x86_64 → All
Summary: setConsumeRollupEvent not working in mac for FF 3.6.12 while mouse is down. i think waits for after click → If Growl is not installed, getService() for nsIAlertsService throws exception (NS_ERROR_XPC_GS_RETURNED_FAILURE)
Comment 25•12 years ago
|
||
(In reply to comment #24) > Could this be related to bug 597165? Probably.
Reporter | ||
Comment 26•12 years ago
|
||
I will try that right now. But does that also affect the setConsumeRollupEvent?
Comment 27•12 years ago
|
||
Sorry, looks like we got on the wrong path with comment 4 and later. You are right, it doesn't belong to setConsumeRollupEvent. Can you please check if older versions of Firefox are affected by this issue? Please test a 3.5.x and also former 3.6.x builds.
Summary: If Growl is not installed, getService() for nsIAlertsService throws exception (NS_ERROR_XPC_GS_RETURNED_FAILURE) → setConsumeRollupEvent not working in mac for FF 3.6.12 while mouse is down. i think waits for after click
Reporter | ||
Comment 28•12 years ago
|
||
Very sorry about the late reply Henrik, I was away on a trip to my family. Back home now though. I will try and get back to you.
Reporter | ||
Comment 29•12 years ago
|
||
So sorry Henrik, having an older brother is some times a bit bumpy. He uninstalled mac os to put linux on so he can continue his work from home. :( I am trying hard to find a mac to use so sorry, but I am still working hard on this.
You need to log in
before you can comment on or make changes to this bug.
Description
•