[fixed] 5.0.101 resets coordsystem to Default View

gno shared this problem 5 years ago
Answered

Hi,


Version 5.0.101 does not respect the saved dimensions of the coordsystem in a saved file when reopening it, but uses the Default View.


To see this, do the following:


Start GGB with a new window.

Move the origin in GV1 or zoom in/out or zoom the axes.

Save this file.


Then reopen it (in a new window or restart GGB) and the coordsystem is reset to Default View.


If you open the same file in 5.0.82 you get the saved coordsystem!


Gerhard

Comments (5)

photo
1

Seems OK here (Windows). Please post the file and give more details about which version you are using

photo
1

Hi Michael,


I made this file

https://ggbm.at/1388751

with version 5.0.101 on OSX and after saving and then reopening it later with the same version it lost the coordsystem (reset to Default View).

Opening the same file in 5.0.82 I got the coordsystem I saved in the first place.

Opening in the Windows 7 version 5.0.101 also reset the coordsystem to Default View.

This is the how I saved it originally and how version 5.0.82 (OSX) displays it (top):41b7bb59b7e266c79a35b90e888b8ba3Below is a scrrenshot from Windows 7 which is almost the same as version 5.0.101 (OSX).


Here are the excerpts from System > Information in GeoGebra for the three versions:

    GeoGebra 5.0.101.0-3D (22 April 2015)

    Java: 1.7.0_40

    Codebase: file:/C:/Program%20Files%20(x86)/GeoGebra5/geogebra.jar

    OS: Windows 7

    Architecture: x86 / x86

    Heap: 247MB

    CAS: CAS Initialisierung


    <euclidianView>

    <viewNumber viewNo="1"/>

    <size width="558" height="394"/>

    <coordSystem xZero="215.0" yZero="315.0" scale="50.0" yscale="50.0"/>

    <evSettings axes="true" grid="true" gridIsBold="false" pointCapturing="3" rightAngleStyle="2" checkboxSize="26" gridType="0"/>

    <bgColor r="255" g="255" b="255"/>

    <axesColor r="0" g="0" b="0"/>

    <gridColor r="192" g="192" b="192"/>

    <lineStyle axes="1" grid="10"/>

    <axis id="0" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>

    <axis id="1" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>

    </euclidianView>


      GeoGebra 5.0.101.0-3D (22 April 2015)

      Java: 1.8.0_20

      Codebase: file:/Applications/GeoGebra_5_0_101_J18.app/Contents/Java/geogebra.jar

      OS: Mac OS X

      Architecture: x86_64 / null

      Heap: 910MB

      CAS: CAS Initialisierung


      <euclidianView>

      <viewNumber viewNo="1"/>

      <size width="580" height="473"/>

      <coordSystem xZero="215.0" yZero="314.99999999999994" scale="50.0" yscale="49.99999999999999"/>

      <evSettings axes="true" grid="true" gridIsBold="false" pointCapturing="3" rightAngleStyle="2" checkboxSize="26" gridType="0"/>

      <bgColor r="255" g="255" b="255"/>

      <axesColor r="0" g="0" b="0"/>

      <gridColor r="192" g="192" b="192"/>

      <lineStyle axes="1" grid="10"/>

      <axis id="0" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>

      <axis id="1" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>

      </euclidianView>


        GeoGebra 5.0.82.0-3D (30 March 2015)

        Java: 1.8.0_20

        Codebase: file:/Applications/GeoGebra_5_0_82_J18.app/Contents/Java/geogebra.jar

        OS: Mac OS X

        Architecture: x86_64 / null

        Heap: 910MB

        CAS: CAS Initialisierung


        <euclidianView>

        <viewNumber viewNo="1"/>

        <size width="580" height="473"/>

        <coordSystem xZero="31.99999999999999" yZero="426.9999999999997" scale="2.5875" yscale="11.471161964654817"/>

        <evSettings axes="true" grid="true" gridIsBold="false" pointCapturing="3" rightAngleStyle="2" checkboxSize="26" gridType="0"/>

        <bgColor r="255" g="255" b="255"/>

        <axesColor r="0" g="0" b="0"/>

        <gridColor r="192" g="192" b="192"/>

        <lineStyle axes="1" grid="10"/>

        <axis id="0" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>

        <axis id="1" show="true" label="" unitLabel="" tickStyle="1" showNumbers="true"/>

        </euclidianView>

Version 5.0.101 shows the euclidian view coordinates set to default (xZero="215.0" yZero="315.0" scale="50.0" yscale="50.0").

Only in version 5.0.82 the euclidian view is the same as in the geogebra.xml file.


I've tried creating several other files in 5.0.101 saving them and then reopening them - it's allways the same:

The coordsystem is reset to Default View.


BTW: I just found out that if I open this file in 5.0.82, save it there and then reopen it in 5.0.101 the display is correct. But that"s not the way it should be?!


Gerhard

photo
1

Sorry, can't reproduce that - your file opens fine (ie same as top screenshot). Can anyone else see the problem?


Does File -> Share have the correct viewport?


Latest version to try:

https://forum.geogebra.org/...

photo
1

Can anyone else see the problem?
was with 101 :(

but not with 103 :)

photo
1

Hi Michael,


version 5.0.103 (2015-04-24 23:07) fixed it.


But it wasn't available yesterday when I wrote my post.


Thanks for your work.


Gerhard

© 2020 International GeoGebra Institute