⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)

[Solved] Flickering while widget pops up.

  • I'm creating configuration editor that has quite lots of child widgets and layout. My problem is... how to remove flickering of top-level widget while it pops up with QWidget::show() . If it were due to layouting, I thought it could be solved by calling QWidget::updateGeometry() before calling it but Qt Doc says it does nothing when widget is invisible so it failed.

    any idea?

    Need your help.

  • I found why my widget flickered while it pops up.
    In deeper level of boxed layout, there was a widget who calls 'show()' in its ctor. after removing it flickering was removed.

    Just writing down here to share

  • Be sure and add [Solved] to the title of your post!


  • @joonhwan Thank you so much. i understood your reply and solved my issue in 2021 which was creating flikering into my pyside2 scrollarea widget.

Log in to reply