[Webkit-unassigned] [Bug 26045] The Qt Style Sheets are not applied on webkit scrollbars

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 12 03:23:47 PST 2010


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


Kent Hansen <kent.hansen at nokia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
           Priority|P5                          |P3
         AssignedTo|webkit-unassigned at lists.web |webkit-qt-unassigned at trollt
                   |kit.org                     |ech.com
     Ever Confirmed|0                           |1




--- Comment #4 from Kent Hansen <kent.hansen at nokia.com>  2010-03-12 03:23:47 PST ---
(In reply to comment #3)
> This testcase creates 2 windows.  Both have a QScrollArea which contains a
> QWebView. I do setStyleSheet("QScrollBar { background: blue; }") on both
> windows.
> 
> The style of the first is QWindowsStyle, and the second's is QMotifStyle. The
> QWebView scrollbar does use the style set by setStyle.
> 
> However, it does not use the one set by setStyleSheet("QScrollBar {...}"). Like
> I said before, it happens because the Qt Style Sheets system uses metadata to
> find out the type of an object. Since a ScrollbarThemeQt is not a QScrollbar,
> the style sheet for QScrollbar is not used.

Thanks for the testcase.
Hmm, with r33755 and Qt 4.6 trunk the QWebView scrollbars don't even respect
setStyle()! It did in an older version, like you said, so this is a regression.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list