AppMenu QML

Plasma 4 Widgets

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

32
Score 85.6%
Description:

This plasmoid shows a menu of the installed applications, similar to Lancelot but much simpler. The purpose of the simpleness is to have a faster plasmoid which also loads faster. The plasmoid also has a list of favorites and you can search applications by application name. There are "Lock Session", "Leave" and "Switch User" and other similar buttons. Other features:
- the number of visible columns can be changed (between 1 and 4);
- the favorites section can be hidden;
- the favorites list can be locked;
- the size of all visible icons can be changed;
- closing and opening the menu remembers its state (configurable);
- change launcher icon;
- configure which "leave" buttons are shown (or show none at all);
- the favorites list can be reordered using drag-and-drop;
- the menu items can be dragged and dropping them on a panel or on the desktop creates a shortcut there.

The plasmoid can be completely manipulated with the keyboard only except for the buttons at the bottom wich must be clicked with the mouse. The menu can be browsed with the arrow keys and PageUp and PageDown, a favorite can be added with the + or = key and removed with the - key, to search an application by its name, just start typing the name.

This plasmoid is entirely written in QML + JavaScript.

Note: this plasmoid requires KDE 4.8.0 or higher. For correct resizing of the "Leave" buttons, KDE 4.9.0 is required.

Bugs I don't have control over (because of limitations in Qt or Plasma):
- make configuring the plasmoid's icon more elegant by showing the current icon on the button that launches the "Change icon" dialog and by removing the text field holding the icon's name (only possible when KConfigXT finally supports Icon)
- provide a command line to open/close the menu
- maybe add "Recent Documents" section (below Favorites?); there is no Plasma DataEngine for this, so I cannot do it
- allow to modify the ordering of the "leave" buttons (must find a way in
KConfig XT to do this)
Last changelog:

6 years ago

version 1.6 (2013-07-31):
- do not show the "Add favorite" and "Remove favorite" buttons in the search menu when the favorites are locked
- the "Add Favorite" and "Remove Favorite" buttons are not visible anymore if the favorites section is hidden
- dragging an application from the menu to the panel or the desktop creates a shortcut there
- the favorites can be reordered using drag-and-drop

snakebite

7 years ago

Hi,
This is a great plasmoid and looks good. I have noticed a bug though, when searching for a programm and clicking on the "add to favorites" or "remove from favorites", it has no effect, meaning that it wouldn't get added or removed from the favorites list. Also is it possible to translate this plasmoid to other launguages? where can I get the .po file? and I am on kde 4.8.2 with Chakra Linux
Thanks and keep up the good work.

Report

C

glad

7 years ago

The bug concerning adding or removing favorites while in search mode is fixed in version 0.7.3.

For translations, follow the instructions in README_TRANSLATIONS.txt in the plasmoid. No need to follow all instructions, I just need a .po file with your translations and separately the translation of the two strings that are in metadata.desktop. Note however that I didn't manage to get translations actually working. If you know a solution for this problem and tell me, that would make me very happy!

Report

auronx7

7 years ago

Hey glad, thanks for the excellent work on this, as well as for picking back up the updates and so frequently updating lately. It's now my default launcher on all my systems :)

I hope to not sound ungrateful or anything, but would it be hard to code the option to change the Lock session, Leave, Switch user section at the bottonm so that you can make those buttons what you want? (similar to what Lancelot launcher uses). I don't know anything about making widgets myself, but if it's possible to add that option I think it'd be even better :)
Thanks again for the great widget!

Report

C

glad

7 years ago

Currently, all "leave" options are available with maximum 2 clicks (the second click only needed to confirm the "destructive" actions, namely logout, turn off computer, ...), so I see no reason to make the buttons configurable. You may be able to convince me (no guarantee) with some convincing use-case.

Report

Koali

7 years ago

Hello! I've just downloaded and tested your plasmoid and I'd like to give som suggestions about it:

1) It would be nice to have an option to "disable" showing menus which are empty on the main menu tree.

2) It would be also nice to be a translatable plasmoid, in which case I'd be pleased to aid in that(That "Lock session" looks alien in the rest of translated text).

3) There are som applications which appear more than once like BlueDevil or SystemSettings, it could be nice to "hide" them without having them removed from the KDE menu tree.

4) If you would have some awesomeness in this plasmoid, you could try to have a Full Screen mode, like Takeoff, that would rock also.

