Skip to content

Conversation

@vaab
Copy link

@vaab vaab commented Aug 18, 2025

In the logs:

journalctl --user -f | grep -i gnome-shell

I get:

Unable to load image from Base64 representation: TypeError: this.child_set_property is not a function

On each update. My menu contains a base64 image.

I don't know gnome at all, but I feel that my replacement suggestion has the same intent.
I didn't notice any breaking on my side.

Do you want a minimal reproducing case ?

@mwilck
Copy link
Collaborator

mwilck commented Sep 8, 2025

Why are you using a base64 image? I have to admint I hear this term for the first time.

I don't know gnome at all, but I feel that my replacement suggestion has the same intent.

Thanks for being honest, but this doesn't sound convincing. Please provide links in to the documentation.

@mwilck
Copy link
Collaborator

mwilck commented Sep 8, 2025

Seems related to #151

@mwilck
Copy link
Collaborator

mwilck commented Sep 8, 2025

Ok, so BoxLayout inherits set_y_expand() from ClutterActor. I'm inclined to merge this.

@vaab
Copy link
Author

vaab commented Sep 12, 2025

I don't now what was the original intent, this is why I'm unsure about the fix. I was hoping that you would know ;-). The arcane of image and sizing is somewhat subtle (broken?) also, so I just tried to do my best to translate the intent into more modern gnome ways. I'd love to be able to know how to test what this line does exactly, but I didn't see any changes with or without in my case... :-(

As for the base64 image, well, isn't it the only way to include images ? I'm all the happier if there's another way... Here's the doc:

Attribute Value Description
image, templateImage Base64-encoded image file Renders an image inside the item. The image is positioned to the left of the text and to the right of the icon. GNOME Shell does not have a concept of "template images", so image and templateImage are interchangeable in Argos.

Thanks for your review.

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