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

janet

7 years ago

LOL, finally KDE 4.7 has hit Debian Sid and I just updated and was eager to finally install your menu on my main system too - and that was exactly the day you switched to KDE 4.8 - grrr ;). So I have to wait a little longer...

Now that the menu vanishes when losing focus will there be an additional sticky button to keep it open (like the old tasty menu for KDE 3 had or like yakuake has)?

Report

C

glad

7 years ago

Send me your email address in a private message and I will send you version 0.6 of this plasmoid.

In version 0.7 the implementation has changed dramatically and the plasmoid is now a Plasma/PopupApplet, so the vanishing behavior is the one defined in Plasma for Plasma/PopupApplet. Version 0.6 was implemented by having an icon which showed a PlasmaCore.Dialog when clicked (in that version the popup also disappears, but you can easily change that behavior by removing the line "setAttribute(Qt.WA_X11NetWmWindowTypeMenu, true)" in contents/ui/main.qml). Since this is quite a different implementation than in the current version, switching between the two cannot be done using a simple configuration option.

It would be nice to know in which use-case you need a menu that stays continually open. In version 0.7 the menu remembers where the user was in the menu when it was last open and it even remembers the search if the user was using search. So if the menu vanishes, you only have to reopen it in order to restore it in the exact same state as when it was previously open.

Report

Geidrow

7 years ago

Which theme was used on the screenshot?

Report

C

glad

7 years ago

Forgot to say that the icon theme is Buuf Deuce (http://kde-look.org/content/show.php/Buuf+Deuce+KDE?content=76340) and the font is Aurulent Sans (http://www.fontsquirrel.com/fonts/Aurulent-Sans).

Report

C

glad

7 years ago

I use the default Air theme in KDE Plasma 4.7. It looks good on the following wallpaper: http://www.coolwallpapers.org/desktop/35091/fantasy-angel-wallpaper or http://www.wallcoo.net/cartoon/2560x1600_tang_yuehui_cg_character_artworks/[Wallcoo]_CG_Character_wallpaper_tang_yuehui_18.html

Report

Geidrow

7 years ago

Thank you for your reply.
wallcoo.net is a depository of a really great wallpapers. I'll recommend that site to my friends.

Report

janet

7 years ago

IMHO it would look better if either the menu wouldn't be that much squeezed to the left screen border or the icons need a little space at the left side, just like the space at the right side of the scrollbar. So that the text "Favorites" and the icons are left aligned with the begin of the search box.

Report

C

glad

7 years ago

I added a margin in 0.5.4. I hope it is large enough.

Report

janet

7 years ago

How can I make the icons bigger? Like at least 32x32 or even better 48x48 or 64x64?

The menu also is very small. But the wish to resize it has been mentioned before.

Is it intended that it does not sit completely above the panel? The three bottom buttons are a little covered by the panel.

And it shows a lot of actions/applications that are hidden in the default menu. This either should be configurable or it should follow the settings for the k-menu.

And how can I sort the favorites?

But I like it and can't wait to see it getting better and better :)

Report

C

glad

7 years ago

Changing the icon size will be implemented in a future version.

As mentioned before, I do not know a way to resize a PlasmaCore.Dialog, so any hints or patches are welcome. I don't know either if a Plasma/PopupApplet (which will be used in KDE 4.8.x instead) is resizable (any hints or patches for that are welcome as well).

On my computer the three buttons are not covered by the panel. I added a little margin, I hope it is enough to solve your problem.

Where is it specified that those items should be hidden? Does the "apps" dataengine know about this setting. If not, then we have again another limitation of Plasma which reduces the usability of this plasmoid (see TODO list above to see the other limitations).

You remove the wrongly ordered items (from the bottom up) and then add them again in the correct order. Sorry. I will add up and down buttons in a future version (I am not sure that ListView supports reordering by dragging, and currently dragging the menus scrolls those menus and I don't want a different behavior only in the Favorites list).

Thank you for liking this plasmoid despite its limitations caused mostly by limitations in Plasma.

Report

janet

7 years ago

> Where is it specified that those items should be hidden?

Is it NoDisplay=true in the application's desktop-file?

Report

C

glad

7 years ago

Added support for this in version 0.7.5.

Report

C

glad

7 years ago

For clarity, the last but one paragraph is an answer to "How can I sort the favorites?"

Report

shepherd

7 years ago

I have been waiting for something like this since the release of KDE 4.

I don't know what bugs have been noticed, and I don't have time to read all the comments so I'll just post my thoughts, and bugs!

bug 1) if you scroll too fast upwards or downwards the menu flys away! It comes back, but it is annoying for people like me that have a smooth scrolling wheel instead of a bumpy one ( it scrolls much more! )

bug 2) If you open the menu, and click elsewhere, the menu doesn't close. But it is hidden by windows. It leads to the user thinking the menu is closed and clicking the button again, but that actually closes the menu that was open behind the windows! so we must click again to open it ( Am I lazy or what? can't click twice :D ) I think it is pretty standard that it closes when clicking anything other than the menu though.

