[Libreoffice-bugs] [Bug 136866] Background color for mulitline edit not applied (kf5)
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 18 04:33:17 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=136866
--- Comment #1 from Michael Weghorn <m.weghorn at posteo.de> ---
Created attachment 165646
--> https://bugs.documentfoundation.org/attachment.cgi?id=165646&action=edit
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:
> 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]
-> COL_AUTO, is passed here, i.e. not the correct color
Output when using gtk3 VCL plugin:
> 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]
-> 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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200918/de364d15/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list