[Bug 219842] New: Markers for range selections not updated as necessary

Marcos Marado marcos.marado at sonae.com
Wed Dec 23 15:44:43 GMT 2009


https://bugs.kde.org/show_bug.cgi?id=219842

           Summary: Markers for range selections not updated as necessary
           Product: kmail
           Version: unspecified
          Platform: Debian testing
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: GUI
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: marcos.marado at sonae.com


Version:           4.3.2 (using KDE 4.3.2)
OS:                Linux
Installed from:    Debian testing/unstable Packages

Hi there,

This bug report was made to Debian (
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561779 ):

After several operations on a folder the marker for the currently selected 
message is not updated correctly. It seems that there are actually two 
markers, one for the GUI, which is handled correctly, and one for internal 
uses, which isn't. The latter one seems to be an index which isn't updated in 
several cases.


Example:
 * Select the first mail in a folder.
 * Now change the sorting order.
 * The previously selected message is still highlighted by the GUI, let's 
assume that it now is at position 6 in the list of messages.
 * Hold the shift key and click on the message at position 3 in the list.

At this point now, I would expect that messages at the position 3, 4, 5, 6 are 
highlighted. Instead, messages at position 1, 2, 3 are highlighted, while the 
highlight on position 6 is removed.

Similarly, when deleting mails the first following mail is highlighted by the 
GUI while the internal index isn't.


Concerning the severity and why this is not just an annoyance, the reason is 
that it is not always obvious what is going on when the start of the selection 
range isn't visible. I was just cleaning up some old mails and there was one 
from a source which I don't care for any more. I selected that, changed the 
selection to "sort by author", scrolled down the list, shift-selected the last 
of them and deleted them. Since the start of the selection remained close to 
the beginning of the whole folder, far out of view, this just cost me a few 
hundred mails.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list