ome / design

OME Design proposals
http://ome.github.io/design/
1 stars 15 forks source link

iviewer multiviewers on double-click #81

Closed will-moore closed 6 years ago

will-moore commented 6 years ago

This continues the design from https://github.com/openmicroscopy/design/issues/79 focusing only on the opening of viewers with double-click.

As discussed with @pwalczysko (see his last comment https://github.com/openmicroscopy/design/issues/79#issuecomment-353084228) we can simplify the desired behaviour (no 'pinning', 'temporary windows' etc):

cc @waxenegger @jburel

waxenegger commented 6 years ago

@will-moore @jburel distinction between single and double clicks in terms of event handling is an undetermined nuisance. In essence a double click is very likely to cause a single click event first, after that a double click event is fired. According to some sources out there some browsers could even do it the other way round. But even if we assume it's the former which is the behavior I get one needs a timer solution to handle that. Hacky at best. Here is what the jquery doc has to say: https://api.jquery.com/dblclick/ (but it's really something that is problematic based on generic event handling, not jquery, I wouldn't even be using jquery in that case)

jburel commented 6 years ago

Another option could be to drag a thumbnail from left panel to centre panel to open in multiview