Author Topic: Lion: yummy 1.8.5 disappears when out of focus  (Read 1341 times)

jo

  • Newbie
  • *
  • Posts: 2
Lion: yummy 1.8.5 disappears when out of focus
« on: July 22, 2011, 06:37:34 AM »
Hi,

I have a weird problem: When I start Yummy it opens the last FTP connection (what I don't like btw). Everything works fine until I close this window and open a new one from the bookmarks. This new window always disappears when I click at the desktop or another app.

Only way to get the Yummy window back is to click on the icon in the dock.

MacBooc Pro 17" Mid. 2010, Updatet Yummy to 1.8.5, then updatet to Lion from 10.6.8

I appreciate any help.

Cheers
Jo

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Lion: yummy 1.8.5 disappears when out of focus
« Reply #1 on: July 22, 2011, 10:34:43 AM »
Weird. Good old Apple - hundred of new features and hundreds of new bugs.

Re-opening your connection is quite nice and Yummy had a feature like that for years but this one is forced upon you by Apple. I'll see how (if) I can make the new OS feature optional in an update.

The second issue is almost certainly an OS bug. Please report it to Apple and if I can reproduce it I will do the same.

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Lion: yummy 1.8.5 disappears when out of focus
« Reply #2 on: August 04, 2011, 04:59:22 PM »
I didn't repeat  your problem, but I did find other bugs with the new implementation of Spaces in Lion. Some were really really weird, like the FTP window stopped resizing but all the contents inside scaled up and down and stretched when you tried... bizarre!!

Hopefully Apple will fix these kinds of bugs in 10.7.1, 10.7.2, or maybe later... who knows. Apple is pretty busy with iCloud and iOS5 right now. I guess this is what you should expect being an early adopter - Apple's official beta tester ;)

Webhamster

  • Jr. Member
  • **
  • Posts: 4
Re: Lion: yummy 1.8.5 disappears when out of focus
« Reply #3 on: August 24, 2011, 04:26:00 AM »
I have the same problem here, very annoying. As soon as Yummy looses focus it is hidden.

Sorry to say so, but it sounds a bit easy to just blame Apple for this. None of my other programs, even those that are not Lion compatible have this problem.
« Last Edit: August 24, 2011, 04:44:09 AM by Webhamster »

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Lion: yummy 1.8.5 disappears when out of focus
« Reply #4 on: August 24, 2011, 08:25:31 AM »
Erm, well let's see...

Apple changed approximately 219289798392 things in Lion  ::)

Even in Yummy FTP v1.8.4 (that pre-dates Lion) this problem occurs in Lion when there was never such a problem before in Snow Leopard, Leopard, Tiger, Panther, or Jaguar - yes, Yummy has been working correctly since Mac OS X 10.2

It's very clear that this problem is caused by a change in Lion, and I would call that a bug. Why on earth it only affects Yummy I'm not sure, but it's not my fault either - Yummy is doing nothing wrong!

That said, I obviously want to help resolve this issue, whether it's by creating some kind of work around in my code or by logging a bug with Apple. The problem I have is that I cannot repeat this issue despite having tried to on several different Macs.

So, until I have a repeatable case I cannot file a bug report with Apple nor can I try to find a work around. What can I do?? I guess I'll re-test this. Maybe I've missed some clue somewhere.

For what it's worth, in the v1.8.6 build that is coming soon, I've added a new preference option to disable the window auto-restore feature of Lion that forces the re-opening of FTP connection windows upon you. At least this eliminates some of the bizarre behavior caused by that feature that some people are seeing, although I have to say, I personally have not found any issues with it in my own usage.

I'll post back with my findings (if any) regarding the window activation problem.

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Lion: yummy 1.8.5 disappears when out of focus
« Reply #5 on: August 24, 2011, 08:36:15 AM »
@ jo & @Webhamster

Please confirm whether you have Yummy FTP assigned to a different space than the default one.

There IS a bug acknowledged by Apple that Spaces does not remember the space assignment correctly for my app.

I think this is the same bug.

Webhamster

  • Jr. Member
  • **
  • Posts: 4
Re: Lion: yummy 1.8.5 disappears when out of focus
« Reply #6 on: August 24, 2011, 08:39:45 AM »
@JD

I don't use spaces. I do use two screens, but I tried putting Yummy both on the main and secondary screen, both with the same results.

I will try later today how Yummy behaves on my laptop (did not try that yet).

Thanks for looking into this.

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Lion: yummy 1.8.5 disappears when out of focus
« Reply #7 on: August 24, 2011, 08:43:03 AM »
Thanks for the reply.

Maybe this issue is purely related to the window resume feature then.

I'm going to email you both a link the 1.8.6 beta which has an 'Enable auto-resume windows' checkbox in the Preferences. Try un-checking that preference setting, quit Yummy, then relaunch it and see if there is any difference.

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Lion: yummy 1.8.5 disappears when out of focus
« Reply #8 on: August 24, 2011, 08:46:49 AM »
Emails sent!

Webhamster

  • Jr. Member
  • **
  • Posts: 4
Re: Lion: yummy 1.8.5 disappears when out of focus
« Reply #9 on: August 24, 2011, 08:55:15 AM »
@JD

Just tried the 1.86 beta and that works perfect!

The strange thing is that it works both with and without the 're-opening windows' option.

Thanks for your help.

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Lion: yummy 1.8.5 disappears when out of focus
« Reply #10 on: August 24, 2011, 09:02:17 AM »
Bizarre....  ???

All I can imagine is that the change in version number has flushed out some cached settings that were being saved by the OS for the window restore feature. It would certainly make sense for Apple to not assume the save data will be valid across versions.

To that end, try keeping the option *enabled* for now : if the problem returns then remove the following folder after quitting Yummy and see if that fixes it :

com.yummysoftware.yummy-ftp.savedstate

...located in:

Mac HD -> Users -> yourname -> Library -> Saved Application State

PS In Lion Apple decided to hide the Library folder for your protection, despite the System and root Library folders still being visible. To access the Library folder select 'Go To Folder' from the Go menu in Finder and type ~/Library

Webhamster

  • Jr. Member
  • **
  • Posts: 4
Re: Lion: yummy 1.8.5 disappears when out of focus
« Reply #11 on: August 24, 2011, 09:04:14 AM »
Bizarre indeed.

My thought was, but I cannot verify this, that disabling the 'auto open windows' feature and then re-enabling it reset something that got it to work.

jo

  • Newbie
  • *
  • Posts: 2
Re: Lion: yummy 1.8.5 disappears when out of focus
« Reply #12 on: August 24, 2011, 09:09:37 AM »
Works!

Thanky you very much.

JD

  • Administrator
  • FTP Guru
  • *****
  • Posts: 2157
Re: Lion: yummy 1.8.5 disappears when out of focus
« Reply #13 on: August 24, 2011, 09:14:26 AM »
@ jo @ Webhamster

IT WORKS - that's the main thing  ;D

Thank you for your help!  :)

DarkBlue

  • Newbie
  • *
  • Posts: 2
Re: Lion: yummy 1.8.5 disappears when out of focus
« Reply #14 on: September 20, 2011, 05:40:21 AM »
I've had various issues with Yummy FTP since I upgraded to Lion. However, I am a heavy user of Spaces/Mission Control and have a multiple-monitor setup and run various apps (not Yummy FTP) at full screen - so there's probably a few factors that have been messing with my Yummy windows.

The strangest issue I had was that clicking on a Yummy browser window (i.e.: actually connected to a server) would have the effect of passing my click through to whatever was beneath - rendering the program unusable.

Anyway, after a little Googling the fix that worked for me ended up being a fairly simple one:

1) Quit Yummy FTP (if it is already running)
2) In the Finder, navigate to /users/your_username/Library/Saved Application State
3) locate the folder com.yummysoftware.yummy-ftp.savedState and delete everything inside it (you may be asked for your OS X password before the delete will be effected)
4) Once the folder is empty, right-click it and select "Get Info"
5) In the pop-up window check the "Locked" box and close the window.
6) Restart Yummy FTP and test...

All we've done here is prevented Lion from managed a Saved State for the Yummy FTP app only. Giving Yummy back its own, internal window-handling.

Good luck.

EDIT (21/09/2011): Scratch that. It seemed to work but it only works on the first opened server connection - subsequent windows still exhibit the click-pass-through behaviour.

Just installed 1.8.6b2 and that seems to have resolved the issues. Nice work Yummy!!! :-)
« Last Edit: September 21, 2011, 01:15:20 AM by DarkBlue »