Hey plasma guys,<br><br>Two things. First of all, I've been working with Plasma::Svg, and especially Svg::elementRect, and after some investigation I figured out why the element rect returned by the function was actually *outside* the applet itself. It turns out boundsForElement( QString ) returns the element rect, but "The transformation matrix of parent elements is not affecting the bounds of the element." (from API). So basically in order to get the correct element rect, i had to add the two lines included in the patch.
<br> <br>Also, regarding the current Theme->setApplicationName(), currently if you set the application to, say, "amarok", plasma will look for the [Theme-amarok] group in plasmarc. Now, as Amarok doesn't depend on kdebase, there might not be a plasmarc at all. So it makes little sense for us to edit/create plasmarc if none exists. I think it would be a better idea to look into the application-default config, so amarokrc would hold the relevant theme data. What do you guys think?
<br><br>leo<br clear="all"><br>-- <br>______________________________________________________<br>Leo Franchi <a href="mailto:angel666@myrealbox.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
angel666@myrealbox.com</a><br>4305 Charlemagne Ct <a href="mailto:lfranchi@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> lfranchi@gmail.com</a> <br>Austin cell: (650) 704 3680
<br>TX, USA home: (650) 329 0125