8000 Qt6.9: Black background / visual glitches when opening some QML dialogs · Issue #28134 · musescore/MuseScore · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Qt6.9: Black background / visual glitches when opening some QML dialogs #28134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
4 tasks done
krasko78 opened this issue May 24, 2025 · 0 comments
Open
4 tasks done
Assignees
Labels
Qt-next Either broken or fixed by (updating to) newer Qt versions than we currently use UI Visual issues affecting the UI (not notation)

Comments

@krasko78
Copy link
Contributor

Issue type

UI bug (incorrect info or interface appearance)

Description with steps to reproduce

  1. Make sure you are using Qt6.9.
  2. Open the Export dialog.

Actual: Dialog appears with visible black artefacts for a moment - mostly on the right and bottom edges.

  1. Make a change to the score and click the X button to close it. The "Do you want to save the changes?" dialog appears also with black glitches.
  2. Open Add -> Insert measures dialog. Same black glitches.

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 its margins. 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 moving

`QQuickItem* item = m_view->rootObject();`
`updateSize(QSize(item->implicitWidth(), item->implicitHeight()));`

before

`m_view->show();`

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

  • This report follows the guidelines for reporting bugs and issues
  • I have verified that this issue has not been logged before, by searching the issue tracker for similar issues
  • I have attached all requested files and information to this report
  • I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible
@muse-bot muse-bot added the UI Visual issues affecting the UI (not notation) label May 24, 2025
@its-not-nice its-not-nice added the Qt-next Either broken or fixed by (updating to) newer Qt versions than we currently use label May 27, 2025
@bkunda bkunda moved this to To do in MuseScore Studio 4.6 May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Qt-next Either broken or fixed by (updating to) newer Qt versions than we currently use UI Visual issues affecting the UI (not notation)
Projects
Status: To do
Development

No branches or pull requests

4 participants
0