Poll

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

Author Topic: Right Click Functionality  (Read 72193 times)

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,862
Right Click Functionality
« Reply #60 on: September 11, 2009, 04:42:28 PM »
I have added a folder menu context menu to the plugin. Its only just been finished so it might be a little buggy still but you can get the latest version from the repo if you want to give it a try.

folder list context menu has the following options:
mark all as read
compact
empty
collapse all folders
expand all folders
open in new window
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Right Click Functionality
« Reply #61 on: September 13, 2009, 01:31:21 PM »
I can't find it ... your page states last updated 04.09.2009 ... Please post link.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,862
Right Click Functionality
« Reply #62 on: September 14, 2009, 09:21:29 AM »
the development repo is here JohnDoh's RoundCube-Plugin-Context-Menu at master - GitHub

I have also started work on adding "move to" to the message list context menu, hopefully it will be done by the weekend.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,862
Right Click Functionality
« Reply #63 on: September 18, 2009, 01:01:15 PM »
new update: some bug fixes for the folder menu and added "move to" to the message list menu.

PLEASE NOTE: the repo version of the plugin requires RC SVN rev2960 or later.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Right Click Functionality
« Reply #64 on: September 18, 2009, 03:19:47 PM »
You are awsome! Some more [directly translated] tolerance for the submenues if mouseover is not exactly over the icon ;-)
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline lifefarer

  • Newbie
  • *
  • Posts: 2
Right Click Functionality
« Reply #65 on: September 23, 2009, 12:02:38 PM »
Hello!

I've noticed some.. bug.


There are list markers to the left of context menu.
Tested both on FF3 and IE8.

Adding #rcmContextMenu{list-style-type: none;} fixes this.

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,862
Right Click Functionality
« Reply #66 on: September 24, 2009, 03:02:46 AM »
hmmm its fine for me, does any one else have this problem? are you using a custom skin or anything like that?

What about the mark message and message action menus, do they also have the bullet points?
« Last Edit: September 24, 2009, 03:11:52 AM by JohnDoh »
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline lifefarer

  • Newbie
  • *
  • Posts: 2
Right Click Functionality
« Reply #67 on: September 24, 2009, 06:58:49 AM »
Quote from: JohnDoh;21642
hmmm its fine for me, does any one else have this problem? are you using a custom skin or anything like that?

What about the mark message and message action menus, do they also have the bullet points?


Oops.. forgot to mention: I use Mvision 2.2 theme. As for other menus, they are OK.

Offline ABerglund

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 673
Right Click Functionality
« Reply #68 on: September 25, 2009, 12:49:06 PM »
Quote from: JohnDoh;21470
new update: some bug fixes for the folder menu and added "move to" to the message list menu.

PLEASE NOTE: the repo version of the plugin requires RC SVN rev2960 or later.
John, this is great. My only question is how hard would it be (or where would I make edits) to expand the number of folders that are shown in the Move-To submenu? On my system it shows 5 folders, more than that requires scrolling. If I wanted to change that to say, 10, where would I do that? Or is it simply a size param for the submenu?
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,862
Right Click Functionality
« Reply #69 on: September 25, 2009, 02:31:27 PM »
To alter the size of the submenu you need to alter the skin. Take a look in skins/default/contextmenu.css and then you need to change the height of #rcmContextMenu ul.scrollable and adjust the top offsets of #rcmContextMenu li div.scroll_down_act and #rcmContextMenu li div.scroll_down_pas to match the change in height.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline ABerglund

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 673
Right Click Functionality
« Reply #70 on: September 25, 2009, 02:43:30 PM »
Quote from: JohnDoh;21730
To alter the size of the submenu you need to alter the skin. Take a look in skins/default/contextmenu.css and then you need to change the height of #rcmContextMenu ul.scrollable and adjust the top offsets of #rcmContextMenu li div.scroll_down_act and #rcmContextMenu li div.scroll_down_pas to match the change in height.
Perfect. Exactly what I needed. Thanks for the quick reply!
« Last Edit: February 23, 2010, 08:24:22 PM by ABerglund »
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

Offline ABerglund

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 673
Right Click Functionality
« Reply #71 on: September 25, 2009, 05:30:35 PM »
Another question, John. I just noticed that I get an error banner now when right-clicking a folder to mark all as read. The attached banner displays, and the folder list still shows bold and the number of unread, but if you enter the folder all will indeed have been marked read.

I had a previous version installed which did not do this.
« Last Edit: February 23, 2010, 08:24:15 PM by ABerglund »
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Right Click Functionality
« Reply #72 on: September 26, 2009, 12:59:29 AM »
Please use recent RoundCube SVN trunk version. 'contextmenu' plugin is using a core function which was recently added to RoundCube.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline bigears

  • Newbie
  • *
  • Posts: 2
Add "Copy To" as well
« Reply #73 on: December 17, 2009, 04:28:09 PM »
Hi John

Is it possible to add a "Copy To" as well, like the "Move To". We have users that can copy archived emails to theirs folders, but we don't want them to delete the emails in the archive.

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,862
Right Click Functionality
« Reply #74 on: December 18, 2009, 02:54:18 AM »
There is no copy function in the RC core, it might be best to write a seperate plugin which intergrates with contextmenu. Making a function to do the actual copy is easy I think, its just the updating the cache bit which I am not sure about. Looking at the move message function I am not sure if any changes need to be made to the cache at all which would make the process much easier.

I know that this request has come up before, I will try playing with the code and see how far I can get.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…