Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Shivering window behaviour on resize when using ApplicationWindow with 2 elements
Forum Update on Monday, May 27th 2025

Shivering window behaviour on resize when using ApplicationWindow with 2 elements

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 465 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.
  • W Offline
    W Offline
    werolik
    wrote on 14 Nov 2014, 13:37 last edited by
    #1

    Hello,

    We use ApplicationWindow in our project and lately got really strange behaviour on resizing. After some investigation I've found out that it's easyly reproducible on very simple example:

    @ApplicationWindow {
    id: application
    minimumWidth: 800
    minimumHeight: 600

    Rectangle {
    anchors.fill: parent
    onWidthChanged: console.log("rect1 width" + width)
    }

    Rectangle {
    anchors.fill: parent
    onWidthChanged: console.log("rect2 width" + width)
    }
    }@

    If you resize the window really fast it begans shivering and hangs. Looks like the window cannot decide what width to choose.

    Removing onWidthChanged handlers fixes the problem.
    Also it is fixed by making one rectangle parent of the other one.

    I'm interested what causes the problem in this case - do we missuse ApplicationWindow in some way or is it a bug in the framework or something else.

    1 Reply Last reply
    0

    1/1

    14 Nov 2014, 13:37

    • Login

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