Summary: | [Qt] While selecting the dropdown boxes in the webpage,User is unable to see the complete dropdown filter options and select it. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Viatcheslav Ostapenko <ostap73> | ||||
Component: | WebKit Qt | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED INVALID | ||||||
Severity: | Normal | CC: | ariya.hidayat, hausmann, jturcotte, kenneth, laszlo.gombos, nokiabugz, yael | ||||
Priority: | P2 | Keywords: | Qt, QtTriaged | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | S60 Hardware | ||||||
OS: | S60 3rd edition | ||||||
Attachments: |
|
Description
Viatcheslav Ostapenko
2010-06-03 11:44:46 PDT
Created attachment 57800 [details]
Clear WA_DontShowOnScreen on combobox popup in order to fit dropdown list on screen.
Jocelyn, is this still needed after your combobox changes in Qt? (In reply to comment #2) > Jocelyn, is this still needed after your combobox changes in Qt? The changes for the bug #39019 only managed to close the popup on wheel events. I wanted to use the Qt::BypassGraphicsProxyWidget but ended up not using it since it would probably break the SecondLife use case where the QGraphicsWebView has to be rendered on a texture (or something like it). I wonder though if this patch here won't cause that problem as well. Viatcheslav, what is the effect of the patch on other platforms? Wouldn't that draw the combobox both on screen and on the QGraphicsView? (In reply to comment #3) > (In reply to comment #2) > > Jocelyn, is this still needed after your combobox changes in Qt? > > The changes for the bug #39019 only managed to close the popup on wheel events. > > I wanted to use the Qt::BypassGraphicsProxyWidget but ended up not using it since it would probably break the SecondLife use case where the QGraphicsWebView has to be rendered on a texture (or something like it). > > I wonder though if this patch here won't cause that problem as well. > > Viatcheslav, what is the effect of the patch on other platforms? Wouldn't that draw the combobox both on screen and on the QGraphicsView? I've tried to play with it and looked through the Qt code, what WA_DontShowOnScreen does on different platforms. As I understand, WA_DontShowOnScreen flag controls repositioning of the widget when it gets shown on screen to be visible in parent window. It shouldn't affect rendering of the widget through the QGraphicsView. Jocelyn, any more comments about this? (In reply to comment #5) > Jocelyn, any more comments about this? I talked with Alexis about this and playing with that flag would probably cause problems with QGraphicsProxyWidgets in graphic views. Essentially the problem is that the combo popup on symbian is rendered in a graphic scene which has no concept of "fit to screen" since a scene can have many views which can be positionned at different places on the screen. (See bug #39019) We came with the conculsion that there is no easy fix for that problem in that direction and that the best solution would be instead to implement QtAbstractWebPopup on symbian like it was done on Maemo in QtMaemoWebPopup and show it as a full screen platform menu. (Somehow related is bug #38438) (In reply to comment #6) > (In reply to comment #5) > > Jocelyn, any more comments about this? > > I talked with Alexis about this and playing with that flag would probably cause problems with QGraphicsProxyWidgets in graphic views. > > Essentially the problem is that the combo popup on symbian is rendered in a graphic scene which has no concept of "fit to screen" since a scene can have many views which can be positionned at different places on the screen. (See bug #39019) > > We came with the conculsion that there is no easy fix for that problem in that direction and that the best solution would be instead to implement QtAbstractWebPopup on symbian like it was done on Maemo in QtMaemoWebPopup and show it as a full screen platform menu. > (Somehow related is bug #38438) that or implementing the platform plugin. (In reply to comment #7) > (In reply to comment #6) > > (In reply to comment #5) > > > Jocelyn, any more comments about this? > > > > I talked with Alexis about this and playing with that flag would probably cause problems with QGraphicsProxyWidgets in graphic views. > > > > Essentially the problem is that the combo popup on symbian is rendered in a graphic scene which has no concept of "fit to screen" since a scene can have many views which can be positionned at different places on the screen. (See bug #39019) > > > > We came with the conculsion that there is no easy fix for that problem in that direction and that the best solution would be instead to implement QtAbstractWebPopup on symbian like it was done on Maemo in QtMaemoWebPopup and show it as a full screen platform menu. > > (Somehow related is bug #38438) > > that or implementing the platform plugin. I am already working on a PlatformPlugin solution for this. https://qtrequirements.europe.nokia.com/browse/CWRT-2440 and its duplicate http://bugreports.qt.nokia.com/browse/QTWEBKIT-158. *** Bug 39837 has been marked as a duplicate of this bug. *** Comment on attachment 57800 [details]
Clear WA_DontShowOnScreen on combobox popup in order to fit dropdown list on screen.
The platform plugin is the way to go.
|