<table><tr><td style="">hindenburg edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-g2oqi2zrlfhxj74/">(Show Details)</a><br />hindenburg edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-mtalfepiguqmnra/">(Show Details)</a>
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D19482">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;">The "standard"/fallback Fusion style for Qt uses<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> </span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
</span>QStyleHelper::backgroundColor() to determine if <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">the </span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">the<br />
</span>scrollbar is drawn on has a dark background.<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"> <br />
QStyleHelper::backgroundColor() handles scrollbars<br />
differently from everything else,</span> <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">QStyleHelper::backgroundColor() handles scrollbars diffe</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">and tries to get the<br />
palette of the pa</span>rent<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">ly from everything else</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"> widget</span>, and t<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">ries to get the palette of the parent widget, and t</span>hen gets the<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> </span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
</span>QPalette::Base color of that (that probably makes sense<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> </span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
</span>for someone other than me). <br />
<br />
I think the scrollbar in the Qt Fusion style has way <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">too </span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">too<br />
</span>low contrast in the first place, but this way we should<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> </span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
</span>at least invoke the right code in qfusionstyle, so it<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> </span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
</span>can't blame konsole for it.</div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;">Break with gdb at qfusionstyle.cpp:2539, verify that<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> </span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
</span>isDarkBg is true.</div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R319 Konsole</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D19482">https://phabricator.kde.org/D19482</a></div></div><br /><div><strong>To: </strong>sandsmark, Konsole, hindenburg, tcanabrava<br /><strong>Cc: </strong>ngraham, konsole-devel, Konsole, gennad, thsurrel, maximilianocuria, hindenburg<br /></div>