When blowing off the dust from my SMS share nemo transfer engine plugin a couple of users reported that the icon of the share plugin list is smaller on my XA2 (and other higher DPI display equipped Sony devices) than expected:
I am using an SVG file as icon from what I assumed it should be scaled properly (on my JP1 I had no issues with this approach).
I take a look on the built in transferengine plugins with strings and it looks that they using the the icon from the theme system:
mm@lapos:~/Projektek/jolla/harbour-sms-share-plugin$ strings /tmp/libbluetoothshareplugin.so | grep icon image://theme/icon-s-bluetooth image://theme/icon-m-share-bluetooth
I also know about @slava 's approach in his QRShare plugin: it generates a PNG icon during the RPM installation phase to match the medium sized icon on the device.
There is also an approach to generate the theme icons used by attah for e.g.:
Would not be easier to fix this issue on the display side? If using SVG icon is supported (it is) then I think it would be pretty easy to render it in the proper resolution.
Unfortunately I do not know where should I look for the relevant QML file.