Giter Site home page Giter Site logo

Comments (6)

 avatar commented on September 24, 2024 1

Sure, I'll look at this next when I get some time.

If we had devices on the desktop then drag to trash/eject would be nicer 🙂

from filer.

probonopd avatar probonopd commented on September 24, 2024
  • File > Eject: Whenever one or more folders is/are selected, we may want to check whether something is mounted at that location(s), and add a "Eject" menu item, with an action similar to libfm-qt/placesview.cpp: op->unmount(mount);

  • Context menu > Eject in place of "Move to Trash": Whenever the right-click context menu is opened on one or more folders, we may might want to check whether something is mounted at that location(s), and change the context menu accordingly, showing "Eject" rather than "Move to Trash", with an action similar to libfm-qt/placesview.cpp: op->unmount(mount);

What shall happen if a combination of files, folders and mountpoints is selected? (What happens on a Mac in this case)?

from filer.

probonopd avatar probonopd commented on September 24, 2024

What shall happen if a combination of files, folders and mountpoints is selected? (What happens on a Mac in this case)?

Ejecting

  • If one removable device is selected, the context menu and the File menu have an item Eject "<Name of volume>"
  • If two or more removable devices are selected, the context menu has an item Eject; for consistency I think the File menu should also have an item Eject (on the Mac, the File menu has nothing)
  • If one or more removable devices plus at least one other object are selected, then neither the context menu nor the File menu have any notion of Eject

from filer.

probonopd avatar probonopd commented on September 24, 2024

This feature has been imlpemented upstream now:
Someone needs to analyze and backport the relevant portions of https://github.com/lxqt/libfm-qt/pull/660/files.

@moochris would you be interested in having a go at this? I think this is especially useful in conjunction with Spatial mode, because there you have no other way of ejecting/unmounting

from filer.

probonopd avatar probonopd commented on September 24, 2024

If we had devices on the desktop

This just takes changing a few lines (not much effort) as explained in #9:

But what we need is to have both devices and files/folders...

from filer.

probonopd avatar probonopd commented on September 24, 2024

Turns out we can solve this by a simple text file:

helloSystem/ISO@8f4b2f0#diff-febf34f96aa46897233532c13ceeaef78597b401b13affefd08399013e8934d0

from filer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.