possible bug

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

possible bug

soumitri@iitk.ac.in

Hello all,

I am facing an issue in roundcube with following 2 setting enabled.

--$config['display_next'] = false;

-- The user use double click to read messages without preview pane.


Now when he deletes a message, the message is moved to Trash , but the screen does not goes back to list of message, it is stuck at showing the deleted message along with status "Moving message" in grey. The user has to click on folder name to get the list of message.

I can share imap debug log if required.

Thanks for listening.

Regards,

--
Soumitri Mishra,
IIT Kanpur

_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: possible bug

A.L.E.C
On 07/20/2016 02:33 PM, [hidden email] wrote:

> --$config['display_next'] = false;
>
> -- The user use double click to read messages without preview pane.
>
> Now when he deletes a message, the message is moved to Trash , but the
> screen does not goes back to list of message, it is stuck at showing the
> deleted message along with status "Moving message" in grey. The user has
> to click on folder name to get the list of message.

Works for me. What version? What plugins? What browser? See browser
console for errors.

--
Aleksander 'A.L.E.C' Machniak
Kolab Groupware Developer        [http://kolab.org]
Roundcube Webmail Developer  [http://roundcube.net]
---------------------------------------------------
PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl
_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: possible bug

soumitri@iitk.ac.in

Hello,

Thanks for the reply.

More details

RC version : 1.2.0, on
Problem both in Firefox 45.2.0 and chrome.


Firefox Browser console output during the delete operation:

==============================

TypeError: orig_order is undefined
<anonymous>
 rc_foldersort.js:79
rcube_event_engine.prototype.triggerEvent()
 common.min.js:41
rcube_webmail/this.command()
 app.min.js:65
<anonymous>
 app.min.js:2
rcube_webmail/this.http_response()
 app.min.js:297
rcube_webmail/this.http_request/<.success()

================================

This is happening both in larry, classic skin.

$config['plugins'] = array('additional_message_headers', 'archive', 'attachment_reminder', 'emoticons', 'hide_blockquote', 'identity_select', 'jqueryui', 'legacy_browser',  'newmail_notifier', 'show_additional_headers', 'subscriptions_option', 'userinfo', 'vcard_attachments', 'zipdownload', 'google_addressbook', 'html5_notifier', 'contextmenu', 'mobile', 'calendar', 'threecol', 'lastlogin', 'geolocation', 'rcguard', 'filters','automatic_addressbook', 'rc_foldersort', 'blacklist', 'markasjunk2', 'keyboard_shortcuts', 'background_changer', 'attachment_position', 'tasklist', 'gravatar');

I tested with disabling threecol plugin, but no avail.

Regards,
Soumitri Mishra,

On Wednesday 20 July 2016 06:28 PM, A.L.E.C wrote:
On 07/20/2016 02:33 PM, [hidden email] wrote:

--$config['display_next'] = false;

-- The user use double click to read messages without preview pane.

Now when he deletes a message, the message is moved to Trash , but the
screen does not goes back to list of message, it is stuck at showing the
deleted message along with status "Moving message" in grey. The user has
to click on folder name to get the list of message.
Works for me. What version? What plugins? What browser? See browser
console for errors.



_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: possible bug

A.L.E.C
On 07/20/2016 03:16 PM, [hidden email] wrote:

> $config['plugins'] = array('additional_message_headers', 'archive',
> 'attachment_reminder', 'emoticons', 'hide_blockquote',
> 'identity_select', 'jqueryui', 'legacy_browser',  'newmail_notifier',
> 'show_additional_headers', 'subscriptions_option', 'userinfo',
> 'vcard_attachments', 'zipdownload', 'google_addressbook',
> 'html5_notifier', 'contextmenu', 'mobile', 'calendar', 'threecol',
> 'lastlogin', 'geolocation', 'rcguard',
> 'filters','automatic_addressbook', 'rc_foldersort', 'blacklist',
> 'markasjunk2', 'keyboard_shortcuts', 'background_changer',
> 'attachment_position', 'tasklist', 'gravatar');
>
> I tested with disabling threecol plugin, but no avail.

The error is in rc_foldersort.js and you disabled threecol, interesting ;)

I'm pretty sure there are other plugins not yet compatible with 1.2 on
your list.

--
Aleksander 'A.L.E.C' Machniak
Kolab Groupware Developer        [http://kolab.org]
Roundcube Webmail Developer  [http://roundcube.net]
---------------------------------------------------
PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl
_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: possible bug

soumitri@iitk.ac.in
In reply to this post by soumitri@iitk.ac.in
Thanks to Aleksander. It is working now.
On Wednesday 20 July 2016 06:46 PM, [hidden email] wrote:

Hello,

Thanks for the reply.

More details

RC version : 1.2.0, on
Problem both in Firefox 45.2.0 and chrome.


Firefox Browser console output during the delete operation:

==============================

TypeError: orig_order is undefined
<anonymous>
 rc_foldersort.js:79
rcube_event_engine.prototype.triggerEvent()
 common.min.js:41
rcube_webmail/this.command()
 app.min.js:65
<anonymous>
 app.min.js:2
rcube_webmail/this.http_response()
 app.min.js:297
rcube_webmail/this.http_request/<.success()

================================

This is happening both in larry, classic skin.

$config['plugins'] = array('additional_message_headers', 'archive', 'attachment_reminder', 'emoticons', 'hide_blockquote', 'identity_select', 'jqueryui', 'legacy_browser',  'newmail_notifier', 'show_additional_headers', 'subscriptions_option', 'userinfo', 'vcard_attachments', 'zipdownload', 'google_addressbook', 'html5_notifier', 'contextmenu', 'mobile', 'calendar', 'threecol', 'lastlogin', 'geolocation', 'rcguard', 'filters','automatic_addressbook', 'rc_foldersort', 'blacklist', 'markasjunk2', 'keyboard_shortcuts', 'background_changer', 'attachment_position', 'tasklist', 'gravatar');

I tested with disabling threecol plugin, but no avail.

Regards,
Soumitri Mishra,

On Wednesday 20 July 2016 06:28 PM, A.L.E.C wrote:
On 07/20/2016 02:33 PM, [hidden email] wrote:

--$config['display_next'] = false;

-- The user use double click to read messages without preview pane.

Now when he deletes a message, the message is moved to Trash , but the
screen does not goes back to list of message, it is stuck at showing the
deleted message along with status "Moving message" in grey. The user has
to click on folder name to get the list of message.
Works for me. What version? What plugins? What browser? See browser
console for errors.




_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users


_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: possible bug

soumitri@iitk.ac.in
In reply to this post by A.L.E.C
Hello,
Yes, there were some errors in the RC error log, after upgradation to
1.2, nearly one month back.
But some minor fixes in those plugins got the things running. Now there
are very few random errors, but not directly affecting user, possibly.

Only thing that I was not able to configure is, enigma plugin, even
after following
https://kolabian.wordpress.com/2015/10/13/enigma-plugin-pgp-encryption/.
Some silly mistake may be: error was "Encryption failed. Public key not
found for [hidden email]". [app.min.js:161:237]

Now for a temporary fix for "me" in rc_foldersort plugin; works
immediately and no error in web console and RC after replacing line 79
with this 2 lines.

  new_order = orig_order.toUpperCase();
  $('#rcm' + orig_col).removeClass('sorted' + new_order);

Thanks for the help.

Regards,
---
Soumitri Mishra


>
> I'm pretty sure there are other plugins not yet compatible with 1.2 on
> your list.
_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: possible bug

soumitri@iitk.ac.in

Sorry, it was just double quotes hack for line 79 in rc_foldersort.js.

$('#rcm' + orig_col).removeClass("'sorted' + (orig_order.toUpperCase())");

Regards,
Soumitri Mishra,

On Wednesday 20 July 2016 08:06 PM, [hidden email] wrote:


Now for a temporary fix for "me" in rc_foldersort plugin; works immediately and no error in web console and RC after replacing line 79 with this 2 lines.

 new_order = orig_order.toUpperCase();
 $('#rcm' + orig_col).removeClass('sorted' + new_order);




_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: possible bug

Sandor Takacs
Hello!

2016-07-21 07:12 időpontban [hidden email] ezt írta:
> Sorry, it was just double quotes hack for line 79 in rc_foldersort.js.
>
> $('#rcm' + orig_col).removeClass("'sorted' +
> (orig_order.toUpperCase())");

>> Now for a temporary fix for "me" in rc_foldersort plugin; works
>> immediately and no error in web console and RC after replacing line
>> 79 with this 2 lines.
>>
>> new_order = orig_order.toUpperCase();
>> $('#rcm' + orig_col).removeClass('sorted' + new_order);

Just applied your fixes in rc_foldersort plugin, thanks for it.

--
Takika
_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users