MozillaZine

Mouse Gestures 0.35 RC2 and bug #2270 -- rollback to 0.3.4??

Talk about add-ons and extension development.
raddygast
 
Posts: 19
Joined: January 21st, 2003, 6:07 pm

Post Posted January 21st, 2003, 6:12 pm

I used David James' fix to mess around with the 0.3.5 xpi to get it to work with Phoenix.
It does, whereas the 0.3.4 I got from texturizer doesn't.

Now the problem is that 0.3.5 implements rocker gestures and this seems to have a bug in it and interferes with using gestures with the right mouse button.

situation: left click anywhere in the document. Right after that, try a gesture. It is not read, instead the right mouse button is thrown away or it opens a context menu. It is VERY annoying, and makes the RMB almost useless for gestures.

I recall this problem from a while back, but I used to use 0.3.4 (on my desktop) and it seemed fixed, but now 0.3.4 won't install (maybe texturizer has a newer 0.3.4 that doesn't install properly on Phoenix 0.5). So, I was forced to try 0.3.5 RC2 and that didn't install, but I used the fix described on these forums and it finally did. But now, this annoying problem is back.

http://mozdev.org/bugs/show_bug.cgi?id=2270

So, my question is, the person who posted the fix for 0.3.5 RC2, could you do something similar for the 0.3.4 xpi, because supposedly that doesn't have rocker gestures and so the problem should go away. I await your reply with anticipation and a pitiful begging sort of look on my face.

David James

User avatar
 
Posts: 1321
Joined: November 4th, 2002, 10:19 pm
Location: Ottawa, Ontario, Canada

Post Posted January 21st, 2003, 7:58 pm

I was wondering why Mouse Gestures 0.3.5 was 2/3 bigger than 0.3.4 and 0.3.3...

ok, here's the quick code difference to the same file (mozgest/content/contents.rdf) inside the 0.3.4 xpi.

Code: Select all
--- mozgest/content/contents.rdf.bak   2003-01-21 21:43:31.000000000 -0500
+++ mozgest/content/contents.rdf   2003-01-21 21:47:43.000000000 -0500
@@ -9,14 +9,18 @@
   <RDF:Description about="urn:mozilla:package:mozgest"
         chrome:displayName="Mouse Gestures"
         chrome:author="optimoz.mozdev.org"
-        chrome:name="mozgest"
-        chrome:localeVersion="0.3.3">
+        chrome:name="mozgest"
+   chrome:extension="true"
+   chrome:description="This extension allows you to execute common commands like back and forward using mouse gestures."
+        chrome:localeVersion="0.3.4">
   </RDF:Description>

   <RDF:Seq about="urn:mozilla:overlays">
-    <RDF:li resource="chrome://navigator/content/navigator.xul"/>
-    <RDF:li resource="chrome://communicator/content/pref/preftree.xul"/>
-  </RDF:Seq>
+    <RDF:li resource="chrome://navigator/content/navigator.xul"/>
+    <RDF:li resource="chrome://communicator/content/pref/preftree.xul"/>
+    <RDF:li resource="chrome://browser/content/browser.xul"/>
+    <RDF:li resource="chrome://browser/content/pref/pref.xul"/>
+  </RDF:Seq>

   <RDF:Seq about="chrome://navigator/content/navigator.xul">
     <RDF:li>chrome://mozgest/content/mozgestOverlay.xul</RDF:li>
@@ -25,5 +29,13 @@
   <RDF:Seq about="chrome://communicator/content/pref/preftree.xul">
     <RDF:li>chrome://mozgest/content/pref/mozgestPrefOverlay.xul</RDF:li>
   </RDF:Seq>
-
+
+  <RDF:Seq about="chrome://browser/content/browser.xul">
+    <RDF:li>chrome://mozgest/content/mozgestOverlay.xul</RDF:li>
+  </RDF:Seq>
+
+  <RDF:Seq about="chrome://browser/content/pref/pref.xul">
+    <RDF:li>chrome://mozgest/content/pref/mozgestPrefOverlay.xul</RDF:li>
+  </RDF:Seq>
+
 </RDF:RDF>


You can install and download the xpi from my extensions page
Pinball-Firefox maintainer.
http://david.jamesnet.ca/
Debian Sid, KDE 3.3

ehume

User avatar
 
Posts: 6743
Joined: November 17th, 2002, 12:33 pm
Location: Princeton, NJ, USA

Post Posted January 21st, 2003, 8:01 pm

I don't know what David James's fix is, but here's mine--and it works:

Install a Phoenix build 2002-12-28 or earlier.

Go to the old Phoenix extensions page ( http://www.mozilla.org/projects/phoenix/extensions/ ) and install Mouse Gestures. This gets you a mouse gestures extension that works on Phoenix.

Close and restart Phoenix. Now install MozGest 0.3.5 from http://optimoz.mozdev.org/gestures/installation.html# . Close and restart Phoenix. This gets you the new features of 0.3.5 that will work on Phoenix (image zooming, for example, does not, because Px does not have that Moz feature).

I do not have the problem you mentioned.

raddygast
 
Posts: 19
Joined: January 21st, 2003, 6:07 pm

Post Posted January 22nd, 2003, 1:56 am

Thanks David. You work fast.

ehume: you don't get this bug with 0.35 RC2? Is it possible you installed 0.35 but some older version is still being used?

As for me, I finally just installed the extension linked on the mozilla.org/projects/phoenix/extensions page, I guess that's 0.3.3 (it doesn't show version number). Much to my surprise not only did that work (which I expected) since it didn't have the rocker gesture problem, it also used the correct gestures for open in new tab, and so forth. So I don't really need 0.3.4....

I'm tempted to install 0.3.4 just to be more cutting edge, but if it ain't broke don't fix it. If I had caught David's post I would have just used his 0.3.4.

On a related note, does anyone know of any relevant differences between 0.3.4 and 0.3.5?

ehume

User avatar
 
Posts: 6743
Joined: November 17th, 2002, 12:33 pm
Location: Princeton, NJ, USA

Post Posted January 22nd, 2003, 7:18 pm

I guess what I have is 0.3.3 Px with 0.3.5 on top. And no, I don't get the bug. But then, it is a hybrid after all.

David James

User avatar
 
Posts: 1321
Joined: November 4th, 2002, 10:19 pm
Location: Ottawa, Ontario, Canada

Post Posted January 22nd, 2003, 8:11 pm

ehume,

Are you able to access Mouse Gestures' preferences (they should be under Tools | Preferences --> + Advanced) with your double install method?
Pinball-Firefox maintainer.
http://david.jamesnet.ca/
Debian Sid, KDE 3.3

andyed

User avatar
 
Posts: 78
Joined: November 5th, 2002, 6:31 am
Location: Clemson, SC

Post Posted January 23rd, 2003, 11:55 am

RC2 has percolated to the download mirrors. I'd appreciate folks trying it out and confirming that prefs show up in Phoenix.

Thanks DPJ.

raddygast
 
Posts: 19
Joined: January 21st, 2003, 6:07 pm

Post Posted January 23rd, 2003, 1:23 pm

if this is the same RC2 I tested, then the rocker gestures work but this messes up right-click gesturing, right?

Maybe it wasn't RC2 that I tested. I just downloaded whatever David James' post pointed to.

David James

User avatar
 
Posts: 1321
Joined: November 4th, 2002, 10:19 pm
Location: Ottawa, Ontario, Canada

Post Posted January 23rd, 2003, 2:23 pm

andyed wrote:RC2 has percolated to the download mirrors. I'd appreciate folks trying it out and confirming that prefs show up in Phoenix.

Thanks DPJ.


Where is it exactly? I'm still getting the older, un-Phoenixified 0.3.5 at the link on the install page:

http://optimoz.mozdev.org/gestures/installation.html

The link points to:
http://surfmind.com/mozgest/mozgest_0_3_5.xpi

[Edit:]
for now you can download it off this mirror:
http://www.mozdev.org.uk/rsync/optimoz/ ... _0_3_5.xpi

Preferences are indeed there and it works as expected.
Pinball-Firefox maintainer.
http://david.jamesnet.ca/
Debian Sid, KDE 3.3

rehabdoll
 
Posts: 65
Joined: November 27th, 2002, 7:06 pm

Post Posted January 29th, 2003, 10:48 am

Just installed 0.3.5 rc2 with a fresh install of the newest nightly. WFM.

Is it just me, or are rc2 more sensitive than 0.3.4? i fail a *lot* more with this version :)

VinceVW
 
Posts: 113
Joined: November 13th, 2002, 4:20 am
Location: Heaven 69

Post Posted January 29th, 2003, 1:37 pm

0.3.5 rc2 is MUCH more sensitive than older versions. But that is one feature I like :P !

As for failures, haven't had any yet!

rehabdoll
 
Posts: 65
Joined: November 27th, 2002, 7:06 pm

Post Posted January 29th, 2003, 5:08 pm

is there any way to go back to the "old sensitivity" with 0.3.5rc2? :)

alanjstr
Moderator

User avatar
 
Posts: 9100
Joined: November 5th, 2002, 4:43 pm
Location: Anywhere but here

Post Posted January 29th, 2003, 5:17 pm

Have any of you actually written to the extension author?
Former UMO Admin, Former MozillaZine General Mod
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files

SilentJ
 
Posts: 251
Joined: November 8th, 2002, 6:42 am

Post Posted January 30th, 2003, 1:00 am

virtually every gesture i do fails with 0.3.5rc2 on any of the lastest builds of Px, this is in windows,

for example literally everytime i try to do down right (close tab) the gesteur is recognised as D,3,R dunno what the 3 means.....

rehabdoll
 
Posts: 65
Joined: November 27th, 2002, 7:06 pm

Post Posted January 30th, 2003, 4:23 am

If you look at the key-pad you might get an idea of what the numbers are about (3=down/right, 7=up/left etc) :)

Return to Extension Development


Who is online

Users browsing this forum: No registered users and 2 guests