Bug 60969

Summary: KDockWidget: pixmap supplied but not shown correctly
Product: [Frameworks and Libraries] kdelibs Reporter: esigra
Component: generalAssignee: Joseph Wenninger <jowenn>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: cfeck, lex.lists
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Testcase, C++ sourcecode

Description esigra 2003-07-09 09:30:10 UTC
Version:           3.1.2 (using KDE KDE 3.1.2)
Installed from:    Compiled From Sources

I use 
Comment 1 esigra 2006-02-15 21:50:01 UTC
Created attachment 14715 [details]
Testcase, C++ sourcecode

Use this together with a Makefile that looks something like this:
INCLUDE := -I/usr/qt/3/include -I/usr/kde/3.4/include
LIB := -L/usr/qt/3/lib -lqt-mt -L/usr/kde/3.4/lib -lkdeui -lkdecore

main: Makefile main.cc moc.cc
	g++ -Wall $(INCLUDE) $(LIB) main.cc -o main

moc.cc: Makefile main.cc
	moc main.cc > moc.cc
Comment 2 esigra 2006-02-16 07:45:23 UTC
I finally figured out something that is almost a workaround: I draw the top-left and bottom-right pixels in another colour:
		painter.setPen(Qt::NoPen);
		painter.setBrush(QBrush(QColor(0, 0, 0), Qt::SolidPattern));
		painter.drawRect (0,  0,  1,  1);
		painter.drawRect(15, 15,  1,  1);
 Then everything except those 2 pixels are drawn correctly. Something really "funny" is going on somewhere.
Comment 3 lexual 2010-01-23 05:33:09 UTC
Still relevant to recent KDE version?
If not please close the bug.

Thanks,

Lex.
Comment 4 Christoph Feck 2011-07-25 16:12:26 UTC
Please port the application to QDockWidget, because KDockWidget is no longer maintained.