annoying Marble bug on Windows [was Re: Map Zooming]

Dirk Hohndel dirk at hohndel.org
Thu May 1 21:18:33 PDT 2014


On Thu, 2014-05-01 at 21:05 -0700, Dirk Hohndel wrote:
> On Thu, 2014-05-01 at 20:48 -0700, Dirk Hohndel wrote:
> > On Thu, 2014-05-01 at 20:29 -0700, Richard DePas wrote:
> > 
> > >  Every time I clicked, the flag would be placed.
> > 
> > Oh bother.
> > 
> > I just reproduced this under Win7
> > 
> > Yuck.
> > 
> > Apparently Marble/Qt can't tell a single click from a double click on
> > Windows :-(
> 
> I added this, just to make sure:
> 
> 	} else if (clickOnGlobe) {
> 		if (event->type() == QEvent::MouseButtonDblClick)
> 			changeDiveGeoPosition(lon, lat, GeoDataCoordinates::Degree);
> 
> Still, a SINGLE mouse click on Win7-64 changes the dive coordinates (and yes, this is the ONLY call to this function in all of Subsurface)
> 
> Any idea how to figure out what's a single click and what's a double click on Windows?

Yes. Easy.
Test at the right spot in the code, IDIOT.

Ignore. Fixed.

Beta 3 will be coming soon :-/

/D



More information about the subsurface mailing list