D19989: Unmounting busy device doesn't tell who is blocking

David Hallas noreply at phabricator.kde.org
Sat Mar 23 12:21:45 GMT 2019


hallas added a comment.


  In D19989#436614 <https://phabricator.kde.org/D19989#436614>, @davidedmundson wrote:
  
  > > As long as it'd be an optional dependency, it should be fine, as I don't see it forbidden here: https://community.kde.org/Frameworks/Policies
  >
  > We can't. 
  >  Even ignoring the super confusing dependency loop trying to build frameworks and plasma at best this will break when one of us gets to Qt6 first.
  >
  > But, there's good news:
  >
  > This has come up a few times. Kdevelop has a plasma dep because of this same goal, and I want to get rid of that.
  >  I've been meaning for ages to make a class in KF5::CoreAddon that is a super super minimal process list, listing running processes and getting a command line for them.
  >
  > Effectively we just need to copy the files: https://github.com/KDAB/GammaRay/blob/master/launcher/ui/processlist.h (with the two backends) which are LGPL and currently copied about in a bunch of projects already.
  >
  > This is yet another motivation.
  
  
  @davidedmundson - Thanks for the info!
  
  So I am thinking to do the following:
  
  1. Create a simple `ProcessList` class as @davidedmundson suggest in KF5::CoreAddon
  2. Move the `queryBlockingApps` functionality to Solid, but use the `ProcessList` implementation from KF5::CoreAddon (implement the functionality like @broulik suggests)
  3. Use the new functionality from Solid in Dolphin to show a nice end-user message
  4. Party?
  
  Does that make sense?
  
  Maybe after all this is done, use the general functionality from Solid in the Device Notifier as well? Does anyone know of other places that has the `lsof` functionality duplicated?

REPOSITORY
  R318 Dolphin

REVISION DETAIL
  https://phabricator.kde.org/D19989

To: hallas, #dolphin, elvisangelaccio, ngraham, broulik
Cc: davidedmundson, kfm-devel, alexde, feverfew, meven, spoorun, navarromorales, firef, andrebarros, emmanuelp, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20190323/ed92c7af/attachment.htm>


More information about the kfm-devel mailing list