[Bug 226793] frameless combobox drawn without background
Hugo Pereira Da Costa
hugo.pereira at free.fr
Sun Feb 14 17:17:22 GMT 2010
https://bugs.kde.org/show_bug.cgi?id=226793
--- Comment #6 from Hugo Pereira Da Costa <hugo pereira free fr> 2010-02-14 18:17:20 ---
Yeah well. Indeed this "transparent" combobox when setFrame is zero is indeed a
new feature. The idea behind it was that if one want to make a custom widget
with a combobox embedded into it, one might want to have the parent background
used and not the default one, that by default comes with a frame. Hence the
"transparency" when setFrame( false ) is used, that can be overwritten when
autoFillBackground is set to true.
This was added to the code (a month or to ago) to answer a bug report that
basically conflicts with yours. I am not sure I can come with a solution that
make both bug reports happy.
I tried to look in QComboBox to find if there was another flag that could be
used to trigger "flat" comboboxes, but there are none, as far as I can tell.
(as for other styles, they can differ in multiple ways:
1/ they use a flat background for main windows and use the same for comboboxes
(which we can't do in oxygen since the main window background is not flat,
hence the transparency)
2/ they don't honor the noFrame option and would suffer from the same bug as
the first one I tried to address)
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list