Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-38968

about About ChromeClientQt::rootViewToScreen function

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.1.1
    • WebKit
    • None

    Description

      Hi,

      In ChromeClientQt::rootViewToScreen(const IntRect& rect) function,

      the screenRect is calculated by translating rect by

      (ownerWindow->mapToGlobal(m_webPage->viewRectRelativeToWindow().topLeft())

      I think it is wrong, and rect should be translated by

      ownerWindow->mapToGlobal(-m_webPage->viewRectRelativeToWindow().topLeft()));

      Regards,
      Thouraya.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            thouraya thouraya
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes