[Webkit-unassigned] [Bug 188408] [GTK] Web Inspector: Checkboxes in Inspector elements panel are rendered incorrect

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 13 15:23:19 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=188408

--- Comment #2 from Carlos Eduardo Ramalho <cadubentzen at gmail.com> ---
(In reply to Michael Catanzaro from comment #1)
> We should probably not try to use GTK+ theme for checkboxes that are this
> small.
> 
> Carlos Eduardo, what do you think?

Hi Michael! I took a look at this on Friday but didn't have time to comment here.

Yes, this is another problem with GTK+ theme rendering bigger areas than the page style asks for.

In the inspector the mentioned checkbox is 10x10, but GTK+ minimumSize() is 24x16.

It's one of the things in the way in a patch I was writing on the spinbuttons too. It's in a sensible area (RenderThemeGadget::render()) that could cause lots of regressions or tests needed to be rebased.

I tried to not draw with GTK+ (using RenderThemeGtk::isControlStyled()) but then the engine simply does not draw any checkbox at all. Not good.

I'm trying to come up with a good solution but at a first glance I couldn't find how to solve it trivially.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180813/ce9d8ccc/attachment-0001.html>


More information about the webkit-unassigned mailing list