So i've been told that for svgs is forced alphablending even if it is not enabled....so thats why it could be sluggish on problematic boxes if you have many svgs
->
This is a fact....see the fragment below in skin.py.
I looks like we're not really ready for svg... and I also remember it from the time it was introduced. I was happy as for programming it sounds good... but in practice some drivers/hardware are not helpful here... I was also busy with vectorize icons in our recent standard skin but I quickly stopped this project due to the same issues.... That was also why I recommend to change back to png.
def pixmap(self, value): if value.endswith(".svg"): # if graphic is svg force alphatest to "blend" self.guiObject.setAlphatest(BT_ALPHABLEND) self.guiObject.setPixmap(loadPixmap(value, self.desktop, self.guiObject.size().width(), self.guiObject.size().height()))
Edited by littlesat, 28 November 2023 - 15:39.