Re: [platform-dev] Disable SVG support on Linux?

2023-10-11 Thread Alexander Fedorov via platform-dev

Hi

From your description it sounds like it is more logical to implement 
filtering for your use case rather than disable SVG support for 
everything on lower level.


Regards,
AF

11.10.2023 15:38, Thomas Singer via platform-dev пишет:

Hi,

In our application we have an image preview feature if the user 
selects an image file. This causes troubles for some users with 100k+ 
sized SVG files that cause our application to hang up. Is there some 
way to disable SVG support easily or should we implement an own filter 
before to detect whether it's a png, jpg, gif or svg?




___
platform-dev mailing list
platform-dev@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/platform-dev


Re: [platform-dev] Disable SVG support on Linux?

2023-10-11 Thread Mickael Istria via platform-dev
Hi,
I'm not aware of a particular option to disable SVG support. However, there
might be some bug somewhere causing this latency. Feel free to open an
issue with steps to reproduce and a jstack taken duringt the freeze so this
might be investigated. Maybe there are some parts of SVG loading that could
be run in another non-Ui thread?
___
platform-dev mailing list
platform-dev@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/platform-dev


[platform-dev] Disable SVG support on Linux?

2023-10-11 Thread Thomas Singer via platform-dev

Hi,

In our application we have an image preview feature if the user selects 
an image file. This causes troubles for some users with 100k+ sized SVG 
files that cause our application to hang up. Is there some way to 
disable SVG support easily or should we implement an own filter before 
to detect whether it's a png, jpg, gif or svg?


--
Best regards,
Thomas Singer
___
platform-dev mailing list
platform-dev@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/platform-dev