Bug 159648 - plasma-appletsrc file format needs improvements
Summary: plasma-appletsrc file format needs improvements
Status: RESOLVED WORKSFORME
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-21 13:14 UTC by Benoît Jacob
Modified: 2008-06-08 16:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benoît Jacob 2008-03-21 13:14:00 UTC
Version:            (using KDE 4.0.2)
Installed from:    Ubuntu Packages
OS:                Linux

Hi Plasma team,

I'm filing this as a bug, not a mere wish, because it seems to be the root cause of many glitches [*] in my 4.0.2 desktop.

The plasma-appletsrc file
- is hierarchical, which is good,
- allows pixel-based placement and sizing of applets, which is good,

but it should allow more clever ways than just pixel-based. For instance, there should be a way of saying "put this launcher at the left end of this panel, and let it inherit the panel's size" instead of having to specifying x,y,with,height values in pixels ! Same for other applets such as the task manager.

In fact, I believe that it should be possible to describe a basic desktop with only a basic panel by specifying only one pixel-based value: the panel height. It would go as follows:

1) panel at bottom of screen, 24 pixel high
2) desktop containment occupying remaining screen space
3) launcher in left of panel, inheriting panel height, square
4) systray in right of panel, inheriting panel height, width adapting to the # of systray icons.
5) task manager in panel at right of launcher, inheriting panel height, filling space between launcher and systray.

See? No need to store dozens of pixel-based values! I think this is much more robust and would spare you a lot of hassle.

[*] You probably know about that, render glitches with custom-sized panel, K-button (both kickoff and traditional) not adapting to that custom size, crossing the bottom of screen and the bottom of it reappearing at top of screen, menu opening at top of screen instead of at bottom... Not to mention the problem that seem inevitable with the current plasma-appletsrc in case of a change of resolution! 

Cheers and thanks,
Benoit
Comment 1 Benoît Jacob 2008-06-08 16:39:19 UTC
closing as kde trunk doesn't have the issues i reported anymore. I'm afraid this whole bug report was just an uninformed rant, sorry folks.