Bug 60969 - KDockWidget: pixmap supplied but not shown correctly
Summary: KDockWidget: pixmap supplied but not shown correctly
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Joseph Wenninger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-09 09:30 UTC by esigra
Modified: 2011-07-25 16:12 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Testcase, C++ sourcecode (2.37 KB, text/plain)
2006-02-15 21:50 UTC, esigra
Details

Note You need to log in before you can comment on or make changes to this bug.
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.