Qt6.9: Black background / visual glitches when opening some QML dialogs #28134
Labels
os: windows
Potentially specific to the Windows operating system
Qt-next
Either broken or fixed by (updating to) newer Qt versions than we currently use
UI
Visual issues affecting the UI (not notation)
Issue type
UI bug (incorrect info or interface appearance)
Description with steps to reproduce
Actual: Dialog appears with visible black artefacts for a moment - mostly on the right and bottom edges.
BUT:
5. Open the Parts dialog. No glitches.
6. Open the Preferences dialog. No glitches.
Video:
black_glitches_on_open.mp4
Investigation:
Has to do with non-zero margins set on the dialog. See
StyledDialogView.qml
and itsmargins
. Dialogs like Parts and Preferences that do not set margins on the dialog (but achieve them by setting them on the inner components instead) work. I also found that movingbefore
in
PopupWindow_QQuickView::show
solves the issue.The Standard Dialogs
The Standard Dialogs, e.g. the "Do you want to save the changes" are a different beast. They resize on the fly, as they are shown, so initially they are shown smaller, and as they are laid out, the implicit sizes are updated, the dialog is also sized up. This is all visible to the user and accompanied by the mysterious black background that Qt6.9 now exhibits.
Supporting files, videos and screenshots
n/a
What is the latest version of MuseScore Studio where this issue is present?
master with Qt6.9
Regression
No.
Operating system
Windows 10
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: