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

sylvainsjc

7 years ago

Opensuse 12.1 KDE 4.8.3 on desktop - keybord FR

I see the need to use + or = to add and - to remove but it does not work.

I succeded with Dolphin but I am unable to remove it now from favorites: (

An idea ?

Report

C

glad

7 years ago

You can also add and remove favorites with the mouse. Move the mouse cursor to the right side of the menu item. If the item is not yet in the favorites, an "Add favorite" icon will appear. Clicking on it adds the item to the favorites. If the item is already in the favorites (this also holds for any item in the Favorites menu itself), a "Remove favorite" icon will appear (in the Favorites menu also a "Move favorite up" and "Move favorite down" icon appear if there is more than one favorite). Clicking it removes the item from the Favorites list.

In any distro that doesn't mess with KDE (such as Arch Linux) the menu itself is focused when you open it, so you are also able to use the +, = and - keys. You can see that the menu is focused when the search field is focused. If, when you open the menu, the search field is not focused, then focus it by clicking in it. Then you will be able to use the keys to browse the menus, add and remove favorites. Also don't forget to submit a bug report to your distro that the popups of the plasmoids should receive focus each time they are shown.

Report

sylvainsjc

7 years ago

It's Ok. because I use a 24" screen, I hadn't seen that there were options on the right side of each application and I was looking rather to slide or use the right click

Thank you, it's a great job

Report

vishal8492

7 years ago

When clicked outside it should autoclose like Lancelot and Kickoff.It does look better than Lancelot.One thing that's missing is search function.You should apply same logic Lancelot developer applied.Even kick off uses same method now.You can contact Lancelot developer.

Report

C

glad

7 years ago

It does autoclose like Lancelot and Kickoff. Well, on my machine it does. There is a search, but it only searches the list of installed applications. The search in Lancelot and Kickoff uses KRunner and I have no idea how to use KRunner in a QML-only plasmoid. If you know how to do it, then please tell me, I will be very grateful.

Report

vishal8492

7 years ago

Aah not familiar with QML at the moment.My course is more on C,C++,JAVA related.Done some QT developing but still no QML.Lancelot developer might help you.

Report

vishal8492

7 years ago

Aah not familiar with QML at the moment.My course is more on C,C++,JAVA related.Done some QT developing but still no QML.Lancelot developer might help you.Can you share source code for this app?

Report

C

glad

7 years ago

The source code of this plasmoid can be found after installation in ~/.kde/share/apps/plasma/plasmoids/appmenu-qml (instead of .kde this can be .kde4 on your system). Alternatively, you can simply download and unzip the .plasmoid file (in an empty directory if you want to keep your system clean). Lancelot and Kickoff are written in C++, so looking at their code does not help.

Report

enoop

7 years ago

I'm on kde 4.8.2 and no text shows up in the search bar, the search works fine just no text.

Report

C

glad

7 years ago

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

9

janet

7 years ago

Have just installed newest 0.7 version on my notebook.

1. Would it be possible to make the bottom buttons and the icons on them larger? In 0.6 the buttons were not so tight fit around the text which a) looked smoother and b) the buttons were much easier to click and c) the icons on the buttons were larger. The icons on the buttons, might it be possible that they at least follow the small icons settings from systemsettings or maybe use the same size as the menu icons?

2. The menu seems to be slower than 0.6? Here it takes about one to two seconds until a submenu opens after click.

3. I now use the menu with three pane view - great!!

Report

C

glad

7 years ago

1. As far as I can see, the icons in the bottom buttons still have the same size. In the implementation of IconLoader (which I copied from KDE Plasma 4.8.1) the icon size is set to theme.smallIconSize which I expect to follow the settings in systemsettings. The buttons were never set to be stretching to the menu width. It was just a coincidence that the buttons were wide enough to give that impression. The reason why the implementation of the buttons changed is because someone wanted a single-column setup and in this setup the old buttons were much to wide. I have no motivation to change the implementation of those buttons again. Patches that don't break things and that are maintainable are welcome.
2. Fixed.
3. Thanks.

Report

9

janet

7 years ago

Thanks for the new version - you really do a great job :). Alas the icons on the buttons do not follow the small icons settings from systemsettings. I have set them in systemsettings to 22 on one computer and to 32 on another and on both your menu now shows the button icons in size 16 which makes the buttons awfully hard to click for me. In 0.6 the button icons had the same size as the menu icons (in my case 32), that was easier to see and the buttons therefore were bigger and easier to click (I cannot always click that exact). I don't know why they don't respect the small icons settings, but they don't :(.

BTW: Which icon do you now use for the submenu arrows? The icon changed but I didn't change anything in the icon theme.

Report

C

glad

7 years ago

Thanks for your support!

In version 0.7.6 there is now an option to set the size of the icons on the buttons at the bottom. BTW, I am not a precise clicker either.

The submenu arrows are now taken from the plasma theme. They are defined in $KDEDIR/apps/desktoptheme/$YOUR_THEME/widget/arrows.svgz (where $KDEDIR is /usr/share/kde4/ or /usr/share or ~/.kde/share or ~/.kde4/share and where $YOUR_THEME is the name of the Plasma theme you are using).

Report

9

janet

7 years ago

And maybe you could stretch the bottom buttons to the menu width as it was in 0.6? Looked better IMHO...

Report

smithark

7 years ago

nice menu. its simple and attractive. but there is something i noticed. dont know whether its a bug or not. after i type the keywords, i select the required from the results and the menu closes automatically. but when i open the menu later i find its still showing the previous search result instead of showing the favorites and main menu. is this the way it works?
p.s: the same thing happens if i click through the sub-menus instead of typing the key words

Report

9

janet

7 years ago

Feature :). For me it is a very nice feature that the menu remembers where I was before it closed. But maybe this should be optional?

Report

C

glad

7 years ago

This is indeed a feature (it helps, of course, that I had to do nothing to have this feature ;-) ). Now there is an option to reset the menu to its original state (and for this I have to do some effort).

Report

9

janet

7 years ago

I have a strange problem with the version 0.6: I cannot open some submenus.

I cannot open e.g. Wine - Applications - Utilities and all other submenus in Wine - Applications. I cannot open Windows-Applications - Applications - Graphics and all other submenus in Windows-Applications - Applications. It is always the third submenu in the path that won't open anymore.

Report

C

glad

7 years ago

That is a limitation caused by the fact that arrays of lists cannot be used in bindings in QML (well, it didn't work when I tried), so I have to define a variable for each submenu. In version 0.7.4 the number of nested submenus has increased to 4 (so 5 levels in total). I hope that this is now enough. If not, do yourself a favor and simplify your menu structure.

Report

9

janet

7 years ago

Ok, good to know 0.7 can handle 2 levels more (open 4 submenus instead of only 2 and start the app as level 5 - that is the number needed by crossover, wine and the Debian menu). I have no influence on the number of those submenus for wine, crossover and the Debian menu, they are created in those structures automatically. BTW: I love submenus, they make organizing and finding things a lot easier - the more, the better IMHO :).

Report

9

janet

7 years ago

Is there a way to add applications to the desktop or panel (context menu, drag and drop from menu)?

Report

C

glad

7 years ago

No. If you know how to do this in QML, then I would be very happy to learn it.

Report

9

janet

7 years ago

Maybe this is fixed in version 0.7.x, I cannot test it by now because I'm stuck with KDE 4.7: the icon of the App Launcher remains the same size (max 48x48?) even in a huge panel. All other icons/widgets adapt to the size of the panel just this one does not. My panel looks a bit odd with that "tiny" menu button. Can you please fix that in case it isn't done yet?

Report

C

glad

7 years ago

In version 0.7.x the launcher icon adapts its size to the panel it is in. I haven't tested anymore with 0.6.

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 Base: 4 x 5.0 Ratings
Be the first to comment
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 MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.6
updated Jul 31 2013
added Oct 17 2011
downloads 24h
0
mediaviews 24h 0
pageviews 24h 34