Closed Bug 359007 Opened 13 years ago Closed 5 years ago
Event printed multiple times with same time if it is a multiday event
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1) Gecko/20061010 Firefox/2.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061031 Calendar/0.4a1 If an event is created over midnight (e.g. from 10 p.m. till 9 a.m.) and this event is printed with the "Monthly Grid" layout, this event is displayed on both days, but with the same entry, like "10 p.m. Eventname". If you see the print out this one event would appear as two events on two successive days. Reproducible: Always Steps to Reproduce: 1.Create an event from day1 10 p.m. to day2 6 a.m. 2.File - Print - Layout: Monthly Grid Actual Results: You can already see the problem in the print preview. Expected Results: Generally I would expect a from - to display of events and not only the start time. Having this from - to display I would expect for one-day events a display like that: 06:00am Event 09:00am or something like that For the situation described above I would suggest: day1: 10pm Event day2: Event 9am There is a similar problem in the weekly view, which will go together with this bug. The only difference is, that the weekly view already displays from-to times. (Maybe the print layout like from time, to time, etc. can be customized in the future, so everyone can adjust his own settings depending on how detailed the information should be -> My purpose is some kind of monthly overview of a working schedule and thus it has to include the times).
Confirmed with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061103 Calendar/0.4a1. This is a problem in Monthly Grid and Weekly Planer.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Summary: Event printed twice if event is over midnight → Event printed multiple times with same time if it is a multiday event
Version: unspecified → Trunk
wow.... persisting for almost 9 years and no traces for attempts to fix...
If I don't miss something, this should work. It displays multiday events in the same way of the month view with the arrows for start, end and "middle" positions. Is there a simple way to avoid using the code for the unicode arrows characters? If I set the strings by using directly the arrow characters (the same used in the calendar-month-view.xml) they are not displayed correctly in the print preview.
Assignee: nobody → bv1578
Status: NEW → ASSIGNED
Attachment #8626487 - Flags: review?(philipp)
Attachment #8626487 - Flags: review?(philipp) → review+
Pushed to comm-central changeset 572e71f97c22
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 4.4
I don't think there is a more simple way for the unicode characters. In theory using the symbols directly should show the right characters, but if that doesn't work then the code is the right way to go.
You need to log in before you can comment on or make changes to this bug.