New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resolve memory leak during Wayland recording using Xwayland #4247 #5977
Conversation
…4247 Add GDK_BACKEND=x11 to Exec env
Do we know that the x11 environment/xwayland is always available? If systems without exist, I believe this change would break Audacity on them. I see in the docs that there'd potentially an easy fix to that:
so |
Sorry, I was including a link to the gtk3 documentation. |
ah, actually, it doesn't work. Audacity uses wxwidgets, and for compatibility reasons we build with GTK2. I see the * thing goes back at least 10 years, but that's not enough to reach GTK2 apparently. Please do an interactive rebase and drop the commit with my suggestion, then force-push. Anyway, this means we actually have to answer the question: Do we know that the x11 environment/xwayland is always available for anything that uses the .desktop file? I will research that. |
Okay, so:
Given that (and given that Mac and Windows don't care if you break the .desktop file), I think it's safe to assume that x11 is present in some capacity. |
Fedora has already been carrying a patch adding this for at least the last 3 or so years: https://src.fedoraproject.org/rpms/audacity/blob/rawhide/f/gdk_x11_backend.patch |
@LWinterberg That is, |
@LWinterberg No, no. You simply want me to organize my commits in the form |
correct. Simply drop my suggested change, you had it right the first time.
It seems like old GTK does an exact string comparison, while new GTK does a substring comparison.
That's good to know. I imagine you're not aware of anyone running into problems because x11 is missing either then, correct? @imciner2 |
83c0481
to
731db04
Compare
Add GDK_BACKEND=x11 to Exec env
Resolves: #4247
Add GDK_BACKEND=x11 to Exec env
Resolve memory leak during Wayland recording using Xwayland
Recommended: