Bug 47778 - [Qt] Style of combo drop-down is lost
Summary: [Qt] Style of combo drop-down is lost
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Other
: P2 Normal
Assignee: Nobody
URL:
Keywords: Qt
Depends on:
Blocks:
 
Reported: 2010-10-17 05:10 PDT by Hayk Grigoryan
Modified: 2010-10-19 02:51 PDT (History)
1 user (show)

See Also:


Attachments
Test case with use of QGraphicsWebView. (698 bytes, application/x-compressed-tar)
2010-10-17 05:12 PDT, Hayk Grigoryan
no flags Details
Test case with use of QWebView. (603 bytes, application/x-compressed-tar)
2010-10-17 05:12 PDT, Hayk Grigoryan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hayk Grigoryan 2010-10-17 05:10:59 PDT
Switching from QWebView to QGraphicsWebVIew the style of the combo box drop-down was lost. I was using the QCleanlooksStyle on my QWebView and when switched to QGraphicsWebVIew I've applied the same style to it. I see that the style works ok for most of the elements but the drop-down list doesn't have the correct applied style. The up and down arrows are not visible anymore. Also in cases if the combo-box is in the bottom of the visible region then clicking on it the drop down list is opened in non visible area: see http://developer.qt.nokia.com/forums/viewthread/1292/.

Attached you can find two test cases (one using QWebView and the other using QGraphicsWebView). Just scroll down a little and you'll find combo-boxes in the left corner. I've tried this under Meego 1.0.
Comment 1 Hayk Grigoryan 2010-10-17 05:12:21 PDT
Created attachment 70971 [details]
Test case with use of QGraphicsWebView.
Comment 2 Hayk Grigoryan 2010-10-17 05:12:46 PDT
Created attachment 70972 [details]
Test case with use of QWebView.
Comment 3 Benjamin Poulain 2010-10-17 06:27:30 PDT
I can't reproduce on my Linux box, I get the correct style.

I have a device with Maemo 6, and a netbook with MeeGo 1.1, what is the closest to the MeeGo you are using?
Comment 4 Hayk Grigoryan 2010-10-17 23:24:37 PDT
(In reply to comment #3)
> I can't reproduce on my Linux box, I get the correct style.
> 
> I have a device with Maemo 6, and a netbook with MeeGo 1.1, what is the closest to the MeeGo you are using?

I think that the netbook with MeeGo 1.1 should be the closest one.
Comment 5 Benjamin Poulain 2010-10-19 02:51:33 PDT
(In reply to comment #4)
> > I can't reproduce on my Linux box, I get the correct style.
> > 
> > I have a device with Maemo 6, and a netbook with MeeGo 1.1, what is the closest to the MeeGo you are using?
> 
> I think that the netbook with MeeGo 1.1 should be the closest one.

I tried with the MeeGo Netbook and I cannot reproduce the style problem for the drop-down list. I assume this has been fixed in recent build of Qt/WebKit.