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. table view draws over previous content on model change
Qt 6.11 is out! See what's new in the release blog

table view draws over previous content on model change

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 162 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.
  • M Offline
    M Offline
    mtty
    wrote on last edited by mtty
    #1

    I have table view with list model. When user interacts with another qml item its signal is called. In callback I call model.clear() first then I fill in the model with calls to model.append(...). I am surprised that on Debian (Ubuntu is fine) half the time (I guess) the next "table" is drawn atop the previous. It did not happen on another linux platform. I noticed that the past content just disappears when I bring another window into focus or when I interact (click) the table view. How can I fix that?

    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