Bug 109449 - Wrong day view for events lasting more than 1 month
Summary: Wrong day view for events lasting more than 1 month
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: otherviews (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-22 08:19 UTC by Daniel Olmedilla
Modified: 2009-02-03 18:45 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Olmedilla 2005-07-22 08:19:46 UTC
Version:            (using KDE KDE 3.4.1)
Installed from:    Gentoo Packages
Compiler:          gcc 3.4.4 
OS:                Linux

I have currently an event which last for 40 days and has no time associated (in fact is just represents that I am not in my office but in a visit in a different country). The problem is that all the views (week, month, etc...) show the event without any problem except the day view. In the day view, I can't see the even in the last 10 days, that is, the event is from the 19th sep to 30th oct and if I go to the day 25th sep, I can see the event but if I go the 25th oct, then the event is not shown (although it is there and in the rest of the views it is shown). I have seen that the event in day view finishes in the middle of the day 20th oct, and in that day, the bar is not full but only the half horizontally (normally the whole "All day" is filled in green with the event but in this case only the left horizontal part of the field is filled and the rest is blank), just in case it gives any hint.

Thanks.
Comment 1 Reinhold Kainhofer 2005-07-23 11:14:23 UTC

*** This bug has been marked as a duplicate of 101172 ***
Comment 2 Reinhold Kainhofer 2005-07-24 19:22:08 UTC
Sorry, just realized that this is indeed a different problem. In single-day view, one day is quite a few pixel wide. The event is created over 40 days, which is easily larger than 32000 pixel, which is the max size we use... Thus the cut-off at that point where the threshold is reached.

We really need to find a better way to deal with such long events!
Comment 3 Reinhold Kainhofer 2006-11-02 19:31:08 UTC
Reassigning all KOrganizer bug reports and wishes to the newly created 
korganizer-devel mailing list.
Comment 4 Reinhold Kainhofer 2007-01-01 16:01:32 UTC
> I have currently an event which last for 40 days and has no time
> associated (in fact is just represents that I am not in my office but
> in a visit in a different country). The problem is that all the views
> (week, month, etc...) show the event without any problem except the
> day view. In the day view, I can't see the even in the last 10 days,
> that is, the event is from the 19th sep to 30th oct and if I go to
> the day 25th sep, I can see the event but if I go the 25th oct, then
> the event is not shown.


You are right, that's a problem only in the day view, if one day has quite a 
large width. The problem is that we create the widget for the event with its 
proper coordinates starting at the correct beginning date (which is not 
visible on the left). For very long events, the widget thus exceeds the 
maximum widget width...

However, changing this is not so easy, as we need the start date (and in 
particular the correct new date) when moving the events...

Cheers,
Reinhold

Cheers,
Reinhold
Comment 5 Sergio Martins 2009-02-03 07:58:11 UTC
It works fine in KDE4.2
Comment 6 Christophe Marin 2009-02-03 18:45:34 UTC
Confirmed, we cannot reproduce this issue anymore in KDE 4.2.

We will close this bug report now.