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

Edit button is not available (grayed out) about 50% of the time #1303

Closed
cyberduck opened this issue Oct 19, 2007 · 12 comments
Closed

Edit button is not available (grayed out) about 50% of the time #1303

cyberduck opened this issue Oct 19, 2007 · 12 comments
Assignees
Milestone

Comments

@cyberduck
Copy link
Collaborator

c3e9f17 created the issue

v2.8

I have associated BBedit as my external text editor and always see the BBedit icon in the toolbar of Cyberduck. I also have TextMate available

About 50% of the time the Edit icon is grayed out and I can only select the External Editor via right-clicking on the file using the contextual menu or from the File > Edit With menu option


Attachments

@cyberduck
Copy link
Collaborator Author

c3e9f17 commented

As I look at this more closely it seems there may be a pattern to this.

I have 12 bookmarks in my list. When I first open a connection to one of the domains, initially the Edit icon is grayed out. After I select file and choose Edit with BBEdit either from Menu > Edit With or by clicking on a file and then right clicking and using the contextual menu, after that the Edit icon is active and not grayed out anymore...for that domain. But if I then click on another bookmark to make a new connection elsewhere, the Edit icon becomes grayed out again.

So for me, the Edit icon is grayed out until I manually select "Edit With" from the Menu and this happens consistently.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

I cannot replicate this. The edit toolbar button is just greyed out when no editable file is selected.

@cyberduck
Copy link
Collaborator Author

c3e9f17 commented

The Edit button is grayed out for editable files particularly right after a file has been uploaded into a directory. And when the editable file is highlighted and the Edit button is grayed out, it is still possible to edit the file using the contextual menu or from File > Edit With menu. But when the Edit button is grayed out, it is when an editable file is selected, not an uneditable file.

This happen consistently and although "you" may not see the problem, I see it every day, every time I use Cyberduck.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Can you post a screenshot to help resolve this issue?

@cyberduck
Copy link
Collaborator Author

c3e9f17 commented

How do I post a screenshot here?

@cyberduck
Copy link
Collaborator Author

c3e9f17 commented

OK, here is a screenshot (http://www.michaelerb.net/picture.png)...

@cyberduck
Copy link
Collaborator Author

@dkocher commented

You might want to try rebuilding the launch services database:

Open a Terminal.app window and paste:

/System/Library/Frameworks/ApplicationServices.framework/\
Frameworks/LaunchServices.framework/Support/lsregister \
-kill -r -domain local -domain system -domain user

@cyberduck
Copy link
Collaborator Author

c3e9f17 commented

  1. Connect to a server and open a directory that contains an editable file and a subdirectory in it.
  2. Click on the editable file and open it using the editor configured in Cyberduck.
  3. Leaving the file open in the editor, navigate to a subdirectory.
  4. Once in the subdirectory, go to your editor, make a change in the file you just opened and then save it. It will write back to the server and may ask if you want to overwrite, depending how you have Cyberduck configured.
  5. Once it has been saved, use the left arrow in Cyberduck to navigate back to the original directory where the file you just edited resides.
  6. Click on the filename of the file you just saved and notice that the Edit button remains grayed out even though you are clicked on an editable file.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Thanks for the exact steps to reproduce. However, having followed these directions exactly, I am still not able to see the same issue. I'll keep it open for now; maybe someone else will report the same issue.

@cyberduck
Copy link
Collaborator Author

c3e9f17 commented

Yes your observation is correct. This is not 100% reproducible.

Ever since I noticed this "graying out of edit button", I've been trying to discern a pattern of when it happens and it suddenly dawned on me that it usually happens when I have a file open for editing, change directories, continue editing the file, save the file, then at some point return to the original directory containing the just saved file. It is doing these sorts of navigational movements that seems to be when the grayed out edit button rears it's ugly head.

I will continue to tray and narrow down the behavior but for now, that's the best sequence I can come up with and is the exact set of steps I took that caused the icon to gray out under that particular test.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

I can confirm this using *List View'. The toolbar items are no more validated for unknown reasons. Try *Outline View'' as a workaround.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Fixed in 3846410.

@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.
Projects
None yet
Development

No branches or pull requests

2 participants