Roundcube Community Forum

 

Right Click Functionality

Started by mfallon, February 28, 2009, 02:18:13 PM

Previous topic - Next topic

Do you think right click funtionality is a good idea?

es
181 (91.9%)
o
6 (3%)
aybe
10 (5.1%)
on\'t Care / Know
0 (0%)

Total Members Voted: 193

JohnDoh

so i had a little play around...

attached is something which intergrates with the context menu (but there is no reason why it cant be extended to add something to the toolbar). You need the latest repo version of the contextmenu plugin and SVN trunk r3141 or later of RC.

I dont plan on adding this to my collection of plugins so if any one wants to take the code and run with it please feel free.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

rosali

Works great! I'll package it with MyRoundcube plugins bundle.
Regards,
Rosali

mmerlone

I'd love to have contextmenu working, but it does not work at all. Browser's context menu disapears, so something happens, but no menu.
I am using roundcubemail-0.3.1, it gets first initialized $rcmail_config['plugins'] = array('contextmenu', ... and nothing happens.
Sorry if this is not the rigth channel for support. :)

Thanks and best regards.

--
Marcio Merlone
--
Marcio Merlone

JohnDoh

what browser are you using and what version of the plugin do you have (did you download the archive from the website or from the repo)? do you see any JS errors in the browser?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

mmerlone

I am using latest FF (3.6.?), downloaded plugin from RoundCube Plugins & Patches.
I also have Firebug, I am a PHP devel, and nothing goes to console, no error on firebug, browser nor anywhere.
Sorry for not providing those info, I am in a hurry at job.
--
Marcio Merlone

bagu

noscript or adblock installed ?

mmerlone

Quote from: bagu;25164noscript or adblock installed ?

nope, none.
--
Marcio Merlone

JohnDoh

you are definatly using rc 0.3.1, not the SVN trunk right? the reason I ask is that since 0.3.1 the version of jQuery used has changed and there was a small change needed to get the contextmenu working with jQuery 1.4 (it fixed in the repo version).
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

ABerglund

I've just noticed that my contextmenus are not working properly on any Windows XP browser I test. I've tried Firefox 3.6, Safari 4 and IE 8 on multiple computers. In all cases, the ajax menu is covered by the browser's default contextual menu.

Works fine in all Mac browsers tested.

I'm using the latest version of the plugin from the repo, in SVN 3246.
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

JohnDoh

yes, that is was what was caused by the switch to jQuery 1.4. This hack fixed it for me Commit fe6cc21f8e4cc21053f5d15499559711925b3dcf to JohnDoh's RoundCube-Plugin-Context-Menu - GitHub if you have the latest repo version of the plugin may be you need to clear your cache or something.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

mmaraghy


ABerglund

I can also confirm that this fixed it on my test PCs.
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

mmerlone

Quote from: JohnDoh;25174you are definatly using rc 0.3.1, not the SVN trunk right? the reason I ask is that since 0.3.1 the version of jQuery used has changed and there was a small change needed to get the contextmenu working with jQuery 1.4 (it fixed in the repo version).

I tryied the hack below (adding line 81 on jquery.contextMenu.js) and still no luck. Any plans to release a new package with some fix/workaround or should I get svn?
--
Marcio Merlone

JohnDoh

the hack i suggested is only for if you are running jQuery1.4 which comes with the SVN version of RC, 0.3.1 uses JQuery1.3 so again please confirm which version of RC you are using.

there will not be another "released" version of the contextmenu plugin until RC0.4 is released since there have been many changes.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

mmerlone

Quote from: JohnDoh;25324... so again please confirm which version of RC you are using.

I'm not sure, could not find such information on any file. Latest information on CHANGELOG says:


Roundcube Webmail Context Menu
==============================

2009 10 29
==========
 * Use local_skin_path() (rev 3076)


Anyway, should I wait for fot next package or is there any workaround?
--
Marcio Merlone