5) It would be also great to be disable that "favorites" sections, becasuse some people use "Icon Tasks" or simply attach launchers to the panel, which make that "bookmarking" feature.

Thank you for reading this.

Report

C

glad

7 years ago

1) Patches welcome. I don't have empty menus in my menu. Please make sure that the startup speed of the plasmoid is not badly affected, otherwise the patch will not be applied. The reason of this plasmoid is to have KDE start up faster than when using Lancelot (Kickoff is not usable for me), so a fast startup is more important for me than not seeing empty menus (which I'm not seeing anyway).
2) See answer to FraMari above (follow the instructions in README_TRANSLATIONS.txt in the plasmoid file). Unfortunately the translations don't work on my machine, so if you know how to make them work and tell me, I will be very glad!
3) The plasmoid is designed to not show the same entry twice in the same menu. If the entries are "BlueDevil" and "BlueDevil2", then they will of course both show up as the plasmoid is not smart enough to know that they are the same (the title should be exactly the same otherwise the plasmoid doesn't realize that it should only show one of them). If they are in different submenus the plasmoid will happily show both as it doesn't know which one it would otherwise have to hide.
4) This is outside the scope of this plasmoid. I don't see the use of having this menu fill up the whole screen as it will never show more than what is currently available in the plasmoid (some lightweight additions may still occur, but this is very unlikely).
5) Implemented in version 0.7.3.

Report

tetris4

7 years ago

It seems like whatever icon I choose for the launcher, nothing happens on my panel. The icon remains the same, despite the fact that the entry in it's settings is changed to the name of the new icon.

What could be causing this?

Am running Chakra with KDE 4.8.1.

Report

FraMari

7 years ago

I've got the same problem...

Report

thetall82

7 years ago

Same problem for me, I change the menu icon but nothing happens.

Another problem:
If I user a dark theme, the characters colour in the menu is automatically changed to white; but it's white also for the words typed in the top search box, making them invisible (see this screenshot: http://img62.imageshack.us/img62/7338/kubuntu1204b120120312.png )

Cheers

Report

C

glad

7 years ago

The icon changing problem is a bug which is solved in version 0.7.2.

The white text on white search field problem is discussed before on page 3 of this comments section. Basically, the solution is to find a plasma theme which defines a dark background for lineedits or to ask the developer of your theme to add such a background.

Report

FraMari

7 years ago

Thanks for fissing the icon bug!
How can i provide an italian translation for this plasmoid?

Report

C

glad

7 years ago

In the plasmoid file there is a file README_TRANSLATIONS.txt detailing the instructions for translation. I need a .po file and the translation of the two mentioned strings (these are the strings in metadata.desktop).

Report

thetall82

7 years ago

Hi and thanks for this easy to use but well done plasmoid! Tested it on KDE 4.8 with kubuntu and works great.

A couple must-have features in my opinion:
1) Possibility to drag&drop items from the menu to the desktop (plasma folder view mode) and to panel.
2) Easier management of menu items and the possibility to change the menu default height and width.

Thank you for you attention and thx again for this cool appMenu.

Ciao
thetall82

Report

C

glad

7 years ago

1) This cannot be done because ListView insists on catching any drag events itself. If you have any solution for this problem, patches are welcome.
2) What easier management do you have in mind? The *default* width and height cannot be changed (well, actually, they can: by editing contents/ui/main.qml and changing the values for minimumWidth and minimumHeight). Once the plasmoid is added to the panel, its popup size can be modified by dragging the corners.

Report

masterdany88

7 years ago

it make plasma-desktop crash
an It can be closed only by chooshing an application

Report

C

glad

7 years ago

Thank you for this very helpful comment in which you kindly give information on which system you use the plasmoid, which version of KDE you have, which Plasma theme you use, ... ;-) On my Arch Linux with KDE 4.8.1 and any Plasma theme, my plasmoid works perfectly and does never cause a crash (otherwise I wouldn't publish it here). Note that the plasmoid will not work with KDE versions less than 4.8.0.

It can be closed in several ways: by choosing an application, by pressing the "Escape" key, by clicking the menu button again (the one you clicked to open the menu). If you have a shortcut for this plasmoid, pressing the shortcut again also closes the menu. The plasmoid also closes when losing focus.

Report

Admc

7 years ago

Hi, I'm using black theme with white font. Text in search box is also white so it's almost invisible. Is there a way to fix it?

Report

C

glad

7 years ago

Yes, there are several methods (none of them involving me however ;-) ):
1. Use a theme that uses a good color combination for textfields and their texts.
2. Ask the developer of the theme you are using to add a dark background for lineedits (the theme should have a file called "lineedit.svgz" in its widgets directory). Why do dark themes have white lineedits (they hurt my eyes in an otherwise perfectly dark environment)?
3. Copy such a dark "lineedit.svgz" file from another theme (e.g. Produkt http://kde-look.org/content/show.php?content=124213).
4. In the file called "colors" located in the main directory of your theme, change the value of "ForegroundNormal" in the section "[Colors:Window]" (this will however break the text color for all other widgets).
5. Better than 4: ask the Plasma devs to add a separate variable for defining the text color of lineedits.
6. Hack the file /usr/lib/kde4/imports/org/kde/plasma/components/TextField.qml (do this each time you upgrade KDE) and change the "color" attribute of the TextInput with id "textInput" to "black" (with the quotes) instead of "theme.textColor".
In my humble opinion, choices 1 and 2 are the only good ones. Note that not only my plasmoid, but also for example the "Dictionary" plasmoid, the "Add Widgets" panel and any plasmoid which has a lineedit shows this problem.

Report

gcala

7 years ago

Hi, first of all thanks for your work. I'm just asking if you plan a one column option (like kickoff).

Thanks

Report

C

glad

7 years ago

Implemented in version 0.7.1. The default is still 2 columns however. Note that in 1-column mode, you can switch between columns (including switching between "Favorites" and the real menu) using the breadcrumb (the line immediately below the search field).

Report

gcala

7 years ago

Thanks for enabling this feature so fast. One more related request: can you set a lower minimumWidth? (maybe depending to comumns count) Atm, I see waste of space:

http://wstaw.org/m/2012/03/12/appmenu_.png

Very thanks

Report

C

glad

7 years ago

Implemented in 0.7.2. Not sure you will like the result though as the buttons at the bottom are now squeezed. Any ideas to do this nicer are welcome (not sure they will be implementable though because PlasmaComponents.Button is not the most flexible item in the world).

Report

gcala

7 years ago

Cool, very thanks!! About buttons: since they're still limited I can suggest you this "ugly" mockup

http://wstaw.org/m/2012/03/15/finale.png

I take inspiration by lockout plasmoid:

http://wstaw.org/m/2012/03/15/lockout.png

It has resizable buttons and popups replacing text.

I think its code is easy enough to give it a try.

Report

C

glad

7 years ago

The lockout plasmoid is written in C++ while my plasmoid is written in QML. I have not found a way to attach tooltips to buttons in QML (any ideas are of course welcome). In version 0.7.3 the buttons automatically lose their text (and thus become narrow) when the plasmoid becomes too narrow (that was not easy to implement and requires to maintain my own hacked version of PlasmaComponents.Button).

Report

gcala

7 years ago

The solution you have found is brilliant. Thanks for all.

Report

6 years ago

version 1.6 (2013-07-31):
- do not show the "Add favorite" and "Remove favorite" buttons in the search menu when the favorites are locked
- the "Add Favorite" and "Remove Favorite" buttons are not visible anymore if the favorites section is hidden
- dragging an application from the menu to the panel or the desktop creates a shortcut there
- the favorites can be reordered using drag-and-drop

12345678910
371
product-maker agq54 Jul 23 2014 9 excellent
product-maker gustawho Jun 15 2014 9 excellent
product-maker UnderTheGun May 01 2014 9 excellent
product-maker tago Apr 08 2014 9 excellent
product-maker Broker Feb 06 2014 9 excellent
product-maker migue Jul 31 2013 9 excellent
product-maker distopic Feb 20 2013 9 excellent
product-maker frag Feb 20 2013 9 excellent
product-maker brdn25 Feb 09 2013 9 excellent
product-maker KDesk Feb 08 2013 9 excellent
product-maker Contrast Feb 05 2013 9 excellent
product-maker mandyzhou Jan 15 2013 9 excellent
product-maker pieter Dec 18 2012 9 excellent
product-maker Syvolc Dec 17 2012 9 excellent
product-maker LuizRios Nov 25 2012 9 excellent
product-maker dotNet Nov 18 2012 9 excellent
product-maker josaniel Nov 06 2012 9 excellent
product-maker froksen Oct 13 2012 9 excellent
product-maker Phrosztbyte Oct 07 2012 9 excellent
product-maker abatyche1x Oct 04 2012 3 bad
product-maker yhmfyhhcf Oct 04 2012 3 bad
product-maker jimmy600 Oct 03 2012 3 bad
product-maker juank202 Aug 31 2012 9 excellent
product-maker sealbhach Aug 31 2012 9 excellent
product-maker rthomsen Aug 31 2012 9 excellent
product-maker Grobelard Aug 30 2012 9 excellent
product-maker oOSplashOo Aug 30 2012 9 excellent
product-maker sumski Aug 29 2012 9 excellent
product-maker dmeyer Aug 29 2012 9 excellent
product-maker ulihox Jul 22 2012 9 excellent
product-maker shsetyana Jul 05 2012 9 excellent
product-maker miawallace Jul 04 2012 9 excellent
product-maker ArthurTaborda Jul 03 2012 9 excellent
product-maker BigCityCat Jun 18 2012 9 excellent
product-maker RAIDENSUB Jun 12 2012 9 excellent
product-maker SCO2land May 26 2012 9 excellent
product-maker swiftscythe May 11 2012 9 excellent
product-maker mblondee May 09 2012 9 excellent
product-maker Refused Apr 04 2012 9 excellent
product-maker janet Apr 01 2012 9 excellent
product-maker step-2 Mar 28 2012 9 excellent
product-maker freemanoid Mar 27 2012 9 excellent
product-maker gardmo Mar 15 2012 9 excellent
product-maker thetall82 Mar 13 2012 9 excellent
product-maker gcala Mar 12 2012 9 excellent
product-maker schleby Mar 12 2012 9 excellent
product-maker snakebite Mar 09 2012 9 excellent
product-maker darthroe Mar 09 2012 9 excellent
product-maker negas Mar 01 2012 9 excellent
product-maker jmc88 Jan 24 2012 9 excellent
product-maker grayhawk Jan 11 2012 9 excellent
product-maker dimitarpopov Jan 02 2012 9 excellent
product-maker nikore90 Dec 13 2011 9 excellent
product-maker StrikeHoreges Dec 10 2011 9 excellent
product-maker pru Nov 27 2011 9 excellent
product-maker Guil1aume Nov 26 2011 9 excellent
product-maker stevencolbear Nov 20 2011 9 excellent
product-maker simone84 Nov 11 2011 9 excellent
product-maker soee Nov 06 2011 9 excellent
product-maker fancase Nov 02 2011 9 excellent
product-maker onizou Nov 01 2011 9 excellent
product-maker agaya Oct 31 2011 9 excellent
product-maker vitoubien Oct 31 2011 9 excellent
product-maker TommyCZ Oct 23 2011 9 excellent
product-maker nowardev Oct 21 2011 9 excellent
product-maker robyshot Oct 19 2011 9 excellent
product-maker schnelle Oct 19 2011 9 excellent
product-maker mityukov Oct 19 2011 9 excellent
product-maker 67GTA Oct 18 2011 9 excellent
product-maker unikum111 Oct 18 2011 9 excellent
product-maker FraMari Oct 18 2011 9 excellent
product-maker reves121 Oct 18 2011 9 excellent
product-maker e1nste1n Oct 17 2011 9 excellent
product-maker joetux Oct 17 2011 9 excellent
product-maker Count: 4 Rating: 5.0

Landis

Aug 27 2015

agq54

Jul 23 2014

UnderTheGun

May 01 2014

Broker

Feb 06 2014

migue

Jul 31 2013

FraMari

Feb 19 2013

brdn25

Feb 09 2013

mandyzhou

Jan 15 2013

LuizRios

Nov 25 2012

carlcarl

Nov 04 2012

nekoprog

Sep 12 2012

juank202

Aug 31 2012

rthomsen

Aug 31 2012

Grobelard

Aug 30 2012

ArthurTaborda

Jul 04 2012

miawallace

Jul 04 2012

mblondee

May 09 2012

snakebite

Apr 12 2012

thetall82

Mar 12 2012

jmiahman

Mar 09 2012

edio

Nov 26 2011

pvt14

Nov 10 2011

egatop

Nov 07 2011

soee

Nov 06 2011

Mte90

Oct 26 2011

socialinux

Oct 24 2011

TommyCZ

Oct 23 2011

janet

Oct 22 2011

Sparrowmelody

Oct 21 2011

kdekda

Oct 19 2011

marcotangaro

Oct 19 2011

tetris4

Oct 18 2011
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
1.6
updated Jul 31 2013
added Oct 17 2011
downloads 24h
0
page views 24h 5