Bug 282786

Summary: Incorrect default size when enabling the systray applet
Product: [Unmaintained] telepathy Reporter: Christophe Marin <christophe>
Component: presence-appletAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: alinm.elena
Priority: NOR    
Version: git-latest   
Target Milestone: 0.4.0   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Incorrect default size

Description Christophe Marin 2011-09-26 09:13:20 UTC
Created attachment 63975 [details]
Incorrect default size

Using master.

The issue is reproducible,
- kquitapp plasma-desktop
- rm the plasma config files,
- start plasma-desktop,
- enable the presence applet in the systray settings
- Click on the tray icon.

=> The opened popup is unusable due to its default size (and cannot be resized either)

Screenshot attached.

The relevant part in plasma-desktop.appletsrc: 

[Containments][1][Applets][6][Configuration][Applets][55]
geometry=137,4,24,24
immutability=1
plugin=org.kde.telepathy-presence
zvalue=0

[Containments][1][Applets][6][Configuration][Applets][55][PopupApplet]
DialogHeight=85
DialogWidth=91
Comment 1 Alin M Elena 2011-10-01 18:49:12 UTC
here is the part from mine


[Containments][1][Applets][90][Configuration][Applets][211]
geometry=165,4,24,24
immutability=1
plugin=org.kde.telepathy-presence
zvalue=0

[Containments][1][Applets][90][Configuration][Applets][211][Configuration][presenceapplet]
Avatar=/home/alin/Pictures/curledSmall1.png
Nick=Alin
PersonalStatus=What?                                                                                                                                                                         
               \nTea instead of love??                                                                                                                                                       
                 \nYou want to darn my socks instead?\s

[Containments][1][Applets][90][Configuration][Applets][211][PopupApplet]
DialogHeight=400
DialogWidth=643

[Containments][1][Applets][90][Configuration][Applets][211][Shortcuts]
global=

which works
Comment 2 Alin M Elena 2011-10-01 19:03:14 UTC
ok... the issue seems to be only when the widget is added to a panel.

you can add it to the desktop... 
or you can activate it from systemtry
both of them workarounds.
Comment 3 Francesco Nwokeka 2011-10-06 16:26:50 UTC
Git commit b3dbf7a9400f89252cc062e7742c259229cd360e by Francesco Nwokeka.
Committed on 06/10/2011 at 18:23.
Pushed by nwokeka into branch 'master'.

Fixed problem with plasmoid not maintaining size

This because plasma introduced two new properties in the plasmoid API that weren't set in the
plasmoid: minimumWidth & minumumHeight

BUG: 283150
BUG: 282786

M  +4    -0    package/contents/ui/main.qml

http://commits.kde.org/telepathy-presence-applet/b3dbf7a9400f89252cc062e7742c259229cd360e