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

Property dim doesn't work properly on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.7.1
    • 5.7.0
    • Quick: Controls 2
    • None
    • Sony Xperi ION with Android 4.1
    • f59e5d7bbd17c79ca2f06d79897212a5fc9b6ee7

    Description

      Using a menu like in the Gallery example for quick controls 2, we can obtain a menu than can be closed by tapping outside his content area.
      The point is that by default if you tap outside the menu but match a button or other component that receives touch events, this is triggered and not think it's always the option you want in that situation.
      To fix that I combine the modal and dim properties (modal: true; dim: false), avoinding capturing click/touch events while the popup is closing, and removing the popup background that is not necessary for a menu.
      The property dim work well in linux an android, but in windows the background is shown.
      This is an example code, and I attach too

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            camilo_del_real Camilo José del Real
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes