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

SKaero

Look at the top of the index.php for the version.

mmerlone

Quote from: skaero;25332Look at the top of the index.php for the version.

I believe we are speaking about different software, I could not find a index.php file inside contextmenu tree...


root@server:/roundcube/plugins/contextmenu# find -name index.php
root@server:/roundcube/plugins/contextmenu#


On top of contextmenu.php:



/**
 * ContextMenu
 *
 * Plugin to add a context menu to the message list
 *
 * @version 1.2
 * @author Philip Weir
 * @url http://roundcube.net/plugins/contextmenu
 */
class contextmenu extends rcube_plugin
{
--
Marcio Merlone

SKaero

The RoundCube version number its in /index.php

mmerlone

Quote from: skaero;25354The RoundCube version number its in /index.php

Ah! Original question was, and I tought still was, about contextmenu version. As I said before, I am using latest stable roundcubemail-0.3.1. Sorry.
--
Marcio Merlone

mmerlone

Quote from: skaero;25354The RoundCube version number its in /index.php

Ah! Original question was, and I tought still was, about contextmenu version. As I said before, I am using latest stable roundcubemail-0.3.1. Sorry.
--
Marcio Merlone

JohnDoh

ok so we still need to find out what the problem is then since afaik it works fine for other people (and for myself)

When you right click is the RC contextmenu displayed under the browser one or not at all?
Is there anything in your rc error log (rc root/logs/erros)?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

mmerlone

Quote from: JohnDoh;25368When you right click is the RC contextmenu displayed under the browser one or not at all?
Is there anything in your rc error log (rc root/logs/erros)?

Contextmenu is not displayed at all, no sign of it, no browser's context menu either when plugin is enabled.
I was using syslog to log errors from rc, then changed to


$rcmail_config['debug_level'] = 4;
# $rcmail_config['log_driver'] = 'syslog';
$rcmail_config['log_driver'] = 'file';


All other config params where left as defaults. Chmodded +w logs dir, and no error log were created. I tried $rcmail_config['debug_level'] = 4; because 1 did not do anything and I gave it a try. So, to answer your question, no, there is nothing on error log. :(

I have firebug 1.5.0, and nothing goes to console, no network ajax activity, zero.
--
Marcio Merlone

JohnDoh

could you pm me login details for a test account and i'll see if i can see what wrong.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

Granada

#98
Hi folks!

Thanks for the great work with RC and the lots of plugins. I've discovered some strange behaviour of the contextmenu plugin that I have installed on two different servers, both running RC 0.3.1 and the same versions of contextmenu.

On the first server, the folder list when selecting "move message to" is limited in it's height and you can scroll through the folders. On the other server, the sizing of the folder list fails, it is enlarged as long as the folder list.

The logs do not show up any errors and as said: both versions of the installed roundcube and plugin are identical.

EDIT:

Found the reason - but the solution needs to be implemented in the script: $idx in $nestLevel == 0 never reaches a value greater than 5, so no scroll_up_pas and scroll_down_act classes are being added.

my range of NestLevels and Indices looks like this. when telling the script to echo it right before the end of the fundction _gen_folder_list():

nL: 1, idx: 7
nL: 2, idx: 2
nL: 3, idx: 6
nL: 4, idx: 2
nL: 4, idx: 3
nL: 4, idx: 1
nL: 3, idx: 4
nL: 2, idx: 4
nL: 1, idx: 2
nL: 0, idx: 2

I do not have dozens of folders inside the main inbox, but subscribtions to several other mail boxes.

Regards
Ruediger

JohnDoh

Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

Granada

@JohnDoh:

Thanks for the quick fix! It's the same way that I hacked up the script to make it work here after I found out what went wrong - a simple counter for the total numer of folders to be listed. :)

Regards
Ruediger

dakkar

thx 4 the hack, it works fine now.

greetings
dakky

mmerlone

Quote from: JohnDoh;25443could you pm me login details for a test account and i'll see if i can see what wrong.

Quote from: JohnDohgreat it works now. i logged in and i get the context menu just as expected, i tried making messages as read/unread and it was fine. are you still having a problem?

Well, yes and no. I use FF 3.6 on my machine, don't work. Then tried on another machine with FF 3.5.8 and it did, got back to my machine, tested Chrome 4.0.249.89 (38071) and IE 8.0.6001.18702 both also work.

WTF? Upgraded FF 3.5.8 on that machine were it worked to 3.6, and it did work too!

Conclusion: That is my one and only problem. Sorry to bug you. BTW, could it be some FF addon? I have dozens of it, I work as a PHP programmer, and have Firebug, JSview, Colorzilla, MeasureIT among many others. Any known incompatibility?

For the records if this can help someone, I also have an addon dumper addon :)
Those are the addons I currently have:


Aplicativo: Firefox 3.6 (20100115144158)
Sistema Operacional: WINNT (x86-msvc)

- All-in-One Gestures 0.20.1
- Auto Copy 1.0
- Bookmark Duplicate Detector 1.0.2
- Boox 2.5
- Cache Status 0.7.9
- CodeBurner for Firefox 1.5.2
- ColorZilla 2.0.2
- Compact Menu 2 3.1.1
- Copy Link Name 1.3.1.1
- Copy Plain Text 0.3.3
- Extension List Dumper 1.14.8
- Firebug 1.5.2
- Firecookie 1.0.2
- Fission 1.0.9
- Forecastbar Enhanced 0.9.6
- FoxyTunes 4.0.5.1
- Free Download Manager plugin 1.3.4
- Go to Selection 1.2.1
- Header Spy 1.3.4
- HighlightAll 1.4
- History Tree 1.2
- Hyperwords 5.6.5
(Desabilitado, Incompatible)
- Image Zoom 0.4.4
- Java Console 6.0.11
- Java Console 6.0.17
- Java Console 6.0.16
- Java Quick Starter 1.0
- JSView 2.0.5
- Live HTTP headers 0.16
- Locationbar² 1.0.4
- McAfee SiteAdvisor 3.1
- MeasureIt 0.3.92
- Microsoft .NET Framework Assistant 1.1
- Network Tools (Router Status) 0.2
(Desabilitado, Incompatible)
- Nightly Tester Tools 2.0.3
- Omnibar 0.6.8.20100227
- Personas 1.5.1
- Read It Later 2.0.3
- Remove Cookie(s) for Site 0.52
- ScribeFire 3.5
- SkipScreen 0.4.8s
(Desabilitado)
- Test Pilot 0.4
- Torbutton 1.2.4
(Desabilitado)
- United States English Dictionary 4.0.0
- Uppity 1.5.6
- Verificação ortográfica pt-BR 1.4
- Verificação ortográfica pt-BR 1.0.0.1
- Web Developer 1.1.8
- Xmarks 3.5.7


Tks anyway, best regards.
--
Marcio Merlone

Granada

I'd like to have the ability to create new folders when right clicking on the left side within the folder list. :)

It should not be too hard to implement these things, isn't it?

Regards
Ruediger

JohnDoh

i thought about adding new/rename/delete folder to the menu but decided against it, for one thing its a little more complicated with restrictions on default folders etc
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...