Changeset 58321 in webkit


Ignore:
Timestamp:
Apr 27, 2010 12:33:58 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-04-27 Benjamin Poulain <benjamin.poulain@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] QGraphicsWebView: Arrow keys scroll the graphics-view instead of the web-page
https://bugs.webkit.org/show_bug.cgi?id=35834

The scene should always have the size of the web view otherwhise it is
possible to scroll the graphics view.

  • QtLauncher/webview.cpp: (WebViewGraphicsBased::resizeEvent):
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r58319 r58321  
     12010-04-27  Benjamin Poulain  <benjamin.poulain@nokia.com>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        [Qt] QGraphicsWebView: Arrow keys scroll the graphics-view instead of the web-page
     6        https://bugs.webkit.org/show_bug.cgi?id=35834
     7
     8        The scene should always have the size of the web view otherwhise it is
     9        possible to scroll the graphics view.
     10
     11        * QtLauncher/webview.cpp:
     12        (WebViewGraphicsBased::resizeEvent):
     13
    1142010-04-27  Diego Gonzalez  <diegohcg@webkit.org>
    215
  • trunk/WebKitTools/QtLauncher/webview.cpp

    r58047 r58321  
    100100    QRectF rect(QPoint(0, 0), event->size());
    101101    m_item->setGeometry(rect);
     102    scene()->setSceneRect(rect);
    102103}
    103104
Note: See TracChangeset for help on using the changeset viewer.