Menu

#485 Map widget reversed zoom

2.6.0
Fixed
nobody
Medium
2011-11-09
2011-11-08
Anonymous
No

Originally created by: gijsrooy
Originally owned by: gijsrooy

What steps will reproduce the problem?
1. Open the Equipment > Map dialog.
2. Click the zoom buttons (+ and -).

What is the expected output? What do you see instead?
+ should zoom in, while - zooms out. At least that's what it is on most applications. In FlightGear - zooms in, while + zooms out.

What FlightGear version (or GIT date)?
Today's Git and fgdata.

What operating system and graphics card?
Confirmed on Windows and Linux.

Discussion

  • Anonymous

    Anonymous - 2011-11-08

    Originally posted by: zakalawe@mac.com

    Discussed on IRC, will expose the max zoom as a property, so the GUI can display the values either way around.

     
  • Anonymous

    Anonymous - 2011-11-08

    Originally posted by: gijsrooy

    (No comment was entered for this change.)

    Status: Dev

     
  • Anonymous

    Anonymous - 2011-11-08

    Originally posted by: bre... (code.google.com)@gmail.com

    +1. Had noticed the same. Would be nice to invert the zoom buttons.

     
  • Anonymous

    Anonymous - 2011-11-08

    Originally posted by: zakalawe@mac.com

    Working on it - due to some PUI limitations, it's proving easier to flip the zoom in the C++ side.

     
  • Anonymous

    Anonymous - 2011-11-08

    Originally posted by: zakalawe@mac.com

    Right, zoom sense is flipped at the C++ level. I've also exposed the max-zoom as a property, but unfortunately, property-adjust commands don't support reading their limits from properties, only constants, so the value is still duplicated in the dialog XML.

    https://gitorious.org/fg/flightgear/commit/d2d3fc054e942139b124053d680f3d4a0a63a77f

    Status: Fixed

     
  • Anonymous

    Anonymous - 2011-11-09

    Originally posted by: gijsrooy

    Thanks James!

    Labels: Milestone-2.6.0

     

Log in to post a comment.

MongoDB Logo MongoDB