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

Gregor Mi codestruct at posteo.org
Sun Dec 14 09:53:37 GMT 2014



> On Dec. 13, 2014, 8:50 p.m., Emmanuel Pescosta wrote:
> > Thanks for the patch!
> > 
> > I think we shouldn't add a context menu for opening other disk usage tools in Dolphin. 
> > 
> > We have awesome application launchers which do their job really well, just type "disk usage" in e.g. Homerun Kicker or KRunner and you will get KDiskFree and Filelight, so no need to implement it in Dolphin itself.
> > There are some other problems with this patch as well, like remote locations in disk usage tools (we have free disk space information for smb locations since KIO 5), maintenance, ...
> > 
> > Sorry, I hope you will understand it
> 
> Gregor Mi wrote:
>     Hi, thanks for the feedback. I agree with you that the application launchers are great; I use them myself a lot. I tried the "disk usage" keywords and the two applications appear. I also understand that adding a feature results in more maintenance. On the other hand, with my patch (though technically currently not optimal) the goal is to reduce the amount of keywords a new user would have to come up with and type down to achieve this particular goal. Currently, I see dolphin - the primary file manager - as good candidate for a starting point to give users a hint which applications can help to investigate disk space issues, without having to resort to google. Do you have another idea? I am not sure if you meant to reject the feature per se or just the patch in it's current state. I di
 dn't know about the free disk space info for smb locations, cool thing. E.g. one could disable the menu items that will not work with remote locations?

What about having a "Disk usage" menu item with the initially mentioned subitems in the Tools menu instead?


- Gregor


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


On Dec. 13, 2014, 6:46 p.m., Gregor Mi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/121478/
> -----------------------------------------------------------
> 
> (Updated Dec. 13, 2014, 6:46 p.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/statusbar/spaceinfotoolsmenu.cpp PRE-CREATION 
>   dolphin/src/statusbar/statusbarspaceinfo.h 5d571beba9b936c52dd3279e370c39a1bfd50827 
>   dolphin/src/statusbar/statusbarspaceinfo.cpp 046cbbb23072648aece5677defb1b9074baa9482 
>   dolphin/src/statusbar/spaceinfotoolsmenu.h PRE-CREATION 
>   dolphin/src/statusbar/spaceinfoexternaltools.h PRE-CREATION 
>   dolphin/src/CMakeLists.txt 8e13e97fe10674f16fd65ad808f151b09e6978a2 
> 
> 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/20141214/3f254d1b/attachment.htm>


More information about the kfm-devel mailing list