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

"Reveal in Finder" #6488

Open
baconpaul opened this issue Aug 6, 2022 · 10 comments
Open

"Reveal in Finder" #6488

baconpaul opened this issue Aug 6, 2022 · 10 comments
Labels
Feature Request New feature request Have A Plan The issue has a description of how we will solve it, just we haven't done it yet UX Issues related to user experience (UX) - mouse, touch, keyboard, MIDI inputs, etc.
Milestone

Comments

@baconpaul
Copy link
Collaborator

A problem I have a lot is

I have a patch which shows a feature or a bug
I want to post it to discord
so then I do menu / open user data fodler
then move that window and look at the category
then go back to that window and look in the category and find the patch

macOS uses 'reveal in finder' as a gesture for this in most apps. Surge should do that too (and either leave it out or have appropriate equivalent on other oses)

@baconpaul baconpaul added the Feature Request New feature request label Aug 6, 2022
@baconpaul baconpaul added this to the Surge XT 1.1.n milestone Aug 6, 2022
@baconpaul
Copy link
Collaborator Author

open -R ~/Documents/Surge\ XT/Patches/Bacon\ Paul/Like\ a\ Turing.fxp 

does it

@baconpaul
Copy link
Collaborator Author

The windows equivalent is

explorer /select,c:\path\to\something

apparently

@mkruselj mkruselj added the UX Issues related to user experience (UX) - mouse, touch, keyboard, MIDI inputs, etc. label Aug 7, 2022
@mkruselj
Copy link
Collaborator

mkruselj commented Aug 7, 2022

This makes sense for wavetables and FX/LFO presets as well.

@baconpaul
Copy link
Collaborator Author

So what I'll do is add a Surge::GUI::AddRevealInFinderMenu(juce::PopupMenu &, const std::string &what, const fs::path &) type API which is a no-op on lin, on mac adds a "Reveal " + what + " in finder" menu item which does the open and on win adds a "Reveal " + what + " in explorer" menu item which does the above. Then we can sprinkle it wherever we want!

@baconpaul baconpaul added the Have A Plan The issue has a description of how we will solve it, just we haven't done it yet label Aug 7, 2022
@mkruselj
Copy link
Collaborator

mkruselj commented Aug 7, 2022

IMHO the "what" is not needed. Entries could just be:

Reveal in Finder...
Show in Explorer...

Ellipsis important.

I think the wording is usually different on Win (it's not reveal). But not at desktop until tomorrow so can't check.

@baconpaul
Copy link
Collaborator Author

Gotcha - fine with me!

baconpaul added a commit to baconpaul/surge that referenced this issue Aug 9, 2022
Patches reveal in finder / open in explorer on the oscillator
menu. Wavetables and Presets still require a bit of work.

Addresses surge-synthesizer#6488
@baconpaul
Copy link
Collaborator Author

Function is in place and its there for patches. Others are annoyingly annoying so I didn't do them tonight. but i was tired of not having it for patches. And it's great for patches! But will leave this issue open for the other file types.

baconpaul added a commit that referenced this issue Aug 9, 2022
Patches reveal in finder / open in explorer on the oscillator
menu. Wavetables and Presets still require a bit of work.

Addresses #6488
@baconpaul
Copy link
Collaborator Author

LFO presets don't remember the loaded preset, so it is really hard to do those.
FX presets do, but remember it in the wrong place, so it is really hard to do those also. May be possible.
Wavetables I can do I think, if we want to.
My gut is do patches in 1.1.1 and push the rest to 1.1.x if ever.

@mkruselj
Copy link
Collaborator

Sounds good!

@luzpaz
Copy link
Contributor

luzpaz commented Sep 23, 2023

What's left to do here ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New feature request Have A Plan The issue has a description of how we will solve it, just we haven't done it yet UX Issues related to user experience (UX) - mouse, touch, keyboard, MIDI inputs, etc.
Projects
None yet
Development

No branches or pull requests

3 participants