Skip to content

Conversation

@ruifengx
Copy link
Contributor

The following lines applies a fix to workaround the upstream GTK regression:

;; work around the upstream issue https://gitlab.gnome.org/GNOME/gtk/-/issues/2599
[(and wayland?
;; for gtk3 >= 3.24.9
gtk3?
(or
(> (gtk_get_minor_version) 24)
(and (= (gtk_get_minor_version) 24)
(>= (gtk_get_micro_version) 9))))

However, the regression is now fixed upstream for GTK >= 3.24.42 (link to the line in the release notes). As a result, slideshow slides, for example, are displayed in only half of my screen size, which turns out to be exactly the same bug in evince (the PDF viewer).

In this PR, I apply the same fix as in evince, to confine the workaround to only affected versions of GTK (>= 3.24.9 and < 3.24.42). I have confirmed with a local patch that it fixes the problem on my device.

@ruifengx
Copy link
Contributor Author

Do I need to take any actions regarding the CI failures? I think it's the CI configuration itself that needs an update.

@mflatt mflatt merged commit d25cb26 into racket:master Aug 1, 2025
1 of 3 checks passed
@mflatt
Copy link
Member

mflatt commented Aug 1, 2025

Thank you!

@ruifengx ruifengx deleted the ruifengx/fix-gtk-screen-size branch August 1, 2025 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants