musescore / musescore/MuseScore

[MU4 Issue] Black flash when displaying tooltips and menus on Linux

Open
#10,218 16 comments 0 reactions 2 assignees View on GitHub

@zacjansheski is already working on this.

Since Jun 13, 2023.

os: linux P3
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

Describe the bug
Before tooltips and menus are displayed on Linux, there is a very jarring black flash. This is especially noticeable when switching between menus.

To Reproduce
Steps to reproduce the behavior:

  1. Open a toolbar menu, context menu, or trigger a tooltip.
  2. Observe the black flash shown before the menu appears.

Expected behavior
That the menu should immediately appear without a flash.

Screenshots

https://user-images.githubusercontent.com/47158068/148470764-ceb6b02b-6df4-459f-8765-e3339dc398e6.mov

Static frames from the video

vlcsnap-2022-01-07-11h13m33s601
vlcsnap-2022-01-07-11h13m14s017
vlcsnap-2022-01-07-11h13m03s615

Desktop:

  • Linux 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux.
  • Reproduced in the latest nightly build.

Additional context
The application header (the "MuseScore4Development" in the top bar) is flickering in and out, seemingly at random; could this be related?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.