[Bug 1878578] Re: Some menu icons are missing
Ubuntu 21.04 has MyPaint 2.0.1 which looks ok. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878578 Title: Some menu icons are missing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mypaint/+bug/1878578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878578] Re: Some menu icons are missing
This has also affected Ubuntu 21.04. They have not released a fixed package for this issue yet. (redhat has) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878578 Title: Some menu icons are missing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mypaint/+bug/1878578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878578] Re: Some menu icons are missing
sorry, wrong bug! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878578 Title: Some menu icons are missing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mypaint/+bug/1878578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878578] Re: Some menu icons are missing
Disclaimer: I'm the current MyPaint main developer/maintainer, but I don't do the Debian packaging, nor am I in any capacity involved in decisions about packages in Ubuntu. Full details and consequences of this bug: v2.0.0 was shipped with svg icons, most of which had been working fine for 6+ years and had not been updated in that time. Some of these icons make use of elements (clones, in Inkscape terms), but not all declared the xlink namespace, used to reference the items in the tags. The backend that renders the icons is librsvg2. Up until librsvg 2.47[2] the missing xlink namespace declarations had no impact, and the icons were rendered correctly regardless. With librsvg >=2.47 those same icons will not be rendered at all, and attempting to do so will throw an exception. Now the real problem here is not that the icons are not rendering, although that does hamper usability. The real problem is that one of the problematic icons makes the "frame tool" (setting/configuring a canvas outline) virtually unusable. The invalid icon for that tool causes an exception that leads to an incomplete setup, causing further exceptions when moving the cursor over the canvas, until you switch to another mode. The problem was first reported on the MyPaint irc channel 2020-03-12. It was initially addressed that same evening, then finalized on 2020-03-17 (as the icon sheet and export process were reworked). As previously indicated by Shane, the problem is in the mypaint-data package[3], where the invalid icons are. All problematic icons can be fixed by adding the attribute xmlns:xlink="https://www.w3.org/1999/xlink; to the tag. To prevent the pseudo-crash when using the frametool, only this icon needs fixing: /usr/share/icons/hicolor/scalable/actions/mypaint-frame-symbolic.svg To prevent the crash, and make all icons show up in the interface, these icons need fixing: /usr/share/icons/hicolor/24x24/actions/mypaint-frame-symbolic.svg /usr/share/icons/hicolor/24x24/actions/mypaint-view-pan-symbolic.svg /usr/share/icons/hicolor/24x24/actions/mypaint-object-move-symbolic.svg /usr/share/icons/hicolor/24x24/actions/mypaint-view-mirror-horizontal-symbolic.svg /usr/share/icons/hicolor/24x24/actions/mypaint-layers-symbolic.svg /usr/share/icons/hicolor/24x24/actions/mypaint-view-symbolic.svg /usr/share/icons/hicolor/24x24/actions/mypaint-view-fit-symbolic.svg /usr/share/icons/hicolor/24x24/actions/mypaint-view-zoom-more-symbolic.svg /usr/share/icons/hicolor/24x24/actions/mypaint-view-mirror-vertical-symbolic.svg /usr/share/icons/hicolor/scalable/actions/mypaint-frame-symbolic.svg /usr/share/icons/hicolor/scalable/actions/mypaint-object-move-symbolic.svg /usr/share/icons/hicolor/scalable/actions/mypaint-view-symbolic.svg /usr/share/icons/hicolor/scalable/actions/mypaint-view-fit-symbolic.svg /usr/share/icons/hicolor/scalable/actions/mypaint-view-zoom-more-symbolic.svg Creating a patch that updates only these icons is not difficult, though it might be better to just update the package to the latest packaged version (referenced by Shane). For users who are affected by this (i.e, anyone who uses the frame tool), particularly those who do not use the 1.x mode by default, I would recommend using the latest official appimage release[4] for the time being. [1] https://wiki.ubuntu.com/StableReleaseUpdates [2] https://gitlab.gnome.org/GNOME/librsvg/-/blob/3661cee1cd2781cd31ac096be7e157f2e661b36b/NEWS#L215-232 [3] https://packages.ubuntu.com/focal/mypaint-data [4] https://github.com/mypaint/mypaint/releases/download/v2.0.1/MyPaint-v2.0.1.AppImage -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878578 Title: Some menu icons are missing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mypaint/+bug/1878578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878578] Re: Some menu icons are missing
same here :'( ubuntu 20.04 ** Attachment added: "Screenshot from 2020-05-23 12-36-25.png" https://bugs.launchpad.net/ubuntu/+source/mypaint/+bug/1878578/+attachment/5375828/+files/Screenshot%20from%202020-05-23%2012-36-25.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878578 Title: Some menu icons are missing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mypaint/+bug/1878578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878578] Re: Some menu icons are missing
I've found a workaround until the proper fix gets backported. This is not supported and may break things. Proceed at your own risk (there is a way to undo this). Install the latest `mypaint-data` from the current Ubuntu 20.10 (`groovy`) builds. 1. Visit https://packages.ubuntu.com/groovy/all/mypaint-data/download 2. Download the .deb file from any mirror 3. Install via package manager (QApt, dpkg, Ubuntu Software, etc) $ sudo dpkg -i mypaint-data_2.0.*_all.deb $ # Example: $ # sudo dpkg -i mypaint-data_2.0.0+git20200502-1_all.deb If you want to undo the changes, you can downgrade `mypaint-data`: $ sudo apt install mypaint-data=2.0.0-2 The exact version may change! Check `apt-cache show mypaint-data | grep 'Version'`. I've put a bit more information about this workaround on the upstream MyPaint issue as well: https://github.com/mypaint/mypaint/issues/1064#issuecomment-632988335 ** Bug watch added: github.com/mypaint/mypaint/issues #1064 https://github.com/mypaint/mypaint/issues/1064 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878578 Title: Some menu icons are missing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mypaint/+bug/1878578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878578] Re: Some menu icons are missing
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: mypaint (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878578 Title: Some menu icons are missing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mypaint/+bug/1878578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1878578] Re: Some menu icons are missing
Due to the increased strictness in librsvg 2.48, some of the otherwise valid icons will not render, due to missing xlink namespace declarations. This was fixed, among other things, in this commit: https://github.com/mypaint/mypaint/commit/9a1ed517c23287e081ede942ab15bac8c61914eb Only the part of the patch that updates the icon svg's is necessary to resolve this. I don't know when/if the mypaint package will be updated, but a release candidate for 2.0.1 should be released within the week. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878578 Title: Some menu icons are missing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mypaint/+bug/1878578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs