[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/kicker
From:       Fred SchÃĪttgen <kde.sch () ttgen ! net>
Date:       2005-06-27 0:53:04
Message-ID: 1119833584.513185.4451.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 429249 by schaettgen:

The Quicklauncher can now display the most popular applications,
similar to the Most Recently Used/Most Often Used section of the kmenu.
The kmenu emits a DCOP signal when an application is started.
The kmenu and the quick launcher both wait for this signal to
update their usage stats. If a launched application is present
in the quick launcher, it will blink a few times now to tell the
user that he could have started the program with fewer mouse clicks.

The dynamic mode of the quick launcher works not exactly like 
the MRU/MOU-list of the kmenu. Instead it tries to take both
short term and long term usage into account. The weighting between
short term and long term usage can be selected in the new 
configuration dialog, which also replaces several existing menu
options. 
The exact meaning of this slider is a bit hard to communicate, but
on the other hand it allows for a compromise between the two extreme
strategies MRU and MOU. The best default value has yet to be found,
but I guess that something around 75% should be fine in the long run - 
at first it's always a bit jumpy though, because there are no long
term usage statistics - unless we not only provide a list of default
applications, but also some guessed statistics for them.

Applications appearing dynamically in the quick launcher can be pinned
down, so that they stay there no matter what. Applications inserted
manually will also be in that mode initially. 
The dynamic mode is disabled by default.

The quick launcher has been converted to use the new configuration 
framework and the kmenu/service menu has been slightly refactored.
The latter can keep the bug count constant at best, but it helps 
keeping Aaron happy ;)

BUG: 46639



 M  +4 -2      applets/launcher/Makefile.am  
 A             applets/launcher/configdlg.cpp   [License: X11 (BSD like)]
 A             applets/launcher/configdlg.h   [License: X11 (BSD like)]
 A             applets/launcher/configdlgbase.ui  
 A             applets/launcher/launcherapplet.kcfg  
 A             applets/launcher/popularity.cpp   [License: X11 (BSD like)]
 A             applets/launcher/popularity.h   [License: X11 (BSD like)]
 A             applets/launcher/prefs.kcfgc  
 M  +4 -2      applets/launcher/quickaddappsmenu.cpp  
 M  +104 -33   applets/launcher/quickbutton.cpp  
 M  +68 -46    applets/launcher/quickbutton.h  
 M  +877 -433  applets/launcher/quicklauncher.cpp  
 M  +91 -61    applets/launcher/quicklauncher.h  
 M  +1 -1      kicker/ui/Makefile.am  
 M  +160 -0    kicker/ui/k_mnu.cpp  
 M  +12 -3     kicker/ui/k_mnu.h  
 M  +42 -18    kicker/ui/recentapps.cpp  
 M  +6 -2      kicker/ui/recentapps.h  
 M  +98 -190   kicker/ui/service_mnu.cpp  
 M  +12 -10    kicker/ui/service_mnu.h  


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic