≡

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 #393

Bug #393: Hidden dock-icon preference not honoured when upgrading

Kind bug
Product Synergy Advance
When Created 2006-04-04T07:45:50Z, updated 2006-05-05T12:20:59Z
Status closed
Reporter nick carrasco
Tags no tags

Description

I've noticed this with every upgrade... even though the preferences are set to hide the icon from the dock... everytime I upgrade to the next release, the icon comes back to the dock. I then check the preferences and the settings say that the icon should be hidden, but it is on the dock. Then I have to enable the icon, restart the application, then again disable the icon and restart the icon. Then it honors the preference setting.

Comments

  1. Greg Hurrell 2006-04-04T08:24:16Z

    Ok, this is related to bug #192.

    In that bug, Synergy Advance sets its Dock icon visibility and the system ignores it because of stale entries in the Launch Services database. The solution/workaround was to force an update of the database whenever the user changes that preference. That's why your workaround (unsetting and resetting the preference works).

    But you've actually hit on another bug which I hadn't considered before. Synergy Advance ships with an Info.plist file containing the Dock icon setting. If you change your local Info.plist and then overwrite it by installing a new version of Synergy Advance then your local setting will get lost, requiring you to unset and reset it for it to take effect.

    So what I need to do is on the first time you launch a new version of Synergy Advance do the following:

    1. Check the Dock icon preference 2. Compare it with the setting in the Info.plist file 3. If it is different, offer to modify the Info.plist file and restart Synergy Advance for you.

    Or better still, just try modifying the Info.plist file directly and then notifying the user of success (or otherwise). I'll get onto this today and post back here once the fix is implemented.

  2. Greg Hurrell 2006-04-05T13:21:23Z

    Ok, this is now fixed. Adding the fixed-in-prerelease keyword.

    To be notified when the new version comes out which includes the fix, you can subscribe to the announcements mailing list.

  3. Greg Hurrell 2006-05-05T12:20:59Z

    0.4 is now out. Full announcement here:

    https://wincent.dev/a/news/archives/2006/05/synergy_advance_8.php

    Marking as FIXED/CLOSED.

Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets