Bug 60476 - Print out the tables with color
Summary: Print out the tables with color
Status: RESOLVED WORKSFORME
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 62459 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-06-28 22:50 UTC by S Leiber
Modified: 2006-11-19 13:34 UTC (History)
3 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 S Leiber 2003-06-28 22:50:35 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.2.2 
OS:          Linux

I think after we have correct all the other wishes for correcting the printing style we must add a option to print the data allso in a color mode not only black/wite!

Sven
Comment 1 Reinhold Kainhofer 2003-08-10 20:14:38 UTC
*** Bug 62459 has been marked as a duplicate of this bug. ***
Comment 2 Reinhold Kainhofer 2003-09-28 22:41:53 UTC
Subject: kdepim/korganizer

CVS commit by kainhofe: 

KOrganizer now uses colors for the printout.

Stupid me, I used setBrush( QColor ) and then setBrush( Qt::SolidBrush )... I should really be more careful when reading Qt docs. The second call to setBrush sets the color to black, and the first call is made redundant... Argh. Fixed this.

CCMAIL: 60476-done@bugs.kde.org


  M +1 -3      calprintbase.cpp   1.10


--- kdepim/korganizer/calprintbase.cpp  #1.9:1.10
@@ -102,7 +102,5 @@ void setCategoryColors( QPainter &p, Inc
   QColor textColor = getTextColor(bgColor);
   p.setPen( textColor );
-  p.setBackgroundColor( bgColor );
-  p.setBrush( Qt::SolidPattern );
-//  p.setBrush( Qt::NoBrush );
+  p.setBrush( bgColor );
 }
 


Comment 3 Matija Šuklje 2005-10-02 09:59:12 UTC
Soooo, in which version is this already fixed (apart from the CVS)?

Using 3.4.1 and the problem is still present
Comment 4 Frank Osterfeld 2005-10-02 10:15:19 UTC
This bug is present again in 3.4 and 3.5.
According to a user on #kde IRC channel, it worked in 3.3. Apparently there was major refactoring of korganizer/printing after 3.3, so this might be the reason.
Comment 5 Matija Šuklje 2005-12-14 09:19:45 UTC
Frankly, I'm quite surprised, that this bug hasn't been tackled already. From how it looks like it should be pretty easy to fix. :/
Comment 6 Reinhold Kainhofer 2005-12-14 10:01:23 UTC
On Wednesday 14 December 2005 09:19, Matija (silver_)hook Suklje wrote:
> ------- Additional Comments From matija.suklje rutka net  2005-12-14 09:19
> ------- Frankly, I'm quite surprised, that this bug hasn't been tackled
> already. From how it looks like it should be pretty easy to fix. :/


You are more than welcome to tackle it yourself! My problem currently is that 
I have absolutely no spare time for KDE left, as my day jobs and several 
other activities require all my attention.

Cheers,
Reinhold
Comment 7 Matija Šuklje 2005-12-14 10:38:34 UTC
Terribly sorry. I really didn't mean to sound cocky :(
Yes, I can completely understand you, since I'm too busy IRL to have spare time for KDE and other FOSS projects as well.

If all that has to be made is changing that line, I *CAN* try it somehow (although I'm not a coder and probably have no write access to CVS/SVN).

Cheers,
Matija
Comment 8 Reinhold Kainhofer 2006-11-02 19:19:44 UTC
Reassigning all KOrganizer bug reports and wishes to the newly created 
korganizer-devel mailing list.
Comment 9 Matija Šuklje 2006-11-19 12:54:41 UTC
In KDE 3.5.5 (Gentoo) it prints fine again.

A big thank you to the one who fixed this. :)
Comment 10 Bram Schoenmakers 2006-11-19 13:34:11 UTC
OK, then I will close this one.