[Webkit-unassigned] [Bug 35649] New: [Qt] Impossible to set a palette on QWebPage

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 3 03:33:46 PST 2010


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

           Summary: [Qt] Impossible to set a palette on QWebPage
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: Qt
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: vestbo at webkit.org


This bug report originated from issue QTBUG-6057
http://bugreports.qt.nokia.com/browse/QTBUG-6057

--- Description ---

Impossible to set a palette on QWebPage. See the following code:

<p>QPalette p = palette();<br/>
p.setColor(QPalette::Inactive, QPalette::Highlight,<br/>
    p.color(QPalette::Active, QPalette::Highlight));<br/>
p.setColor(QPalette::Inactive, QPalette::HighlightedText,<br/>
    p.color(QPalette::Active, QPalette::HighlightedText));<br/>
setPalette(p);</p>

<p>We use this code to highlight search results inside the documentation even
if the QWebPage used to show the hit does not have focus. Since this is not
working the highlight color on all windows systems is nearly impossible to see
(light gray). We wark around in Assistant by setting the application palette as
soon as the inplace search is show, but this is no option in Creator since it
messes up the whole style. Please note this can only be seen on Windows.</p>

<p>See also: <span class="nobr"><a
href="http://bugreports.qt.nokia.com/browse/QTCREATORBUG-235">http://bugreports.qt.nokia.com/browse/QTCREATORBUG-235<sup><img
class="rendericon"
src="http://bugreports.qt.nokia.com/images/icons/linkext7.gif" height="7"
width="7" align="absmiddle" alt="" border="0"/></sup></a></span></p>

-- 
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