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

List:       kde-pim
Subject:    Korganizer printing
From:       Larry Wright <larry.tami () gte ! net>
Date:       2001-06-20 2:53:46
[Download RAW message or body]

I have taken a look at some of the printing bugs on bugs.kde.org. There are 
several that I can't reproduce, namely #24707 and #25058. 

Here are a couple of others I have looked at:
#27012: korganizer month view printing, states that there is a mini-month at 
the top of the page, that shows the previous month instead of  the current 
month. According to the comments in the code, this is by design. That *would* 
seem a little redundant. I have a solution that may alleviate any confusion, 
which is to add the following month, in addition to the previous month. This 
should make it a little more clear. I have attached a patch that will do this.

#24039: 
"Using KOrganizer 2.1, I select Print | Day | I can not print more than one 
page of data.  My appointments range from 8:00 AM until 21:00, but only 
from8:00 AM to 19:00 prints on the sheet."
I looked at the code and here is what I found:
    if ((startTime >= mStartHour)  &&
	(endTime <= (mStartHour + 12))) {
which looks to effectively cut off appointments if they occur more than 12 
hours after the start of the day, i.e. if the day starts at 7am, anything 
after 7pm will not be printed. So, the question becomes do we add code to 
pring one day over multiple pages, or try to scale everything to fit on one 
page (I'm not sure if this is even possible)? The other option is of course 
to just say this is by design and let it go at that.


Any thoughts would be appreciated.

Larry
["korg.patch" (text/plain)]

? korg.patch
Index: calprinter.cpp
===================================================================
RCS file: /home/kde/kdepim/korganizer/calprinter.cpp,v
retrieving revision 1.56
diff -r1.56 calprinter.cpp
484a485,488
>     //print the following month as well
>     drawSmallMonth(p, QDate(cd.addDays(cd.daysInMonth()-cd.day()+1)),
>   		 width/2+width/4+5, 5, /*width/4-10*/100, height-10);
> 


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

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