Bug 299157

Summary: Contact List plasmoid does not extend to all free space on a panel
Product: [Frameworks and Libraries] telepathy Reporter: markuss <kamikazow>
Component: contactlist-appletAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: david.alston, kamikazow, martin+kde, mklapetek
Priority: NOR    
Version: unspecified   
Target Milestone: Future   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description markuss 2012-05-01 10:25:25 UTC
Instead of the Contact List app, I'd like to have a Plasma panel on the right side of the screen to put my contact list in there.
However the current Contact List plasmoid does not stretch to all available space and only displays one or two contacts.

Reproducible: Always

Steps to Reproduce:
Place Contact List plasmoid on an empty vertical panel.

Actual Results:  
Contact List plasmoid is quite small

Expected Results:  
Behavior like most task bar applets: Expand to all free space on a panel
Comment 1 Martin Bednar 2012-05-27 17:05:04 UTC
Today I updated the whole telepathy stack, the applet now stretches to fill all available visible space. However, the panels allow for setting a maximum size and a minimum size, and the applet doesn't stretch beyond the panel's minimum size.
Comment 2 markuss 2012-05-28 10:00:37 UTC
Can I (or you) then mark this bug as fixed?
Comment 3 Martin Bednar 2012-05-28 17:14:25 UTC
I don't think marking this as fixed is appropriate, because IMO the remaining "maximum size - minimum size" space is included in the free space into which the applet should expand. But this is already a great step!
Comment 4 Martin Klapetek 2012-07-05 15:18:08 UTC
It's not fixed, we miss proper bindings to do this with QML plasmoids, will update this bugreport when there are some news.
Comment 5 David Alston 2012-11-16 23:36:06 UTC
I'm looking forward to this feature.  Will this be a difficult or low-priority for the folks working on QML ?

It looks like the "Spacer" widget can have it's height adjusted, but I'm guessing that the "Spacer" widget wasn't written in QML..
Comment 6 Martin Klapetek 2012-11-17 10:04:44 UTC
There are limitations in Plasma which prevents this. I remember Marco telling me a fix/workaround but I don't remember now. Should be easy, if you'd like to investigate, I can point you to the proper people ;)
Comment 7 David Edmundson 2013-03-19 22:55:03 UTC
Git commit dd4e0ec0bb2d0fffd9a0a574e6b28f8018169445 by David Edmundson.
Committed on 19/03/2013 at 23:53.
Pushed by davidedmundson into branch 'master'.

Don't set a size for the contact list

There is still a minimum size attached so it will default to that.
This allows it to expand when placed in a panel

M  +0    -3    contactlist/org.kde.ktp-contactlist/contents/ui/main.qml

http://commits.kde.org/telepathy-contact-applet/dd4e0ec0bb2d0fffd9a0a574e6b28f8018169445