Skip to content

Revert "Fixed .xpm cursor files to work with new glycin version"#810

Draft
Photon89 wants to merge 1 commit intomasterfrom
revert-809-fix-808
Draft

Revert "Fixed .xpm cursor files to work with new glycin version"#810
Photon89 wants to merge 1 commit intomasterfrom
revert-809-fix-808

Conversation

@Photon89
Copy link
Copy Markdown
Member

@Photon89 Photon89 commented May 3, 2026

Reverts #809

PR #809 implements a workaround for loading cursor icon errors in recent glycin versions. With #809 the editor launches and is usable, but the cursor icons for various tools aren't displayed properly.

The proper fix is to revert #809 and wait for a fix in glycin. glycin uses image-rs/image-extras for loading XPM files. A fix in image-rs/image-extras has been released last week: image-rs/image-extras#47 Now we just need to wait for the next glycin version to pick it up, reported upstream: https://gitlab.gnome.org/GNOME/glycin/-/work_items/290

I propose to keep this as a draft as long as glycin is build with the broken image-rs/image-extras dependency, then merge it and thus revert #809 after the fixed glycin is released.

@DarthGandalf
Copy link
Copy Markdown
Member

What was the problem with #809 ?

@Photon89
Copy link
Copy Markdown
Member Author

Photon89 commented May 3, 2026

Looks like removing the const keyword leads to cursor icons being displayed as regular mouse pointer for all tools in the editor. At least this is what happens with latest git on my machine.

@Photon89
Copy link
Copy Markdown
Member Author

Photon89 commented May 3, 2026

Actually, I just tested with an older gdk-pixbuf2 version from before the whole mess started and latest git works as expected. Looks like the issue is somewhere in glycin or image-rs/image-extras.

@Photon89
Copy link
Copy Markdown
Member Author

Photon89 commented May 4, 2026

I guess, I figured out what the actual issue is and reported it upstream: https://gitlab.gnome.org/GNOME/glycin/-/work_items/291 We may or may not revert #809 because the const keyword issue will be fixed soon in image-rs/image-extra.

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