After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 321807 - Printing Monthly Calendar donesn't show all appointments
Printing Monthly Calendar donesn't show all appointments
Status: RESOLVED OBSOLETE
Product: evolution
Classification: Applications
Component: Calendar
2.8.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
: 337345 (view as bug list)
Depends on:
Blocks: 327508 327510
 
 
Reported: 2005-11-18 16:08 UTC by David Ronis
Modified: 2013-09-10 13:51 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Output of evolution run from a shell to test calendar printing. (1.41 KB, text/plain)
2005-11-20 17:18 UTC, David Ronis
  Details
patch for evolution 2.6 (3.91 KB, patch)
2006-04-29 09:04 UTC, Xiurong Simon Zheng
needs-work Details | Review

Description David Ronis 2005-11-18 16:08:57 UTC
Please describe the problem:
I'm currently showing my calendar for today.  If I try to print the calendar for
the month
the only appointents that shows up on the printed form are those for today.

Similarly, if I'm looking at the current work week and select print (again
selecting the entire month) I only see the apointments for the week.

Finally, if I dislpay the entire month, AND click on one of the days in that
month,  then I get everything.  If I don't click on an entry,  I sometimes don't
get the current month
(I cant seem to reproduce this right now).

Steps to reproduce:
See above
2. 
3. 


Actual results:
See above

Expected results:
If I'm showing a calendar (day/week/month) and print, selecting the entire
month,  I should get all the appointments for that month.

Does this happen every time?
Yes

Other information:
Comment 1 André Klapper 2005-11-20 10:53:26 UTC
hi,
thanks for taking the time to report this.
if you start evolution from a shell, is there any relevant output?
Comment 2 David Ronis 2005-11-20 17:18:54 UTC
Created attachment 54975 [details]
Output of evolution run from a shell to test calendar printing.

The description says it all
Comment 3 David Ronis 2005-11-20 17:19:31 UTC
I ran evolution from a shell and directed all output to a file (attached).  I
basically started evolution, switched to the calendar, and tried to print.  From
the print dialog, I selected 
print month (November) and previewed.  There were no appointments at all (there
were none today).

David
Comment 4 André Klapper 2005-11-20 21:09:15 UTC
i googled around and "IPP request failed with status 1280" seems to come from a
gnome-cups-* package, so it would not be evolution related, but indeed a cups
printing problem. are you running ubuntu?

...and your dbus daemon is not working. but that is another issue that has
nothing to do with that one here.
Comment 5 David Ronis 2005-11-20 21:21:36 UTC
I'm running lprng on this machine, so no suprise that cups is not happy. 
Printing works in general though, and my problem is apparent when I preview the
print job or save a PDF file to disk.

As to dbus, I've not bothered turning it on.    (Been meaning to do so though,
so thanks for the reminder).

So the bug still stands it seems.

 
Comment 6 André Klapper 2005-12-02 13:35:36 UTC
i have no idea about lprng (i know what it is, but that's all :-), but it *does*
work together with gnome-print i assume.
does this happen with other views as well? other gnome apps run okay?
sigh.
Comment 7 David Ronis 2005-12-02 15:36:14 UTC
lprng is just another spooler, but just to be sure, I switched to CUPS.  The
same problem occurs (other apps run just fine).  Moreover, you can see the
problem if you press preview (from the print dialog) rather than print--no
spooler required.  
I just tried it today and the results were interesting.  I have 4 appointments
today:  2 from a web calendar and 2 from a personal calendar.  Of the latter,
one actually starts today and continues throughout the month.  That shows up
properly.     
However, none of the other web calendar entries for the other days, nor any
other local ones appear.
Comment 8 Dave Malcolm 2005-12-08 23:17:00 UTC
I'm seeing the reported behaviour with evolution 2.5.2 (Fedora evolution-2.5.2-1
package): Evolution only seems to be printing the events that are visible in the
current view, rather than those in the range for which the printout covers. 

This is using Print Preview, seems to be unrelated to any CUPS issues.

So if you're in month view showing all of December and a few days beyond in each
direction, but have the last day of November selected, the printout covers
November, and will only show events that happened to be visible.  So you get a
different date range to what you were expecting, and it prints that range
incorrectly... :-(

Reported in our downstream bugzilla here:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=175318
Comment 9 André Klapper 2006-02-26 15:18:32 UTC
can anyone please update this for 2.5.91? is it still reproducible?
Comment 10 Xiurong Simon Zheng 2006-04-06 03:43:30 UTC
Andre, this issue still exists on evolution 2.6. 

Evolution only seems to be print the events that are visible in the
current view, rather than those in the range for which the printout covers. 

Steps to reproduce:
1. Launch -> Evolution
2. Goto "Calendar" -> Create some appoinment
           for example: 6 appoinments : 1 appoinment on the  2nd of March,
                                        1 appoinment on the 15th of March,
                                        1 appoinment on the 30th of March,
                                        1 appoinment on the  2nd of April,
                                        1 appoinment on the 15th of April,
                                        1 appoinment on the 30th of April,

3. Choose "View" by "Month" -> Drag down until the first two appoinments aren't in current view.
4. Click on the 30th of March Calendar box.
5. Goto "File" -> "Print Preview"

Actual Result: Only March 30th appoinment is showed on printing preview. Other two March appoinments that aren't in current view can't be showed.
Comment 11 André Klapper 2006-04-06 14:18:51 UTC
*** Bug 337345 has been marked as a duplicate of this bug. ***
Comment 12 Xiurong Simon Zheng 2006-04-29 09:04:31 UTC
Created attachment 64507 [details] [review]
patch for evolution 2.6

Post the patch made by Jerry. Calendar maintainer, pls help us review it.
Comment 13 Chenthill P 2006-06-07 07:52:30 UTC
This patch will not fix the bug. Since each view has a seperate model associated with it, you will need to get the model for the specific view to get all the appointments.
Comment 14 André Klapper 2006-06-18 11:57:41 UTC
retargetting.
Comment 15 Sebastien Bacher 2006-09-20 16:53:39 UTC
Ubuntu bug about that: https://launchpad.net/products/evolution/+bug/61359
Comment 16 Diego Escalante Urrelo (not reading bugmail) 2008-04-02 11:12:34 UTC
Can't reproduce. OBSOLETE'ing, please reopen if still happens in 2.22.