Skip to content
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

Clutter.Color broken since Mutter 41 compatibility patch #1243

Closed
davidmhewitt opened this issue Sep 4, 2021 · 2 comments · Fixed by #1245
Closed

Clutter.Color broken since Mutter 41 compatibility patch #1243

davidmhewitt opened this issue Sep 4, 2021 · 2 comments · Fixed by #1245
Assignees
Labels
Priority: High To be addressed after any critical issues

Comments

@davidmhewitt
Copy link
Member

Since #1228, Clutter.Color.from_string does not work for all versions of Mutter. So, even if we compile Gala against our current version of Mutter on Odin.

This breaks things like the ScreenShield as it can't set a black color for itself, and probably anywhere else where we use Clutter.Color.

I think removing color_from_* skip from Clutter-9.metadata and letting vapigen generate those methods (and of course reverting the changes to Gala) should work, but I don't have enough of an environment set up to test these changes on all versions of Mutter.

However, this is a release blocker, do not release another version of Gala until this issue is resolved

@cassidyjames cassidyjames added the Priority: High To be addressed after any critical issues label Sep 4, 2021
@tintou
Copy link
Member

tintou commented Sep 6, 2021

@davidmhewitt Can you give more details on what is broken, it doesn't seem obvious from here

@davidmhewitt
Copy link
Member Author

Doing

var color = Clutter.Color ();
color.from_string ("black");

isn't actually setting the color on the color object.

You can test this by locking the screen and you will see that it no longer fades to black like it used to and you can still see the contents of the screen until you move the mouse and it goes back the lock screen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: High To be addressed after any critical issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants