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

qml two dynamic window(application modal) raise() and requestActivate() slot event problem

    XMLWordPrintable

Details

    • macOS, Windows

    Description

      Hi. I recently ran into a strange problem while coding.

      there is two dynamic window.(A window, B window)

      these windows are application modal.

      timer1 set interval 5 second and repeat and if signal trigger A window open.

      If A window already open, A window is call raise() and requestActivate()

      timer2 set interval 7 second and if signal trigger B window open.

      timer2 set repeat false.

      I naturally thought that the B window was above the A window. like 1.png

      but that wasn't the case.

      with the raise() and requestActivate() call, A window has raise above B window. like 2.png

      So A window appears to have input focus. but B window has input focus. 

      If A window and B window same position and same width, height

      you can't input click and touch event.

      I think you can use raise() and requestActivate(), It seems correct that it does not work in this structure.

      Was it intentional? or bug?

      if it is a bug, was it fixed in a higher version?

      if you want to my source code, I give for you

      thanks you.

       

       

      Attachments

        1. 1.png
          1.png
          4.21 MB
        2. 2.png
          2.png
          3.53 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            srutledg Shawn Rutledge
            funfunqt 김 준형
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes