Bug 181038

Summary: lancelot icon too small at each start
Product: [Unmaintained] plasma4 Reporter: Kai Dombrowe <just89>
Component: widget-lancelotAssignee: Ivan Čukić <ivan.cukic>
Status: RESOLVED FIXED    
Severity: normal CC: alanjprescott, cycoone, sela
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshot
Screen Region snapshot

Description Kai Dombrowe 2009-01-17 01:43:51 UTC
Version:           svn (using Devel)
Compiler:          gcc (Gentoo 4.3.0 p1.2) 4.3.0 
OS:                Linux
Installed from:    Compiled sources

The lancelot icon is too small when i start plasma, see attachment.
All other Applets are ok.
Comment 1 Kai Dombrowe 2009-01-17 01:44:21 UTC
Created attachment 30332 [details]
screenshot
Comment 2 Alan Prescott 2009-02-03 11:46:33 UTC
Created attachment 30900 [details]
Screen Region snapshot

Shows the size of the lancelot icon in the panel
Comment 3 Alan Prescott 2009-02-03 11:49:30 UTC
Hmm - can't add a comment and an attachment at the same time - here's the comment which should be with the attachment ...

I can confirm that the icon shrinks to a miniscule size after re-login or plasma crash. 
Running Lancelot Launcher Settings and just clicking on Ok will restore it to the correct size.
Comment 4 Ivan Čukić 2009-02-04 09:41:33 UTC
*** Bug 181674 has been marked as a duplicate of this bug. ***
Comment 5 Stephen Baker 2009-02-04 14:35:57 UTC
bug 181674 contains my plasma-appletsrc and a couple more screen shots.  In my case the Lancelot icon is so small it can't be seen.
Comment 6 Ivan Čukić 2009-02-04 14:48:41 UTC
So, the problem is that plasma gives lancelot not enough space because it reads from plasma-appletsrc that it should give it less space than it needs (in your case 1px wide and 32px high), and lancelot does nothing to fight for its right to be larger :)

I'll see how to fix that. Thanks, and cheerio!
Comment 7 Alan Prescott 2009-02-04 16:35:16 UTC
If the problem is an interaction between plasma-appletsrc and lancelot fighting for the correct amount of screen space then you should be aware that there's a similar problem if lancelot is put in a vertical panel.
If lancelot is put (e.g.) as the bottom icon in a vertical panel it fills all the available space with the icon in the middle.
Comment 8 Ivan Čukić 2009-02-04 16:39:37 UTC
Cool, it doesn't try to be smaller neither :) Thanks for the info, I completely missed that.
Comment 9 Robert Sela 2009-02-05 21:02:53 UTC
Ivane care da ti kažem...

Can I use this space to bring another issue ? 
Search field in lancelot doesn't show all programs that are in menu, so I need to go around manualy searching for it in submenus. I have notice it before too with previous versions of both KDE and Lancelot.
Šta kažeš brate ?
Sioux
Comment 10 Ivan Čukić 2009-02-05 23:31:30 UTC
@Sioux
The point of bug reporting system is to make separate reports for separate issues. So, no you should not use this space to report another one :) BTW, that is not Lancelot's issue but KRunner's since L uses KRunner for search results.

Cheers
Comment 11 Robert Sela 2009-02-06 00:24:40 UTC
k
sry
Comment 12 Ivan Čukić 2009-03-16 16:16:55 UTC
This should be fixed now. I can not test it (I couldn't reproduce the original issue), but all layout glitches in the launcher applet I could reproduce are now gone.