Re: [Celestia-developers] Wheel operation consistently reversed
Real-time 3D visualization of space
Status: Beta
Brought to you by:
cjlaurel
From: Selden E B. Jr <se...@le...> - 2007-11-28 20:37:38
|
Christophe, Thanks! I hadn't seen the problem for several days after installing Vincent's patch but I couldn't be certain it was fixed. Selden > Indeed, that explains this elusive bug. I've commited the fix. > Le Wednesday 28 November 2007 19:19:01 Da Woon Jung, vous avez écrit : > > I was finally able to duplicate this problem on my Mac too. > > (see my comment attached to bug #1825327 in the sf.net tracker) > > > > Vincent appears to be correct, in that this bug is due to the > > reverseMouseWheel variable being uninitialized. If the reverse mouse > > wheel option is not set in celestia.cfg, the uninitialized value > > (i.e., random 0 or 1) is used, causing the kind of inconsistent > > behaviour reported by Selden. > > > > Cheers, > > DW > > > > On Nov 22, 2007 10:08 PM, Selden E Ball Jr wrote: > > > Vincent, > > > > > > Thanks for the patch! > > > > > > At the moment I can neither confirm nor deny that it helps my problem. > > > Part of my frustration is that it doesn't happen all of the time, > > > although I don't do anything to change it. > > > > > > However, it does seem right to me that parameters which can be set > > > in the config file should have consistant default values and not > > > use values set by previous runs of the program. > > > > > > s. > > > > > > > I dont know whether this is related to what Selden noticed recently, > > > > but once ReverseMouseWheel has been set to true in celestia.cfg, it > > > > keeps the true value even when the ReverseMouseWheel entry is deleted > > > > from celestia.cfg. This can be quite confusing especially in the > > > > following case: > > > > 1- Setting ReverseMouseWheel to true and running Celestia: > > > > The mouse wheel is /reversed/. > > > > 2- Setting ReverseMouseWheel to false and running Celestia: > > > > The mouse wheel is /not reversed/. > > > > 3- Deleting the ReverseMouseWheel entry from celestia.cfg and > > > > running Celestia: The mouse wheel is /reversed/. > > > > > > > > I think it would be better if ReverseMouseWheel was set to false > > > > by default. The following one-line change does that: > > > > http://vincent.gian.club.fr/celestia/configfile.cpp.patch > > > > > > > > Selden, > > > > > > > > Could you please test it and let me know if this solves your issue > > > > with the mouse wheel ? > > > > > > > > @+ > > > > Vincent > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > Celestia-developers mailing list > Cel...@li... > https://lists.sourceforge.net/lists/listinfo/celestia-developers |