Bug 299741

Summary: color palette of combobox's popup list issues
Product: [Applications] konqueror Reporter: Andrea Iacovitti <aiacovitti>
Component: khtml formsAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 4.8.3   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.4
Sentry Crash Report:
Attachments: testcase

Description Andrea Iacovitti 2012-05-10 13:17:38 UTC
Created attachment 71000 [details]
testcase

There are some issues on how the combobox's popup list is renderered due to the applied color palette. Please load the testcase.

The second <SELECT> element specifies a transparent background, the list popup will also be rendered with transparent bg and this cause the option element on the list to be unreadable because they overlap with the underlying page content. This similar issue has already been resolved in case of combo styled with image brackground (see #170398).

The fourth combo is styled with yellow background. The background of its list popup is yellow but also the scrollbars will be painted with yellow color, unlike other browsers engine that renders the scrollbars with default system colors.
Comment 1 Andrea Iacovitti 2012-05-10 19:40:16 UTC
Git commit 9169e3286911f102dda285408ce003337967744b by Andrea Iacovitti.
Committed on 10/05/2012 at 21:28.
Pushed by aiacovitti into branch 'KDE/4.8'.

Combobox's listview popup colors:
- Use default system colors when combobox has transparent/image background
- Always use default system color for listview scrollbar
FIXED-IN: 4.8.4

M  +1    -3    khtml/css/html4.css
M  +16   -13   khtml/rendering/render_replaced.cpp

http://commits.kde.org/kdelibs/9169e3286911f102dda285408ce003337967744b