You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(win): work around Popup.Window bugs in context menu
On Windows the footer context menu uses Popup.Window, which trips two
Qt bugs:
* The "Progress in percent" MenuItem auto-toggles a second time from a
spurious release event delivered while the popup is closing, leaving
`checked` out of sync with the view-model. Resync `checked` from the
view-model on `aboutToShow` and `closed`; the inline binding is
dropped since it gets broken by the first user toggle anyway.
* QTBUG-145585: Popup.Window ignores the `modal` property, so clicks
pass through to widgets underneath. Add an overlay-level
MpvqcFooterContextMenuClickGuard, modeled after the existing new-
comment menu guard, that intercepts presses and closes the menu.
Popup.Item platforms are unaffected.
0 commit comments