coordinate display in viewer

0 views
Skip to first unread message

priithon

unread,
Nov 11, 2008, 6:11:28 PM11/11/08
to Priithon, sh...@msg.ucsf.edu
In the latest viewer, the display of pixel coordinate where the
pointer is is kind of confusing. Suppose we're looking at pixel 10. On
the left (lower) half of the pixel, the coordinate shows 9.6~9.9; on
the right (upper) half, it shows 10.0~10.5. This is inconvenient
because the user wouldn't be able to tell immediately which integral
pixel he's on -- he has to move the cursor to the right (upper) half
to make sure of that.

What should happen is this: from the left to the right of a pixel, the
coordinate shows the integral pixel number + fraction from 0.0 to 0.9,
like 10.0~10.9. What do you think?

--lin

Sebastian Haase

unread,
Nov 12, 2008, 7:43:47 AM11/12/08
to prii...@googlegroups.com, sh...@msg.ucsf.edu
Hi Lin,
I had this discussion with Atsushi - that is, he pointed the same problem out.
Firstly, the problem occurs only when you are zoomed in.
Secondly, the fraction should go from -.499 to +.5 (not .0 to .99)
Thirdly, what I did implement after Atsushi's "complaining" is, that
there are now "Priithon preferences", i.e.
_priConf.viewerShowFloatCoordsWhenZoomingIn can be set to False if you
prefer.
>>> dir(_priConfig)
['_autoSaveSessionPath', 'autoSaveSessionCommands',
'autoSaveSessionDir', 'autoSaveSessionFn', 'defaultGfxColor',
'saveSessionDefaultPrefix', 'viewer2maxNumColors', 'viewerBkgColor',
'viewerShowFloatCoordsWhenZoomingIn']
>>>

What do you say?

-Sebastian

Reply all
Reply to author
Forward
0 new messages