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. Popups are slow on windows
Forum Updated to NodeBB v4.3 + New Features

Popups are slow on windows

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 166 Views 1 Watching
  • 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.
  • C Offline
    C Offline
    Creaperdown
    wrote on last edited by
    #1

    Hey, I am currently in the process of porting an application from Linux to Windows. The performance is great on Linux, but I realized that switching between pages (so, loading new pages) of my application is quite slow on windows.
    I have used the Qml Profiler to check what is going on, and I saw that by far the most time is spent rendering Popups on these pages, that are not opened.
    For some reason, it seems like they are directly rendered when opening the page, even though they are not opened.

    I wouldn't be sure what code to provide, since it happens for literally every popup. They all start as follows:

    Popup
    {
        id: root
        // Set width and height
    
        background: Rectangle { radius: 6; color: Style.colorPopupBackground }
        modal: true
        Overlay.modal: Rectangle { color: Style.colorPopupDim; opacity: 1 }
    
        ...
    }
    
    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