Roundcube Community Forum

Third Party Contributions => API Based Plugins => Topic started by: bjorntj on November 07, 2014, 08:21:51 PM

Title: contextmenu not working?
Post by: bjorntj on November 07, 2014, 08:21:51 PM
Finally upgraded to RC 1.0.3 (from 0.95) and all my plugins are working as they used to (new versions) except for contextmenu... When right clicking on a message, nothing happends..
Is this a known thing or am I missing something or?

Edit: it actually works using Chrome but not Firefox...


Regards,

BTJ
Title: Re: contextmenu not working?
Post by: JohnDoh on November 08, 2014, 04:27:02 AM
make sure you have the right version of the plugin, you want 2.0 https://github.com/JohnDoh/Roundcube-Plugin-Context-Menu/releases
Title: Re: contextmenu not working?
Post by: bjorntj on November 08, 2014, 06:45:01 AM
Yes, that's the version I installed.....
Or I used the new composer feature to install it, so I added require for this: "johndoh/contextmenu": "dev-release-2.0"


BTJ
Title: Re: contextmenu not working?
Post by: ABerglund on November 08, 2014, 12:33:04 PM
I've had poor luck with Composer, and have gone back to manually installing plugins. You may want to try a manual install instead. It works fine on my server.
Title: Re: contextmenu not working?
Post by: SKaero on November 08, 2014, 12:40:05 PM
Out of curiosity what problems have you had with composer?
Title: Re: contextmenu not working?
Post by: bjorntj on November 08, 2014, 12:49:32 PM
Tried to install the plugin manually but same problem... Works in Chrome but not in Firefox...

BTJ
Title: Re: contextmenu not working?
Post by: SKaero on November 08, 2014, 12:57:04 PM
What errors are in the JS console?
Title: Re: contextmenu not working?
Post by: bjorntj on November 08, 2014, 01:07:37 PM
Not sure but the only error I can see, is the following..:

Content is null in tab-events.js:40


BTJ
Title: Re: contextmenu not working?
Post by: ABerglund on November 08, 2014, 03:52:26 PM
Quote from: SKaero on November 08, 2014, 12:40:05 PM
Out of curiosity what problems have you had with composer?
Scott, my production RC instance is running on an 8+ year old CentOS 5 server. I'm not blaming Composer for the failures I've seen, but feel it is more likely that the issues are related to outdated stuff on that server. I plan a fresh CentOS 7 server for late next spring. If Composer doesn't work there, then I'll post back.
Title: Re: contextmenu not working?
Post by: SKaero on November 08, 2014, 09:47:07 PM
Quote from: ABerglund on November 08, 2014, 03:52:26 PM
Scott, my production RC instance is running on an 8+ year old CentOS 5 server. I'm not blaming Composer for the failures I've seen, but feel it is more likely that the issues are related to outdated stuff on that server. I plan a fresh CentOS 7 server for late next spring. If Composer doesn't work there, then I'll post back.
OK that could definitely be the problem I asked because I'm considering using it for a project and was wondering if I'd run into deployment problems. Make sure your comfortable with systemd before going to CentOS 7, I still haven't fully gotten used to it.

Quote from: bjorntj on November 08, 2014, 01:07:37 PM
Not sure but the only error I can see, is the following..:

Content is null in tab-events.js:40


BTJ
tab-events.js isn't part of the contextmenu plugin, try disabling other plugins to see if the problem is with one of them.
Title: Re: contextmenu not working?
Post by: bjorntj on November 09, 2014, 03:37:40 AM
I have tried disabling all other plugins but with the same result...
Title: Re: contextmenu not working?
Post by: JohnDoh on November 09, 2014, 04:41:45 AM
I think you need to find out where the tab-events.js file has come front and they its erroring
Title: Re: contextmenu not working?
Post by: bjorntj on November 09, 2014, 06:29:05 AM
Just tried again and it looks like that error message comes from something else... Looking at the webconsole, I see nothing when I right click a message...


BTJ
Title: Re: contextmenu not working?
Post by: JohnDoh on November 09, 2014, 01:27:01 PM
I'm not sure what else to suggest. You said it works fine for you in Chrome, that suggests that the plugin is loaded properly. May be a caching issue or a setting in FF blocking it? With no error to go on its very hard to know what could be wrong. Certainly there is no general problem with the contentmenu plugin and FF.
Title: Re: contextmenu not working?
Post by: bjorntj on November 09, 2014, 03:40:33 PM
Did some more testing and it's working in my Windows guest running Firefox but not in my Linux system running Firefox.... Not sure what's the difference...

BTJ
Title: Re: contextmenu not working?
Post by: SKaero on November 09, 2014, 10:19:23 PM
Are you using any browser plugins?
Title: Re: contextmenu not working?
Post by: bjorntj on November 10, 2014, 05:41:42 PM
Yes, I do... And did some testing and found the quilty one... I am using FireGestures and it seems to block the context menu...  But am I almost certain that it worked before... almost.... (A)