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

QAxWidgets does not get the the focus correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 4.6.3, 4.7.0, 4.7.1
    • ActiveX Support
    • None
    • Windows

    Description

      I attached a test program that is showing the following problem:
      1.) Start the program and click into the ActiveX. You can scroll with the mouse wheel.
      2.) Then if you click once into the QLineEdit I placed above and again click into the ActiveX you can't scroll anymore.
      3.) If you double click on the ActiveX you can scroll again.
      4.) Do step 2.) and you can't scroll

      When you click in the ActiveX control the line edit is still blinking so it still thinks that it has the focus. Debugging the QAxWidget you can see that it does not get the foucusInEvent/focusOutEvent correctly.

      Attachments

        1. main.cpp
          3 kB
        2. patch.diff
          0.8 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            pullatti Prasanth Ullattil
            xcm Martin Petersson (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes