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 not working if Finder is closed #10041

Closed
normalser opened this issue Aug 2, 2016 · 10 comments
Closed

Reveal in Finder not working if Finder is closed #10041

normalser opened this issue Aug 2, 2016 · 10 comments
Assignees
Labels
electron Issues and items related to Electron macos Issues with VS Code on MAC/OS X *out-of-scope Posted issue is not in scope of VS Code upstream Issue identified as 'upstream' component related (exists outside of VS Code) workbench-os-integration Native OS integration issues

Comments

@normalser
Copy link

  • VSCode Version: 1.4.0-insiders
  • OS Version: OSX 10.11.6 (15G31)

Steps to Reproduce:

  1. Quit Finder
    image
  2. Use Command Palette and select Reveal Active File in Finder - problem - nothing will happen
  3. Use CMD+K R combination - problem - status bar will show:
    image

PS. Sublime can handle that case

@kieferrm
Copy link
Member

kieferrm commented Aug 2, 2016

@wallverb the command is ⌘K R. It's correct that ⌘K ⌘R is not a command.

@kieferrm kieferrm added the macos Issues with VS Code on MAC/OS X label Aug 2, 2016
@normalser
Copy link
Author

Right, sorry, point #3 is invalid then, CMD+K R in this case does nothing (similar to Command Palette Reveal Active File in Finder).Thanks

@bpasero bpasero added bug Issue identified by VS Code Team member as probable bug upstream Issue identified as 'upstream' component related (exists outside of VS Code) labels Aug 6, 2016
@bpasero bpasero added this to the Backlog milestone Aug 6, 2016
@bpasero
Copy link
Member

bpasero commented Aug 6, 2016

An electron issue, we use their method to show an item in the finder.

@bpasero
Copy link
Member

bpasero commented Sep 18, 2016

@wallverb could you give our insider release a try to see if this issue is fixed?
You can give our preview releases a try from: http://code.visualstudio.com/Download#insiders

@normalser
Copy link
Author

@bpasero Still the same issue with insiders @ 0619ede - although Atom also does not handle this case (only Sublime does) - so must be Electron issue

@bpasero
Copy link
Member

bpasero commented Sep 18, 2016

Got it. I suggest to let Electron know with an issue and link it here.

@bpasero bpasero added workbench file-explorer Explorer widget issues and removed workbench bug Issue identified by VS Code Team member as probable bug labels Apr 7, 2017
@wangweixuan
Copy link

Electron API showItemInFolder in fact returns a boolean. But we don't use that result(windowService.ts), so when the action fails you won't get any feedback.
I think we should handle its result just like what we do for openExternal, so that me can at least show a failure message in this case.

In addition, quitting Finder isn't recommended. I tried to do this and then apply 'Reveal in Finder' at an app in the Dock, but nothing happened as well.

@bpasero bpasero added help wanted Issues identified as good community contribution opportunities and removed upstream Issue identified as 'upstream' component related (exists outside of VS Code) labels Jun 17, 2017
@bpasero
Copy link
Member

bpasero commented Jun 17, 2017

That seems possible, PR welcome.

@bpasero bpasero added the good first issue Issues identified as good for first-time contributors label Jun 17, 2017
@trivikr
Copy link

trivikr commented Oct 23, 2017

While debugging this issue, I put breakpoints at https://github.com/Microsoft/vscode/blob/39130b09e65865fd2fcaf0d4cb8dd3c6fb6da7a6/src/vs/platform/windows/common/windowsIpc.ts#L301-L303

The _state in return value contains "success" even when the Finder is not available
screen shot 2017-10-22 at 9 11 20 pm

@bpasero bpasero added the bug Issue identified by VS Code Team member as probable bug label Nov 6, 2017
@bpasero bpasero added workbench-os-integration Native OS integration issues electron Issues and items related to Electron upstream Issue identified as 'upstream' component related (exists outside of VS Code) and removed file-explorer Explorer widget issues good first issue Issues identified as good for first-time contributors help wanted Issues identified as good community contribution opportunities labels Nov 15, 2017
@bpasero bpasero removed this from the Backlog milestone Nov 16, 2017
@bpasero bpasero removed the bug Issue identified by VS Code Team member as probable bug label Sep 11, 2018
@bpasero bpasero removed the bug Issue identified by VS Code Team member as probable bug label Sep 11, 2018
@vscodebot vscodebot bot added the *out-of-scope Posted issue is not in scope of VS Code label Oct 7, 2019
@vscodebot
Copy link

vscodebot bot commented Oct 7, 2019

This issue is being closed to keep the number of issues in our inbox on a manageable level, we are closing issues that are not going to be addressed in the foreseeable future: We look at the number of votes the issue has received and the number of duplicate issues filed. More details here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.

If you wonder what we are up to, please see our roadmap and issue reporting guidelines.

Thanks for your understanding and happy coding!

@vscodebot vscodebot bot closed this as completed Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
electron Issues and items related to Electron macos Issues with VS Code on MAC/OS X *out-of-scope Posted issue is not in scope of VS Code upstream Issue identified as 'upstream' component related (exists outside of VS Code) workbench-os-integration Native OS integration issues
Projects
None yet
Development

No branches or pull requests

5 participants