Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spring-loaded folders #72

Open
probonopd opened this issue Apr 1, 2021 · 5 comments
Open

Spring-loaded folders #72

probonopd opened this issue Apr 1, 2021 · 5 comments
Labels
enhancement New feature or request help wanted Extra attention is needed qt Qt expertise needed

Comments

@probonopd
Copy link
Member

probonopd commented Apr 1, 2021

Spring-loaded folders would greatly improve productivity, especially in conjunction with Spatial Mode.

Apple held patents which since have expired.

image

See below for an implementation that would need to be ported to Filer.

@probonopd probonopd added the enhancement New feature or request label Apr 1, 2021
@probonopd
Copy link
Member Author

https://github.com/mate-desktop/caja/pull/110/files contains a patch for Caja. It's not Qt but maybe useful anyway for looking at.

@probonopd
Copy link
Member Author

probonopd commented Jun 27, 2021

https://www.youtube.com/watch?v=QIRGoOzbp88

KDE Plasma has it, "kinda", apparently not in the Dolphin file manager but in the "pseudo file manager" on the Plasma desktop.

In the Dolphin file manager, there are also references of it, called ExpandableFolders:
https://github.com/KDE/dolphin/search?q=expandableFolders

Reference:
https://forum.kde.org/viewtopic.php?f=223&t=165329

@probonopd
Copy link
Member Author

probonopd commented Jun 27, 2021

This is the basic patch by @ssj-gz that was supposed to enable the feature in Dolphin:

KDE/dolphin@b94777f

Not sure whether we can use anything from that implementation but possibly we can at least learn something.

/**
 * Grants auto expanding functionality to the provided item view.
 * Qt has its own auto expand mechanism, but this works only
 * for QTreeView. Auto expanding of folders is turned on
 * per default.
 *
 * If the provided view is an instance of the class QTreeView, the
 * expanded of the directory is automatically done on hover. Otherwise
 * the enterDir() signal is emitted and the caller needs to ensure that
 * the requested directory is entered.
 *
 * The FolderExpander becomes a child of the provided view.
 */

@probonopd probonopd added help wanted Extra attention is needed qt Qt expertise needed labels Jun 27, 2021
@probonopd probonopd pinned this issue Nov 27, 2022
probonopd added a commit that referenced this issue Dec 1, 2022
#72
TODO: Implement closing the windows opened when they are no longer needed
@louies0623
Copy link

#164 (comment)
When using this function, it will be terminated by the right-click menu.

@probonopd
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed qt Qt expertise needed
Projects
None yet
Development

No branches or pull requests

2 participants