> I think resetting the click state after right clicking a new file or
> directory makes sense. Otherwise the number of click-states could grow
> without bounds.
Oliver, what do you mean by "click state"? Once the click function has been executed and completed there is no residual "state" other than unclicked.
On any file, whether or not it has previously been single or double right-clicked, a double-right-click should open the viewer.
> Besides, in a long session the user will probably not
> remember exactly which files have been right-clicked, and so will be
> unsure of the behaviour to expect.
I'm not sure what you're thinking here. There is no need for a user to remember anything. It matters not whether the file has previously been single or double right-clicked. Again, there should be no retention of a count of clicks on any file or directory. The detection of a single vs. double click (right or left) is simply the timing between the clicks. Once detected and executed, the click count is discarded and the "state" is back to unclicked.
- John