From: Joao C. <jc...@fe...> - 2002-03-02 18:22:03
|
On Friday 01 March 2002 9:52 pm, Alan W. Irwin wrote: > Joao's recent xwin fix only solved a tiny part of the problem. > > Using > > ./x01c -locate -dev xwin > > you can click on any viewport and get back world coordinates and relati= ve > device coordinates, but as soon as you make the mistake of clicking out= side > a viewport, the mouse is hosed, i.e. mouseclicks are ignored from then = on. This is the intended behavior. Also, if you invoke the cursor via the=20 driver, typing 'L' (no need for -locate in the cmdline), you finish it ei= ther=20 typing <ESC> or clicking out a vieport. > Since the xwin fix, the cross-hairs turn off when the mouse is hosed, b= ut > that is the only change in the bad behavior. > > With -dev tk you get identical bad results when clicking outside a > viewport. However, if you stick inside viewports there is an extra twis= t; > you get two (!) sets of coordinates for every mouse click. I can't reproduce this one. > > With -dev ntk you get identical bad results when clicking outside a > viewport. However, if you stick inside viewports, you get the normal on= e > line of results per click, but no cross-hairs are displayed at all! ntk does not yet uses crosshairs; instead it uses a cross cursor. It does= not=20 also implement the driver locate mode vie key 'L', nor resizes, nor... > > So there is a whole lot of little things which are not right as well as= the > bigger problem of the mouse stopping working entirely if you ever click > outside a viewport by mistake. We can change this, but it works as designed. I agree that at first it se= ems=20 strange, or even bad design, as one can leave locate mode inadvertly, but= =20 there must exist a way to finish locate mode. Suggestions? Joao > > Once the interactive drivers, the C library and C front-end start deali= ng > with interactive mouse clicks properly, I will want to get this working= for > the python (or pyqt) front end as well. I have a research project on th= e > horizon involving the analysis of many spectra that requires good > fundamental mouse interactivity for PLplot. > > Alan > > email: ir...@be... > phone: 250-727-2902=09FAX: 250-721-7715 > snail-mail: > Dr. Alan W. Irwin > Department of Physics and Astronomy, > University of Victoria, P.O. Box 3055, > Victoria, British Columbia, Canada, V8W 3P6 > __________________________ > > Linux-powered astrophysics > __________________________ > > > _______________________________________________ > Plplot-devel mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-devel |