Version: nieznana (using 4.00.85 (KDE 4.0.85 (KDE 4.1 >= 20080703) "release 4.2", KDE:KDE4:Factory:Desktop / openSUSE_11.0) Compiler: gcc OS: Linux (i686) release 2.6.25.9-0.2-pae I copied some text from one Notes widget to the other. I can't see text now because of black background (see Snapshot at http://www.ownlog.com/smiecie/notesbug.png)
Which video driver are you using?
Intel 945 GM.
the problem is that when you copy text from the notes applet it copies rich text with a black background (it's html, so he don't know what alphachannel is, so QColor(0,0,0,0) = QColor(0,0,0,255)) the only workaround that comes to my mind is to forbid rich text setAcceptRichText(false) don't know if it's possible to modify somehow the text copied, maybe reimplementing createMimeDataFromSelection() ? just guessing, i have no idea
Simply removing line 64 m_textEdit->nativeWidget()->setTextBackgroundColor(QColor(0,0,0,0)); seems to fix it. Can you try it please?
it fixes it also for me, think you can commit seems pretty silly that line in the first place :)
SVN commit 832890 by annma: not needed at the first place, especially as it triggers a copy/paste bug CCBUG=166605 M +0 -1 notes.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=832890
SVN commit 832891 by annma: not needed as it triggers copy/paste bug BUG=166605 M +0 -1 notes.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=832891