I'm talking about every widget, including QPushButtons / QToolButtons, custom widgets (with mouseTracking enabled) receiving mouse presses but not repainting, even after explicit calls to repaint() in the mousePressEvent() override. When they finally do repaint (after the first window resize, and then they behave normally after that) I can see that the previous mouse presses were received but the widgets appearances weren't updated. Breakpoints also tell me the same thing - their paintEvents weren't getting called, but their mousePressEvents were. Their mouse hovers only seem to take effect when the mouse was pressed ontop of them and is still being held down (as if mouseTracking is disabled), but their rpaintEvents still aren't being called. It really seems there's an invisible pop-up that has focus.
It's most likely not a borked Qt install, because it was working fine a week or two ago (I didn't notice exactly when it started), so it's most likely something in my large code project. I was hoping someone might've encountered a similar problem before and could provide some debugging tips.
For debugging Win32 programs, there are applications you can use to query the state of the application you are debugging. Has anyone written anything like that for Qt?
Even though these four a null:
Qt Code:
To copy to clipboard, switch view to plain text mode
...I'm only printing them out in response to a button being pressed (a button that doesn't redraw itself, but still reacts to the press just in a non-animated way), so it probably temporarily hides the active popup or whatever, giving me (possibly) misleading results. I'll try outputting it using a timer, to see if something is active.
Bookmarks