Skip to content

Comments

fix(GLMakie for Wayland): Pass correct initial resolution to avoid 10x10 fallback#5505

Open
junyixu wants to merge 1 commit intoMakieOrg:masterfrom
junyixu:master
Open

fix(GLMakie for Wayland): Pass correct initial resolution to avoid 10x10 fallback#5505
junyixu wants to merge 1 commit intoMakieOrg:masterfrom
junyixu:master

Conversation

@junyixu
Copy link

@junyixu junyixu commented Jan 21, 2026

Description:

Fixes #5501

  • Passes the resolution keyword argument through singleton_screen and empty_screen.
  • Initializes GLFW.Window and GLFramebuffer with the actual target size instead of the (10, 10) default.
  • In Screen(scene, config), grab the size from the scene and pass it down.

It works well on my end.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I've tested this locally with some basic plots.
  • Added/updated tests (need a heads-up if we want a specific test case for this).

…arameter

* Pass target `resolution` to `empty_screen` and `singleton_screen`
* Initialize `GLFW.Window` and `GLFramebuffer` with correct dimensions
* Avoid window flickering and layout artifacts from 10x10 fallback
@github-project-automation github-project-automation bot moved this to Work in progress in PR review Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Work in progress

Development

Successfully merging this pull request may close these issues.

[GLMakie] Window size "snaps back" to tiny default on Native Wayland (KDE/KWin)

1 participant