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

Blank rectangle instead of MessageDialog on Android while switching visibility

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.7.0
    • Quick: Dialogs
    • None
    • Android 5.1

    Description

      Fast switching the visibilty of MessageDialog on Android results often in blank white rectangle instead of dialog

      e.g.:

      import QtQuick 2.7
      import QtQuick.Controls 2.0
      import QtQuick.Dialogs 1.2
      
      ApplicationWindow {
      	visible: true
      	width: 640
      	height: 480
      	title: qsTr("Hello World")
      
      	Timer {
      		id:timer
      		interval: 10; running: false; repeat: false
      		onTriggered: {
      			messageDialog.visible = true
      		}
      	}
      
      	MessageDialog{
      		id:messageDialog
      		text : "click me"
      
      		Component.onCompleted:{
      			visible = true
      		}
      
      		onAccepted: {
      			timer.running = true
      		}
      	}
      }
      
      

      Attachments

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

        Activity

          People

            srutledg Shawn Rutledge
            wms13 Władysław Marek Saj
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes