Review Request 121478: dolphin: add menu to SpaceInfo widget for detailled disk usage information

Gregor Mi codestruct at posteo.org
Fri Jan 2 23:18:35 GMT 2015



> On Dec. 18, 2014, 9:10 p.m., Gregor Mi wrote:
> > dolphin/src/statusbar/spaceinfotoolsmenu.cpp, lines 45-49
> > <https://git.reviewboard.kde.org/r/121478/diff/2/?file=333839#file333839line45>
> >
> >     Eike, you said KService calls are fast which is surely true in release mode. With my current dev setup I get this output printed to the console:
> >     
> >     ```
> >     Couldn't start kded5 from org.kde.kded5.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kded5 was not provided by any .service files") , falling back to running kbuildsycoca5
> >     kf5.kservice.sycoca: Trying to open ksycoca from "/home/gregor/.cache5/ksycoca5"
> >     ```
> >     
> >     and the opening of the menu takes about 3 seconds. I wonder if this is normal. I am developing under KDE 4.14.3.

My runtime setup was missing a "eval `dbus-launch`". Now the console error message is gone and menu opens instantly.


- Gregor


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/121478/#review72269
-----------------------------------------------------------


On Dec. 19, 2014, 9:34 a.m., Gregor Mi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/121478/
> -----------------------------------------------------------
> 
> (Updated Dec. 19, 2014, 9:34 a.m.)
> 
> 
> Review request for Dolphin.
> 
> 
> Repository: kde-baseapps
> 
> 
> Description
> -------
> 
> Adds a menu when left-clicked on the SpaceInfo widget in the status bar with the following entries:
> 
> (1) KDiskFree
> (2) Filelight
> (3) Filelight device
> (4) Filelight location
> 
> see screenshot: http://wstaw.org/m/2014/12/13/plasma-desktopqO2157.png
> 
> Details on the menu entries:
> 
> (1) starts KDiskFree (useful tool, hard to find when unknown by new user)
> (2) starts Filelight without parameters
> (3) starts Filelight with current mount point
> (4) starts Filelight with current location
> 
> If KDiskFree or Filelight is not installed the corresponding menu action is disabled with a hint "[Not installed]".
> 
> 
> Diffs
> -----
> 
>   dolphin/src/CMakeLists.txt f132e2844d54d08fa99b6c5ef8c5da6dfdb07514 
>   dolphin/src/statusbar/spaceinfoexternaltools.h PRE-CREATION 
>   dolphin/src/statusbar/spaceinfotoolsmenu.h PRE-CREATION 
>   dolphin/src/statusbar/spaceinfotoolsmenu.cpp PRE-CREATION 
>   dolphin/src/statusbar/statusbarspaceinfo.h 5d571beba9b936c52dd3279e370c39a1bfd50827 
>   dolphin/src/statusbar/statusbarspaceinfo.cpp 046cbbb23072648aece5677defb1b9074baa9482 
> 
> Diff: https://git.reviewboard.kde.org/r/121478/diff/
> 
> 
> Testing
> -------
> 
> Clicked all the menu entries and they work as described.
> 
> 
> Thanks,
> 
> Gregor Mi
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20150102/8c192609/attachment.htm>


More information about the kfm-devel mailing list