bug 3) Focus isn't placed into the text typing field in the plasmoid, it stays whereever it was before opening the menu

Notice 1) an option to search automatically would be nice.

notice 2) resize would be nice ( saw this one previously mentioned )

notice 3) I like dragging the menus! this is one sexy plasmoid :) and I am on kde 4.7.2 with Fedora 15.

Report

C

glad

7 years ago

bug 1) solved in 0.5.4 (you have to set the option in the configuration dialog)
bug 2) this is a known bug caused by the fact that setting the ServiceType of the plasmoid to Plasma/PopupApplet doesn't work in KDE 4.7.x and therefore I have to use a buggy workaround. According to user tittiatcoke Plasma/PopupApplet works in the git version of KDE, so the bug will be solved in KDE 4.8.x (if it doesn't break again meanwhile).
bug 3) I don't know the solution to this one. I am unable to set the focus to the plasmoid (this bug seems to remain in the git version of KDE using Plasma/PopupApplet) and within the plasmoid I am unable to set the focus to the search field because setting the focus of a PlasmaWidgets.LineEdit is not implemented by KDE.
notice 1) implemented (but it is slow because of another limitation of Plasma QML)
notice 2) will be solved in KDE 4.8.x with the advent of a working Plasma/PopupApplet
notice 3) thanks!

Report

shepherd

7 years ago

I also can't seem to enter a dash / hypen into the search field at all. For example, google-chrome.

Report

C

glad

7 years ago

Implemented, but the dash cannot be the first character because minus (dash) is used to remove an item from the favorites list.

Report

tittiatcoke

7 years ago

Hi,

This is a great plasmoid and works good. Besides the already indicated "bugs", I also noticed that I can move the content inside the window with the mouse. Is this on purpose ? It could be due to my version of KDE (latest git) and Qt 4.8.

I tried to change the ServiceType to PopupApplet, but this makes the plasmoid not available. So I guess it would require a different approach

Thanks and keep up the good work.

Regards

Raymond

Report

C

glad

7 years ago

Not sure what you mean, but if you mean that you can change the columns just by dragging to the left or the right, then yes, this is on purpose.

The fact that changing the service type to Plasma/PopupApplet doesn't work is a bug, because this feature is described in: http://techbase.kde.org/Development/Tutorials/Plasma/QML/API#Popup_Applet. So you're telling me that the bug still isn't solved in KDE git :-(

Report

tittiatcoke

7 years ago

I have changed successfully the desktop file to have also the PopupApplet part in there. This works, but the plasmoid still behaves the same way.

I checked out the code and found in the main.qml script the line : "this file must be replaced by MenuWidget.qml when setting this as a Plasma/PopupApplet in metadata.desktop finally works". Does this mean that I have to copy MenuWidget.qml to main.qml now ?

Thanks

Report

tittiatcoke

7 years ago

I tried a couple of things, but it seems that the PopupApplet functionality for QML is still broken in KDE 4.8git. I will try to follow up with the KDE developers.

Thanks

Report

tittiatcoke

7 years ago

I noticed now, that I used the wrong definition for the PopupApplet. I have changed it now, but will test it later and I will give you an update.

Thanks

Raymond

Report

NetCutter

7 years ago

AppMenu is one great plasmoid. The only thing I miss is that I'm not able to resize it.

Is this planned as a new feature in future version?

Report

C

glad

7 years ago

I miss that too! If you know how to make PlasmaCore.Dialog resizable in QML, then I would be very very grateful to you.

Report

kdekda

7 years ago

well done!

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 4