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. Visuals not refreshing unless mouse moves
Forum Updated to NodeBB v4.3 + New Features

Visuals not refreshing unless mouse moves

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 356 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.
  • P Offline
    P Offline
    PLL3
    wrote on last edited by
    #1

    Hi everyone,

    I'm encountering a weird bug when trying to apply a QGraphicsDropShadowEffect to the window of my application (it's a Frameless window so we need to manually add a shadow to it).

    When the blur radius value is too high (at about ~12, but it seem to vary, possibly with the offset value but I'm not sure) some of the visuals in my app don't get updated correctly.
    Like if some button would get activated (and thus no longer grayed out) it would stay gray until the mouse moves over it.

    Unfortunately I haven't been able to reproduce it using a small example in QtCreator.

    But it gets weirder, this bug only happens on a very specific panel in the app. I've tried to pinpoint what cause the bug in the panel. I ended up removing everything from said panel, leaving only an empty constructor, and the bug was still there once that panel was loaded in ! (some buttons are always present outside the panels).

    I realize that, given the information in this post, there's not a lot you guys could do to help me but I've looked at all the open Qt bug reports related to visuals not refreshing or QGraphicsDropShadowEffect and found none that resembled my issue.

    At this point any hint or idea would be welcome and greatly appreciated.

    Kent-DorfmanK 1 Reply Last reply
    0
    • P PLL3

      Hi everyone,

      I'm encountering a weird bug when trying to apply a QGraphicsDropShadowEffect to the window of my application (it's a Frameless window so we need to manually add a shadow to it).

      When the blur radius value is too high (at about ~12, but it seem to vary, possibly with the offset value but I'm not sure) some of the visuals in my app don't get updated correctly.
      Like if some button would get activated (and thus no longer grayed out) it would stay gray until the mouse moves over it.

      Unfortunately I haven't been able to reproduce it using a small example in QtCreator.

      But it gets weirder, this bug only happens on a very specific panel in the app. I've tried to pinpoint what cause the bug in the panel. I ended up removing everything from said panel, leaving only an empty constructor, and the bug was still there once that panel was loaded in ! (some buttons are always present outside the panels).

      I realize that, given the information in this post, there's not a lot you guys could do to help me but I've looked at all the open Qt bug reports related to visuals not refreshing or QGraphicsDropShadowEffect and found none that resembled my issue.

      At this point any hint or idea would be welcome and greatly appreciated.

      Kent-DorfmanK Offline
      Kent-DorfmanK Offline
      Kent-Dorfman
      wrote on last edited by
      #2

      @PLL3

      Times I've experienced incorrect X11 painting were due to stack or heap corruption.

      1 Reply Last reply
      2
      • P PLL3 referenced this topic on

      • Login

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