Bug 282786 - Incorrect default size when enabling the systray applet
Summary: Incorrect default size when enabling the systray applet
Status: RESOLVED FIXED
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: presence-applet (show other bugs)
Version: git-latest
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: 0.4.0
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-26 09:13 UTC by Christophe Marin
Modified: 2012-07-06 12:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Incorrect default size (17.29 KB, image/png)
2011-09-26 09:13 UTC, Christophe Marin
Details

Note You need to log in before you can comment on or make changes to this bug.
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