≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Bug #1425

Bug #1425: Synergy hangs when iTunes is on a different Space and has a dialog open

Kind bug
Product Synergy
When 2009-10-25T13:53:02Z
Status open
Reporter anonymous
Tags no tags

Description

Repro Steps

  1. Ensure Spaces is enabled (mine is set to the default 4 spaces)
  2. Open iTunes on one Space
  3. Begin playing a tune in iTunes
  4. Press CMD + I to bring up the Info dialog, e.g. for lyrics
  5. Switch to another space
  6. Attempt to click on the Pause button in Synergy

Result

Synergy hangs - beach ball comes up after a short while, and never recovers while you are on the same Space.

Expected Result

Should work whether a dialog is up in iTunes on the other Space or not.

Workarounds

This does not happen if you Pause while on the same Space as iTunes.

Also, switching back to the iTunes Space releases Synergy.

Notes

I tested this with iTunes set to only appear on Space 3 (my normal setup). I did not test without this setting, so mention it just in case it is related.

Comments

  1. Greg Hurrell 2009-10-25T14:16:46Z

    Thanks for the report, but I don't think this has anything to do with Spaces, actually.

    In order for this to happen the only thing that is necessary is for iTunes to not be frontmost. So, if you bring up the info dialog and then bring some other app to the front (eg. a Safari window), then Synergy will hang until you bring iTunes to the front.

    This is actually an iTunes issue and there isn't really anything that I can do about it from the Synergy side. Basically, Synergy issues the instruction to iTunes and waits for the reply, but doesn't get one. When you bring iTunes to the front it finally wakes up and actually sends the reply to Synergy and Synergy "unblocks".

    iTunes has actually improved a little in recent versions in this respect, as in the old days it was completely unresponsive whenever a dialog was up. At least now it responds provided it is frontmost. You could file a feature request or bug report with Apple if you'd like them to correct the issue; the important thing to include in your report is that iTunes doesn't respond to Apple Events if it has a dialog box up, except when it is the frontmost app.

    Working around this in Synergy would severely break the current working model. Instead of staying "in sync" with iTunes, it would have to become a "blind" controller; that is, issue commands and not wait for replies and not have confirmation of what state iTunes was in. It would thus avoid these "blocking" incidents, but it would be at risk of getting "out of sync" with the iTunes state. My "developer's intuition" leads me to believe that getting out of sync would be much more common and lead to a lot more support tickets than this non-responsiveness problem, so it's not a direction I would really want to explore, especially when the power is in Apple's hands to fix the unresponsive behaviour in iTunes.

Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets