Two issues with librsvg

2017-10-21 Thread Oren Ben-Kiki
My main issue is that librsvg seems to not find sub elements by id. Specifically, rsvg_handle_has_sub returns false, and therefore querying for the element's size and position fails. I'm probably doing something wrong here... or is this a bug? I really want the ability to access sub-elements size a

GTK+ app performance optimization

2017-10-21 Thread Shaunak Gupte
Hi, I am developing an app which has a 2D grid (approx 3 cols x 6 rows) of thumbnails of images and an accompanying label. The elements in the grid need to be rearranged / removed / new added at runtime (Peak could be 5-6 times a second). Currently my rearrangement algorithm is not optimized sin

Re: No protocol specified error

2017-10-21 Thread David Margerison
On 20 October 2017 at 22:33, Felipe Borges wrote: > > Running GUI applications as root is hardly discouraged. The English language can be surprising, so I write this short note to help avoid confusion. 400 years ago, your sentence above would be correct. But the meaning of the word "hardly" has