Summary: | Black background in Notes in text which has been pasted | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | Michal Borek <michal> |
Component: | widget-misc | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Michal Borek
2008-07-15 11:37:42 UTC
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 |