Skip to content

[OS X] Use 10.10 Finder Sync icon indication #2340

Closed

Description

@guruz

If running on 10.10:

https://developer.apple.com/library/mac/releasenotes/MacOSX/WhatsNewInOSX/Articles/MacOSX10_10.html

FinderSync (FinderSync.framework). The FinderSync framework enables Finder extensions to:
Express interest in specific folder hierarchies
Provide "badges" to indicate the status of items inside those hierarchies
Provide dynamic menu items in Finder contextual menus, when the selected items (or the window target) are in those hierarchies
Provide a Toolbar Item that displays a menu with dynamic items (even if the selection is unrelated)

This would replace our overlay icon code.

https://developer.apple.com/library/mac/documentation/FinderSync/Reference/FinderSync_Framework/

Activity

  1. self-assigned this
    on Oct 20, 2014
  2. added this to the 1.8 - UI Enhancements milestone on Oct 20, 2014
  3. removed this from the 1.8 - UI Enhancements milestone on Jan 12, 2015
  4. nemphys commented on Jan 14, 2015

    @nemphys

    Yes, this is the way to go; I suppose DropBox is using this, since the overlays were missing when I first upgraded to 10.10 and after a few weeks (ie. DB update), they came back, but different than ever before.

  5. added this to the milestone on Jan 19, 2015
  6. assigned and unassigned on Mar 26, 2015
  7. iliyasbasir commented on Apr 30, 2015

    @iliyasbasir

    Screen Shot

    ownCloud

    screen shot 2015-03-31 at 16 34 32

    DropBox

    screen shot 2015-03-31 at 16 34 18

  8. jturcotte commented on May 11, 2015

    @jturcotte
    Contributor

    I tried to get it to work by hacking things together but I'm currently stuck in a corner: the FinderSync requires sandboxing to be enabled for the app extension bundle, and that means in return that the code can only communicate through unix sockets with other sandboxed applications (of the same "application group")

    https://developer.apple.com/library/mac/documentation/Security/Conceptual/AppSandboxDesignGuide/AppSandboxInDepth/AppSandboxInDepth.html#//apple_ref/doc/uid/TP40011183-CH3-SW24

    I tried to mark the current socket path with temporary sandbox exceptions, or to tell the client to open the server inside the app group container path and OS X obviously doesn't let me open the socket for listening.

    This means that we won't be able to use those fancy new icons unless we also make the desktop client application sandboxed. I'm assuming that this won't be trivial.

  9. guruz commented on May 11, 2015

    @guruz
    ContributorAuthor
  10. 9 remaining items

  11. added a commit that references this issue on Jul 2, 2015
  12. jturcotte commented on Jul 28, 2015

    @jturcotte
    Contributor

    I consider the feature done, but there are surely issues remaining, I added some quick testing info at https://github.com/owncloud/client/wiki/Testing-Scenarios-2.0

  13. added
    ReadyToTest
    on Jul 28, 2015
  14. Dianafg76 commented on Jul 29, 2015

    @Dianafg76

    @jturcotte I need the steps to reproduce this issue. Thanks

  15. removed
    ReadyToTest
    on Jul 29, 2015
  16. guruz commented on Jul 29, 2015

    @guruz
    ContributorAuthor

    Install 2.0 nightly build on OS X. Check if sync indicator icons show up in finder.

  17. added
    ReadyToTest
    on Jul 29, 2015
  18. Dianafg76 commented on Jul 31, 2015

    @Dianafg76

    It is work ok. Many thanks
    Desktop v ownCloud-2.0.0.2582-nightly20150731.pkg
    I close

  19. added a commit that references this issue on Aug 6, 2015
  20. TomGem commented on Aug 26, 2015

    @TomGem

    I just installed ownCloud-2.0.0.2666 on OS X 10.10.5 and since then the icons as well as the ownCloud finder actions (right click -> share with ownCloud) are gone. Both have been working with the 1.8.4 Client.

    Futhermore, where is #2897 implemented, I can't find any options like those mentioned there?

    Anyway, the most important thing, ownCloud 2.0 is syncing fine.

    Please let me know if I can provide something.

  21. jturcotte commented on Aug 26, 2015

    @jturcotte
    Contributor

    @TomGem The extension loading is now handled by OSX directly instead of having to inject the bundle directly in Finder, so you can find the option in [System Preferences / Extensions / Finder] where you should be able to enable the "ownCloud Extensions"

    There are some situations where the extension wouldn't be enabled properly on the first install, but normally just enabling it there should make it available again. Let me know if that doesn't work for you.

  22. TomGem commented on Aug 26, 2015

    @TomGem

    That's it, thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

EnhancementNeeds infoReadyToTesttechnical debt

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions