Skip to content

[BUG]: if QT_QPA_PLATFORM is not xcb on wayland, then application does not redraw #84

Description

@zDEFz

Describe the Bug

Wayland.
Using sway 1.12
Using myMCpp 0.1.0 (1010de3)

Starting myMcpp without QT_QPA_PLATFORM=xcb makes it so that I have to change application state (resize, toggle floating) to get one new frame (window update) at all.
The application seems to be stuck and has to be forcefully closed

Steps to Reproduce

  1. Starting myMcpp without QT_QPA_PLATFORM=xcb
  2. Try to interact
  3. Application appears 'frozen'

Expected Behavior

Application continues to render

Affected File Type

Other / Unknown

myMCpp Version / Commit

myMCpp 0.1.0 (1010de3)

Operating System

Linux

Linux Distribution (if applicable)

arch

Logs / Screenshots

[2026-07-10 05:01:37.482] [info] Main: myMCpp version 0.1.0 (1010de3, hash 1010de32a3a7ae13d73ddc244ac83803e17e7406, date Wed Jul 8 03:36:19 2026)
[05:01:37] myMCpp: Main: Using config path: /home/blu/.config/myMCpp/config.json
[05:01:37] myMCpp: Main: Log file path: /home/blu/.config/myMCpp/myMCpp.log
[05:01:37] myMCpp: Loading config from: /home/blu/.config/myMCpp/config.json
[05:01:37] myMCpp: Main: Resources path: /tmp/.mount_myMCpppfFcPM/usr/bin/resources
[05:01:37] myMCpp: Loading language: en
[05:01:37] myMCpp: DiscordRPC: Initialized

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions