chr15m / PdDroidParty

Run Pure Data DSP patches on Android - native GUIs emulated.
http://droidparty.net/
GNU General Public License v3.0
64 stars 14 forks source link

SVG theming compatibility broken ? #9

Closed b2renger closed 9 years ago

b2renger commented 11 years ago

I tried to use my old droidparty projects and it seems that something in svg theming. When I loaded the patches unchanged the gui was not dislaying, but when I removed all svg files from the folder the gui appeared and the patch worked again.

I haven't dug further, needs to be confirmed

chr15m commented 11 years ago

Thanks for reporting this, will check and fix!

b2renger commented 10 years ago

Well I've changed phones, and now it works. So my last phone was a GS3 running android 4.2, theming was broken all over the way up to the CanOfBeats app.

So if nobody as experienced this I guess it should be closed.

b2renger commented 10 years ago

well it happened again ! but i got it to re-work ! so i may have a way to find a procedure to help reproduce the bug.

i think i had to reboot beetween desinstalling and re-installing to resolve the issue, and it may have happen while updating the app.

I'll investigate further and keep you posted.

chr15m commented 10 years ago

Thanks! Let me know if you can reproduce it.

mgsx-dev commented 9 years ago

I've found and solved the problem, since android 4.2, views are hardware accelerated and SVG don't render anymore (it seems some canvas draw methods not allowed in hardware accelerated mode). This bug is discussed in SVG Android libray bug tracker : https://github.com/pents90/svg-android/issues/7 and a solution is discussed here : http://stackoverflow.com/questions/13987288/svg-image-not-visible-in-android-3-0-with-same-code/13992014#13992014

The solution i've implemented is to disable hardware accelerated in the patch view (3 or 4 lines of code), I'll send you a pull request today.

mgsx-dev commented 9 years ago

pull request created https://github.com/chr15m/PdDroidParty/pull/24 enjoy.