[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 86409] Events on Month View should be listed in Chronological
From:       Reinhold Kainhofer <reinhold () kainhofer ! com>
Date:       2004-09-30 18:01:12
Message-ID: 20040930180112.24170.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
        
http://bugs.kde.org/show_bug.cgi?id=86409        




------- Additional Comments From reinhold kainhofer com  2004-09-30 20:01 -------
Zitiere Philip Scott <pgs31 cam ac uk>:
> In KOrganiser's Calender part, with 'View' set to 'Month', events are
> listed for a particular day in the order that they were added to the 
> calender, not in time order of their occurrence.

Yes, this is known, but it isn't intended. Actually, it is a consequence of 
several things:
1) We use a sub-classed list box for each day in the month view.
2) The list view entries are not automatically sorted.
3) We could call sort(), but list view entries can only be sorted by the 
visible string, so "9:00-..." will always be after "10:00-...", just like an 
all-day event will always be after the timed events. List views can have 
different sorting algorithms, list boxes don't.
4) We could manually insert them at the correct position, but we don't do this 
yet. It would probably not increase the execution time too much, if we just go 
through all entries in the list box to find the correct position for the entry.
5) When obtaining the events/todos that should be displayed on a given day, we 
might use the new events/todos() methods that return the lists in sorted 
order. However, I haven't yet tried them, so I don't know how well that would 
work.

Reinhold
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic