-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
SVG of the marker tool is not rendered properly on Wayland #2667
Comments
@RiedleroD Are you able to help on this? It's not urgent I can roll back just that one file until you have time to get to it. I also replicated it in a Fedora KDE VM. |
looks fine to me. how is it supposed to look? |
@RiedleroD look at the purple icon not the orange. |
The orange is what we used to have and aiming to have and the purple is the one we currently have. The lower part seems to be missing. I'm no svg expert and have no idea why on some computers it looks ok and why on others it doesn't |
ohh! sure, I'll have a look at what I messed up last time ;P tomorrow though. It's become later than expected today. |
@RiedleroD thanks for your time and contributions 👍 |
I can't reproduce, even rsvg renders this correctly. I'm assuming this is a temporary bug in Qt's svg rendering we can't do anything about, but I'll try to look further into it |
also @mmahmoudian your steps to reproduce lack the make command, fyi |
my final opinion: this is either a problem with how Qt renders SVGs that is fixed in a newer version, which arch-based distros already have, and fedora doesn't. Try finding out if you can temporarily install a newer version of qt5-qtsvg-devel on your fedora VM. Also, I've said it, and I'll say it again: Qt's svg renderer sucks and we should switch to resvg or something if possible. |
Yeah, you are right, sorry about that. I did itin a VM and my clipboard was not mapped to copy exactly the sequence of commands from there. I typed some of it and copied the rest from Jeremy's comment in another issue.
I have the VM. I can give you a download link if you want
I cantry to create a manjaro Wayland KDE VM and see if it is reproducible there as well or not. |
please do. after you've tried the thing below ↓
that would be nice. If the same problem persists, try fedora X11 and something else than KDE as well please. |
This issue is not reproducible in Manjaro KDE Wayland: @borgmanJeremy So it seems @RiedleroD hypothesis is correct. But considering that we have a huge Ubuntu and Fedora userbase (my assumption based on the bug reports), I suggest the following in this order
Of course I have no solid understanding of the work the first suggestion needs, so take it lightly considering that we are getting prepared for v12 |
I've got no idea how easy this is in practice, but resvg has a drop-in for QtSVG. I can't write cmake files nor C++ code, otherwise I'd open a PR for this. |
I think we should just revert to the old SVG for a while. Users would rather have an extra few bytes of data than have a glitched icon |
Yeah, I think that's the way to go for the time being. |
I tested the RPM built by #2668 and its working on Fedora 36 |
Flameshot Version
Flameshot v12.0.0 (6f6a8dd)
Installation Type
Compiled from source
Operating System type and version
Fedora 36 KDE wayland
Description
When compiled from source, the against 6f6a8dd commit, the marker tool's icons is not rendered properly. This is not the case when installed form AUR (same commit) on Manjaro KDE X11.
Steps to reproduce
Screenshots or screen recordings
System Information
Virtual Machine Manager v4.0.0:
The text was updated successfully, but these errors were encountered: