Ticket #1484942 (closed Patches: fixed)

Opened 7 months ago

Last modified 6 months ago

Clear selection when selecting single item

Reported by: damischa Owned by:
Priority: 5 Milestone: 0.1.1
Component: User Interface Version: svn-trunk
Severity: normal Keywords:
Cc:

Description

Default behaviour in Roundcube's message list is to not clear previous selections if user clicks (without any multiselect modifier keys) on a message that is already selected. This behaviour is different from the traditional listboxes. When single-selecting item from a listbox, having multiple items selected before, the initial selection is cleared and only that single item becomes selected. I'd myself prefer the traditional behaviour.

Sorry about not providing showcase, try this instead:
1. Select multiple messages from list (keeping shift or control down)
2. Click one of the selected items (WITHOUT shift or control) -> nothing happens

What should happen, if we implement the traditional listbox behaviour, is to clear the multiselection and make only the clicked message selected.

Attachments

list.js.patch (374 bytes) - added by damischa 7 months ago.
Patch (diff -u) against trunk to change the behaviour.
unselect.patch (1.3 kB) - added by alec 7 months ago.

Change History

Changed 7 months ago by damischa

Patch (diff -u) against trunk to change the behaviour.

Changed 7 months ago by alec

Changed 7 months ago by alec

in the same time I was making my own patch, I was working on app.js, but I think it should be done in damischa's way

Changed 6 months ago by alec

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from later to 0.1.1

Fixed in r1243

Note: See TracTickets for help on using tickets.