Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Dialog closed automatically when swip/scroll insde Dialog Window.
QtWS25 Last Chance

Dialog closed automatically when swip/scroll insde Dialog Window.

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 182 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    balakrishnarao.ms
    wrote on last edited by
    #1

    We are using Dialog as a window and assigning closePolicy for the dialog as (closePolicy: Popup.CloseOnPressOutside) and our application is running on a LCD based touch screen. When ever we touch or select any item inside Dialog window, it doesn't get closed. When we touch outside the dialog area the dialog closes which is as per expectation.

    But when we try to swipe/scroll inside a dialog even then the dialog is closed automatically sometime.
    But looks like this is not expected behavior according to our close policy.

    Could you please help us in understanding the root cause and possible solution.

    Pl45m4P 1 Reply Last reply
    0
    • B balakrishnarao.ms

      We are using Dialog as a window and assigning closePolicy for the dialog as (closePolicy: Popup.CloseOnPressOutside) and our application is running on a LCD based touch screen. When ever we touch or select any item inside Dialog window, it doesn't get closed. When we touch outside the dialog area the dialog closes which is as per expectation.

      But when we try to swipe/scroll inside a dialog even then the dialog is closed automatically sometime.
      But looks like this is not expected behavior according to our close policy.

      Could you please help us in understanding the root cause and possible solution.

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by Pl45m4
      #2

      @balakrishnarao-ms said in Dialog closed automatically when swip/scroll insde Dialog Window.:

      But when we try to swipe/scroll inside a dialog even then the dialog is closed automatically sometime.

      A "swipe" is a mousePress + mouseMove + mouseRelease event.
      I can think of a case, where you swipe and the release is somewhere outside of the expected dialog area, so it triggers the close function of the dialog

      Have you searched for known bugs already?


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      B 1 Reply Last reply
      0
      • Pl45m4P Pl45m4

        @balakrishnarao-ms said in Dialog closed automatically when swip/scroll insde Dialog Window.:

        But when we try to swipe/scroll inside a dialog even then the dialog is closed automatically sometime.

        A "swipe" is a mousePress + mouseMove + mouseRelease event.
        I can think of a case, where you swipe and the release is somewhere outside of the expected dialog area, so it triggers the close function of the dialog

        Have you searched for known bugs already?

        B Offline
        B Offline
        balakrishnarao.ms
        wrote on last edited by
        #3

        @Pl45m4
        Yes. Even our initial assumption was same.
        However we confirmed this by getting touch coordinates from touch driver. With our test we found that our touch coordinates are within the boundary of the dialog window.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved