zdia / gorilla

Password Gorilla manages passwords
420 stars 61 forks source link

Password Gorilla Freezes on Cmd+O #80

Open jondlove opened 12 years ago

jondlove commented 12 years ago

OS: Mac OSX Snow Leopard (10.6.8) Password Gorilla version: 1.5.3.6

Actions performed:

What I expect to happen:

What actually happens:

Note:

zdia commented 12 years ago

Issue confirmed. Thank you for the feedback.

rich123 commented 12 years ago

Repeatable. So far I have found a change which makes cmd+O work properly, but results in File->Open exhibiting the old cmd+O behavior (Freezing). That is not much of an improvement yet.

rich123 commented 12 years ago

@rpgsimmaster, do you have the capability to run the source distribution of Password Gorilla? I ask because so far my attempts to roll a Mac distribution bundle have resulted in bundles that do not run on my test VM setup. If you can run the source, I have a modification that appears to work around the issue on my VM, and having some additional test confirmation that it works in your environment would be a good thing.

jondlove commented 12 years ago

@rich123 I am now running from a repo clone. I don't know if a patch has been committed, since the issue still exists with my fork. However, my source distribution appears to be otherwise working.

rich123 commented 12 years ago

@rpgsimmaster No, no patch as of yet. But if you will, try this. At about line 644 in the gorilla.tcl file, you will find a line like this:

bind . <$meta-o> {.mbar.file invoke 1}

change it so it reads:

bind . <$meta-o> {after 150 .mbar.file invoke 1}

Then save the file and try various Cmd-O attempts to see if you can still get it to hang. If it does not hang, then this is a workaround. Actually it is a hacky workaround, a true fix involves rewriting the open dialog handling code to avoid use of a Tcl vwait in the middle of the code. But if this works for you, then at least it overcomes the issue until I can get around to that rewrite.

jondlove commented 12 years ago

@rich123 That appears to work, thanks!