Skip to content

Qt6 version of Bitcoin Core (bitcoin-qt) flickers on Wayland #903

@diegoviola

Description

@diegoviola

Issues, reports or feature requests related to the GUI should be opened directly on the GUI repo

  • I still think this issue should be opened here

Report

So I've just tried the v30.0 release and I have it up and running on Arch Linux, bitcoin-qt is running natively on Wayland (sway).

After using the GUI for a while, I have noticed that the whole window would flicker, e.g. when switching between "Overview" and "Transactions".

This never happened before, and I think the reason for that is because the app would use Xwayland prior to Qt 6.

So yes, one way of avoiding this problem is to start bitcoin-qt with QT_QPA_PLATFORM=xcb, however, I would very much like this to work with the Wayland native plugin, which is used by default.

I did some small experimentation and have found that when commenting the following line, the problem is gone:

https://github.com/bitcoin/bitcoin/blob/v30.0/src/qt/guiutil.cpp#L411

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions