#1488346 closed Bugs (fixed)

Error message display if virtual mailbox selected

Reported by: toony Owned by:
Priority: 5 Milestone: 0.7.2
Component: User Interface Version: 0.7.1
Severity: normal Keywords:
Cc:

Description

If a virtual mailbox is selected in folder tree, roundcube display an STATUS error message (mailbox does not exist).

Reproduce this:

  • got rights on a share folder or mailbox
  • select this share folder or mailbox in folder tree
  • collapse virtual folder or mailbox tree

Attachments (2)

dontDisplayStatusErrorIfSelectedFolderIsVirtual.patch (1003 bytes) - added by toony 16 months ago.
client_-_dontRefreshFolderContentIfVirtual.patch (618 bytes) - added by toony 16 months ago.

Download all attachments as: .zip

Change History (9)

comment:1 follow-up: Changed 16 months ago by rosali

I can confirm the issue, but the patch does not work for me. I'm on hMailserver and there are Public Folders like '#Public'. I don't see anything in the IMAP logs which could help to decide if the selected folder is a virtual folder or not. Perhaps we can have config value to setup Roundcube according to hMailserver settings for virtual folders. I think about something like:

$rcmail_config['virtual_folders'] = array(
  '#Public',
  '#Foo',
  '#Bar',
);

comment:2 Changed 16 months ago by alec

The question is, why this folder is "virtual"? Enable imap_debug and provide the log.

comment:3 in reply to: ↑ description Changed 16 months ago by toony

Replying to toony:

If a virtual mailbox is selected in folder tree, roundcube display an STATUS error message (mailbox does not exist).

Reproduce this:

  • got rights on a share folder or mailbox
  • select this share folder or mailbox in folder tree
  • collapse virtual folder or mailbox tree

I'm using Cyrus IMAPd 2.4.13

comment:4 in reply to: ↑ 1 Changed 16 months ago by toony

Replying to rosali:

I can confirm the issue, but the patch does not work for me. I'm on hMailserver and there are Public Folders like '#Public'. I don't see anything in the IMAP logs which could help to decide if the selected folder is a virtual folder or not. Perhaps we can have config value to setup Roundcube according to hMailserver settings for virtual folders. I think about something like:

$rcmail_config['virtual_folders'] = array(
  '#Public',
  '#Foo',
  '#Bar',
);

Did you mean that you can select this entry in roundcube folder tree ?

comment:5 follow-up: Changed 16 months ago by alec

  • Milestone changed from later to 0.8-beta

This is about proper handling of folder collapse action. It is not possible to select virtual folder by clicking it's name, but when a folder which is a child of virtual folder is selected we can collapse the virtual folder. In that situation normally we are selecting collapsed parent, but in case of virtual folder we have to:

  • do not change the selection
  • select INBOX folder

comment:6 in reply to: ↑ 5 Changed 16 months ago by toony

Replying to alec:

This is about proper handling of folder collapse action. It is not possible to select virtual folder by clicking it's name, but when a folder which is a child of virtual folder is selected we can collapse the virtual folder. In that situation normally we are selecting collapsed parent, but in case of virtual folder we have to:

  • do not change the selection
  • select INBOX folder

Propose an improved patch (http://trac.roundcube.net/attachment/ticket/1488346/client_-_dontRefreshFolderContentIfVirtual.patch).
Replace other. Client do stuff.

I prefer to unchange selection, because it's more "user compliant" I think.
Changing selected folder for INBOX or collapsed parent folder may confuse users.

comment:7 Changed 16 months ago by alec

  • Milestone changed from 0.8-beta to 0.7.2
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [1837c330] (trunk) and r5952/svn (0.7).

Note: See TracTickets for help on using tickets.