Administrator
|
Snapshots are cool!
But try this: 1. create two snapshots 2. navigate to the last one 3. delete it Although it is shown removed from the list (i.e. "1/1"), you are not automatically navigated back to the first one. You stay on the deleted one, and when you navigate back to the first with the arrow, the deleted one reappears in the list (i.e. "1/2") Sean
Cheers,
Sean |
On Thu, Dec 29, 2011 at 4:57 PM, Sean P. DeNigris <[hidden email]> wrote:
Snapshots are cool! Still needs some work but something nice seems possible :) But try this: OK thanks for the report. I will take a look. Laurent
|
In reply to this post by Sean P. DeNigris
I've looked at this and I'm still not sure how to handle snapshots navigation in an "intuitive" way. Actually how it works (assume an initial state S0):
- when you create a new snapshot (TWMWorldRecorder>>snapshot) the new snapshot is on top, this one is OK. Let's call it snapshot S1
- now go back / left arrow (TWMWorldRecorder>>backward) *without moving any window*, easy we go to S0. Go forward, we're at S1. - now move a window and go back. As I don't want to loose the current state, an automatic snapshot (S2) is created so we can go back to current state later. This behavior is not intuitive I think (do two things) but often I forgot to do the snapshot before going backward.... so with this done automatically nothing is lost. (winner-mode in Emacs has this behavior).
- go to S3. Then move some windows and delete. If automatically TWM restore last snapshot, we loose current state.....
At least, automatic restore on delete is easy: TWMWorldRecorder >>deleteCurrentSnapshot (self snapshots size = 1) not ifTrue: [
self snapshots remove: self currentSnapshot. self currentPosition: self currentPosition - 1.
self restoreCurrentSnapshot. "<--- add this line" ]
Experimentations still neeeded......
Another idea is to have TWMWorldRecorder plugged to announcements so each time a window move / appear / disappear it creates automatically a snapshot.... Cheers, Laurent On Thu, Dec 29, 2011 at 4:57 PM, Sean P. DeNigris <[hidden email]> wrote: Snapshots are cool! |
Administrator
|
Most of it feels very natural to me.
If I delete a snapshot, I'm saying that the state is no longer interesting, so that's what I would expect. This could be interesting, but I think it would be another feature - "world history" vs. "particular points I find interesting"; like browser history vs. bookmarks
Cheers,
Sean |
Hi Sean,
for my last day of vacation (sniff sniff) I've played with an idea of snapshot browser. From here you can browse and delete snapshot - with thumbnails ! Demo in this video (I've promised to not speak such bad english anymore but fail :( ) http://vimeo.com/34478511
It's an early prototype, available in last TWM, feel free to hack. Happy new year ! Laurent
On Fri, Dec 30, 2011 at 4:15 PM, Sean P. DeNigris <[hidden email]> wrote: Most of it feels very natural to me. |
Administrator
|
Looks cool. I'll play with it today.
Cheers,
Sean |
Free forum by Nabble | Edit this page |