<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Background color for mulitline edit not applied (kf5)"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=136866#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Background color for mulitline edit not applied (kf5)"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=136866">bug 136866</a>
from <span class="vcard"><a class="email" href="mailto:m.weghorn@posteo.de" title="Michael Weghorn <m.weghorn@posteo.de>"> <span class="fn">Michael Weghorn</span></a>
</span></b>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=165646" name="attach_165646" title="Patch that adds test ouptut showing that color is not passed for qt5">attachment 165646</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=165646&action=edit" title="Patch that adds test ouptut showing that color is not passed for qt5">[details]</a></span>
Patch that adds test ouptut showing that color is not passed for qt5
The attached patch demonstrates that the background color is not passed
correctly into Qt5Graphics_Controls::drawNativeControl, while
GtkSalGraphics::drawNativeControl does get the correct one.
Output when using kf5 VCL plugin with that patch in place:
<span class="quote">> warn:vcl.test:17103:17103:vcl/qt5/Qt5Graphics_Controls.cxx:254: multilineedit, rBackgroundColor: c[ffffffff]
> warn:vcl.test:17103:17103:vcl/qt5/Qt5Graphics_Controls.cxx:254: multilineedit, rBackgroundColor: c[ffffffff]</span >
-> COL_AUTO, is passed here, i.e. not the correct color
Output when using gtk3 VCL plugin:
<span class="quote">> warn:vcl.test:17264:17264:vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx:2322: multilineedit, rBackgroundColor: c[ff383800]
> warn:vcl.test:17264:17264:vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx:2322: multilineedit, rBackgroundColor: c[ff383800]
> warn:vcl.test:17264:17264:vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx:2322: multilineedit, rBackgroundColor: c[ff383800]
> warn:vcl.test:17264:17264:vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx:2322: multilineedit, rBackgroundColor: c[ff383800]</span >
-> proper color is passed
What would probably have to be done here is to find out why the color is not
passed as expected for the qt5/kf5 case.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>