Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Why do widget flicker when Closing a popup window?
Forum Update on Monday, May 27th 2025

Why do widget flicker when Closing a popup window?

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 151 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.
  • L Offline
    L Offline
    LISP
    wrote on last edited by
    #1

    img.PNG

    first : A Widget->show() and setGeometry(0, 0, this->width(), this->height())
    second : B Widget->show() and setGeometry(0, 0, this->width(), this->height())

    The two widgets overlap each other.

    I closed widget B first.

    I closed widget B first. At this time, the Titlebar of A Widget blinks....

    I want to have a common Titlebar in multiple widgets, and I want to achieve a natural screen transition.

    JonBJ 1 Reply Last reply
    0
    • L Offline
      L Offline
      LISP
      wrote on last edited by
      #3

      Thank you!
      I solved the problem.
      setUpdatesEnabled.
      I used the setUpdatesEnabled property.

      1 Reply Last reply
      0
      • L LISP

        img.PNG

        first : A Widget->show() and setGeometry(0, 0, this->width(), this->height())
        second : B Widget->show() and setGeometry(0, 0, this->width(), this->height())

        The two widgets overlap each other.

        I closed widget B first.

        I closed widget B first. At this time, the Titlebar of A Widget blinks....

        I want to have a common Titlebar in multiple widgets, and I want to achieve a natural screen transition.

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by
        #2

        @LISP said in Why do widget flicker when Closing a popup window?:

        I closed widget B first. At this time, the Titlebar of A Widget blinks....

        Is that maybe because widget A becomes activated?

        I want to have a common Titlebar in multiple widgets,

        I don't think any windowing system/window manager offers a single "common Titlebar" which somehow appears in one place and is shared across widgets.

        and I want to achieve a natural screen transition.

        I don't know what that means.

        1 Reply Last reply
        0
        • L Offline
          L Offline
          LISP
          wrote on last edited by
          #3

          Thank you!
          I solved the problem.
          setUpdatesEnabled.
          I used the setUpdatesEnabled property.

          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