RESOLVED FIXED Bug 66635
[Qt] Button text is invisible when mobile theme is in use and application palette set to use light text color.
https://bugs.webkit.org/show_bug.cgi?id=66635
Summary [Qt] Button text is invisible when mobile theme is in use and application pal...
Misha
Reported 2011-08-21 16:15:30 PDT
When mobile theme is in use and application pallete is using light color to display text button text become invisible. The reason for that is that in RenderThemeQt::systemFont() we are using application pallete while when are painting button lightGrayPalette is used.
Attachments
proposed patch. (1.67 KB, patch)
2011-08-21 16:25 PDT, Misha
kling: review+
kling: commit-queue-
patch with corrected change log (1.59 KB, patch)
2011-08-22 12:47 PDT, Misha
kenneth: review-
kenneth: commit-queue-
Corrected Change log again (1.63 KB, patch)
2011-08-23 12:28 PDT, Misha
no flags
Misha
Comment 1 2011-08-21 16:25:55 PDT
Created attachment 104631 [details] proposed patch. Calling setPaletteFromPageClientIfExists() takes care about the issue.
Andreas Kling
Comment 2 2011-08-22 04:07:10 PDT
Comment on attachment 104631 [details] proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=104631&action=review LGTM. It's a shame we don't test the mobile theme on the bots, though. > Source/WebCore/ChangeLog:7 > + When mobile theme is in use and application pallete is using light pallete -> palette > Source/WebCore/ChangeLog:8 > + color to display text button text become invisible. The reason for "text button text become" -> "text, button text becomes" > Source/WebCore/ChangeLog:10 > + pallete while when are painting button lightGrayPalette is used. pallete -> palette "when are painting button" -> "when we are painting buttons" > Source/WebCore/ChangeLog:11 > + Calling setPaletteFromPageClientIfExists() takes care about the issue. about -> of
Misha
Comment 3 2011-08-22 12:47:39 PDT
Created attachment 104717 [details] patch with corrected change log
Kenneth Rohde Christiansen
Comment 4 2011-08-22 12:59:06 PDT
Comment on attachment 104717 [details] patch with corrected change log This changelog is missing the Reviewed by part.
Misha
Comment 5 2011-08-23 12:28:18 PDT
Created attachment 104890 [details] Corrected Change log again
WebKit Review Bot
Comment 6 2011-08-23 16:12:40 PDT
Comment on attachment 104890 [details] Corrected Change log again Clearing flags on attachment: 104890 Committed r93652: <http://trac.webkit.org/changeset/93652>
WebKit Review Bot
Comment 7 2011-08-23 16:12:44 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.