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

Menu with list of editors not showing up correctly #10185

Closed
cyberduck opened this issue Dec 29, 2017 · 4 comments
Closed

Menu with list of editors not showing up correctly #10185

cyberduck opened this issue Dec 29, 2017 · 4 comments
Assignees
Labels

Comments

@cyberduck
Copy link
Collaborator

406917e created the issue

If HTML file is selected, just nvALT and Unknown with a Sublime Text icon is showing up as editor in the context menu plus a long empty menu. Selecting Unknown doesn't open Sublime Text. Selecting .htaccess is working and gives MacVim and Sublime Text as available options. Tried resetting lsregister with no avail.


Attachments

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Do you see the same issue in File → Edit With?

@cyberduck
Copy link
Collaborator Author

406917e commented

Replying to [comment:1 dkocher]:

Do you see the same issue in File → Edit With?
Yes, same issue in Edit With menu (see attachment). After upgrading to Cyberduck 6.3.3, on the first run of the new version there were some valid editors in both menus, though the first two were named unknown next to the nvALT and Xcode icon. The initial issue returned immediately after quitting and restarting Cyberduck. Only in Preferences the list of alternative editors is showing all my valid editors correctly.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Please try to rebuild the launch services database using /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -v -apps u in a Terminal.app window.

@cyberduck
Copy link
Collaborator Author

406917e commented

Hello dkocher. Sorry for not replying immediately to your last comments.
I was trying to rebuild launch services database without success before I have been opening this ticket in 2017 for Cyberduck version 6.3.2.

While I have been without access to internet for quite some time, Cyberduck version 7.x got released. However, even without rebuilding launch service db, with Cyberduck version 7.0.0 the bug suddenly disappeared. The menu with list of editors returned to normal behavior and remote html files could be opened in an editor of choice through the context menu and the main menu.

As of Cyberduck version 7.0.2 the bug suddenly returned. The difference to version 6.x is, that rebuilding launch services database is now a working solution for the bug and the menu works again. Maybe it is just a temporary fix and nvALT is going to reappear as the only selectable editor in the close future. At the time version 7.0.0 was installed, there were also some macOS security patches. Those could have run some maintenance scripts like fetching lsdb. I´ll keep an eye on it and maybe report back, if there is some further remarkable note on the bug.

So far, thank you very much for your help.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants