QML plasmoid and compact representation

Marco Martin notmart at gmail.com
Mon Feb 4 09:47:05 UTC 2013


On Sunday 03 February 2013, Lionel Chauvin wrote:
> Hi all,
> 
> 
> Some C++ plasmoids, as for example the 'weather' plasmoid, are changed into
> a compact representation when they become too small. When the user clicks
> on a compact representation, the full plasmoid is displayed in a popup.
> 
> I would like obtain the same behavior with a declarative plasmoid but
> according to the documentation
> (http://techbase.kde.org/Development/Tutorials/Plasma/QML/API#Properties_e
> xported_from_the_main_QML_item): "if the plasmoid is a popupapplet, the
> component in compactRepresentation will be used instead of the icon and
> will always be collapsed,
> regardless if it's in a panel or not."
> 
> Is it the correct behavior or is it just not fully implemented ?
> Can I workaround this behavior?
> 

I want to change it in the future, but for now there isn't much way around.
note that is also the behavior for c++ plasmoids. the ones that collapse and 
expand depending to the size are the ones that have just an icon.
for that you can just make an applet of type popupapplet, not setting the 
compact representation and an icon will be used instead

-- 
Marco Martin


More information about the Plasma-devel mailing list