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

Focus lost when embedding external application using ActiveX

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.8.0
    • 4.6.2, 4.6.3
    • ActiveX Support
    • None
    • WinXP multi monitor FullScreen
    • c592b71d266a8f7a9bbf330fb3cbca168dbe1bfc

    Description

      Hello,

      We are having focus problems when we have a Frameless Full Screen host application that embeds an out of process ActiveX application. When in the activeX application a (Modal or NonModal) dialog pops up the focus is almost directly (slight delay) returned to the host Application. Also we see that the shortcuts of the embedded application not all come through? They are processed by the host application.

      When the host application is Maximized instead of FrameLess FullScreen everything is OK.
      When the host application is FrameLess and 1 pixel less than FullScreen everything is OK. (1 pixel bigger and the problem remains),

      When the application is started on a multi monitor system on the second (or not first) monitor the problem does not occur.

      We have the idea that the OS (Microsoft Windows XP) steals the Focus. But, although this happens on a lot of systems it does not on all...

      Are there known Frameless Full Screen problems with focus and activeX?

      I have included a host and client application that I used for testing. In the test application I also have an example with notepad in a dialog where the focus is also gone after a while but this behaviour is very inconsistant.

      Regards,

      Marcel Stegehuis

      Attachments

        1. activeXFocusProblem.zip
          12 kB
          E.M. Stegehuis
        2. TestCaseToReproduce.zip
          5.58 MB
          Nokia Qt Support
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            pullatti Prasanth Ullattil
            mstegehuis E.M. Stegehuis
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes