Re: Making the Versions Browser less of a dog
Re: Making the Versions Browser less of a dog
- Subject: Re: Making the Versions Browser less of a dog
- From: Jerry Krinock <email@hidden>
- Date: Thu, 20 Nov 2014 19:20:46 -0500
> On 2014 Nov 20, at 18:10, Graham Cox <email@hidden> wrote:
>
> I can already see a bit of a problem with what I'm trying to do though - without reading and parsing my file data, the UI isn't built properly, for example I have a source list outline view that is populated by the data model I load. If I don't load it, it's not correct, obviously. So that means the "snapshot" needs to be the entire window, not just one view within it. That's probably doable, but then displaying said snapshot in the VB is hard since it has to replace the entire window content dependent on some state variable that is hard to reliably determine.
When I first adopted Versions, I too was surprised that Apple chose to really open browsed documents in the normal way. But after I thought about it a while, I realized the wisdom of their approach. To “just open the document a crack so we can have a peek” is going to mean a different thing in every app, and there are going to be *lots* of edge cases to either be tested or become bugs.
> (VB really should be doing this somehow itself - it's surely the wrong implementation that opens hundreds of actual documents
No, they don’t open that whole “pile” of documents that you see when you enter Versions Browser. Document versions are only opened when users select one of them and it scurries to the top of the pile. At least that’s the way I’ve always seen it work.
> - and what if a document opens multiple windows?
I would think that only the document’s main window will appear.
> - with unknown demands on memory and CPU performance instead of just showing some fake proxy images until you actually choose one,
All it shows until the user chooses one is the title bar. Only the top one is really “open”.
> or at the very least providing reliable information to your app so that it can pull off the equivalent fakery with aplomb.
Hmmmm, step back from the tree and look at the forest, Graham. Users typically experience regular document openings hundreds of times more often than they go into Versions Browser. I think that they will much more appreciate you working on improving document opening performance than on trying to fake out the Versions Browser.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden