Quicklaunch plasmoid in KDE SC 4.5
First, I'd like to introduce myself to you, fellow inhabitants of planet KDE. My name is Ingomar Wesp, I'm 28 years old and I'm studying computer science in Linz, Austria (at least theoretically - currently, my time gets eaten away by my day job and other distractions). Oh, and I have recently been handed over maintainership of the quicklaunch applet by Lukas Appelhans (thanks again for your great support and encouragement). Which brings me right to the subject of this post.
Since there has already been some confusion about changes in quicklaunch as it ships with SC 4.5 beta 1, I thought I should probably point out the changes made and the reasons behind these modifications. Those of you with too much interest and/or too much time on your hands are invited to have a look at the related review requests (#3214, #3254 and #3786) and the corresponding discussions on plasma-devel. In a nutshell, these are the most important changes:
New layouting code: There were a few problems with the previous layouting code, which was based on subclassing
QGraphicsGridLayout, so I implemented a custom layout that (hopefully) does away with these issues. It's also no longer necessary to repopulate the entire layout every time the wrapping changes due to a change in available space. Additionally, the ordering of items has been changed from column major to row major order when multiple rows are used. At least to me, this feels more natural and it also appears to be more consistent with how it's done in other applets that layout their items in multiple rows.Improved drag & drop: Unfortunately, dragging items around was a bit broken in previous versions. There was a bug in the mapping of drop positions to indices that caused some inconveniences and had the potential to crash the plasma shell when the drop event was triggered at certain positions. Also, dragging icons to the popup did not work. With 4.5, these issues should be fixed. Plus, drag & drop is now a little more polished, because we added a drop marker that indicates the insert position for new icons.
And the rest: The two changes above also lay the groundwork for two new features. Since drag & drop to the popup dialog is now possible, it is no longer necessary to explicitly specify the number of icons that should be hidden in the main area and shown in the popup dialog. Instead, you can now just drag those items to or from the dialog. Additionally, icon sizes in the main area are now determined automatically depending on the space available, so the need to explicitly define the icon sizes in the settings dialog has been removed. You can, however, enforce a custom number of rows (in horizontal layouts like the horizontal panel) or columns (in vertical layouts) in order to influence how the available space is used.
Of course, there is still a lot of work to do. I've already got a few ideas for the future of quicklaunch, but since KDE SC is currently in it's beta phase, these will have to wait until trunk unfreezes for the 4.6 cycle. In the meantime, if you've got the chance to have a look at the new qucklaunch plasmoid and you'd like to share some feedback (be it positive or negative), please let me know.
Jason said...
Ingomar Wesp said...
For 4.6, I'm also planning a few features that are definitely not possible with the icon applet, but I'd prefer to discuss them on plasma-devel before talking about them here …
Sergio said...
Anonymous said...
The new features you are some mystically referring to make me curious, ever considered turning quicklaunch into something like the windows 7 taskbar?
http://blogs.msdn.com/b/e7/archive/2008/11/20/happy-anniversary-windows-on-the-evolution-of-the-taskbar.aspx
The icons of running and selected programs/windows could look like taskmanagericons when using a vertical panel.
anyway, just an idea
Thanks for the hard work
Ingomar Wesp said...
mxttie said...
I'm glad someone has time to improve this plasmoid, it's one of my favorites! :)
KAMiKAZOW said...
Giving Quicklaunch Dock-like abilities makes no sense, because there is already the Fancy Tasks plasmoid that does exactly that.
Shafqat said...
Some suggestions I would like to offer are:
- After clicking on a launcher in the popup, the popup should close
- In the future add the possibility of adding folders and bookmarks to quicklaunch
- When all the launchers are in the popup, the rocket icon should trigger the popup too or, only the arrow should show. Having all the icons in the popup is useful for people who like to keep a list of apps as a single icon in the panel. Having both the rocket and the arrow takes up unnecesary extra space.
- Also I've found a bug (running quicklaunch trunk in 4.4.2 plasma): activate the popup and then press 'show desktop' to make the popup hide. After this the popup no longer works.
These are small details but overall you've done a great job
Sujith H said...
Ingomar Wesp said...
I absolutely agree with pretty much all the suggestions you have made and will have a look into the issues you reported as soon as time permits.
@Sujith H: Thanks. It's really nice to hear from so many previous contributers.
Anonymous said...
Post a Comment