View Issue Details

IDProjectCategoryView StatusLast Update
0001072SkyChart1-Softwarepublic13-05-06 14:32
ReporterJames Dietrich Assigned ToPatrick Chevalley  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformx86_64OSLinuxOS Version2.6
Product Version3.7 SVN 
Target Version3.8Fixed in Version3.7 SVN 
Summary0001072: opening saved chart doesn't restore chart dimensions
DescriptionWhen opening a saved chart, the chart dimensions are not restored.
Steps To ReproduceRemove .skychart/ directory:
rm -r .skychart/
Start skychart with a chart of a particular size:
skychart --resize="820 900"
Click "Next >>>" and then "OK" on the two boxes that come up.
My monitor is 1680x1050, and CdC fills the whole screen, but as requested, the chart is only about half as wide.
Click File -> Save as and then save the chart as a.cdc3

Note that a.cdc3 has saved the chart size. Here are three lines from that file:
[default_chart]
ChartWidth=820
ChartHeight=900

Close CdC and remove the .skychart directory again:
rm -r .skychart/
Start skychart without the "resize" command:
skychart
Click "Next >>>" and then "OK" on the two boxes that come up.
Click File -> Open and then open the chart a.cdc3

Note that the chart opens, but it opens to the full size of the window.
If I save the just-opened chart a as b.cdc3, the saved chart size in b.cdc3 is not the same as that in a.cdc3:
[default_chart]
ChartWidth=1624
ChartHeight=855
Additional InformationI am using version 3.7-svn2284 on amd64 Debian Linux 6.0.6.
TagsNo tags attached.

Activities

Patrick Chevalley

12-11-05 10:07

administrator   ~0002267

This work correctly if you select the menu Window/Cascade before to load the saved chart.

But I agree this must be done automatically when you load a file that was saved in cascaded form.

Patrick Chevalley

13-01-01 12:41

administrator   ~0002377

Revision 2346 fix the problem.
http://sourceforge.net/p/skychart/code/2346

Issue History

Date Modified Username Field Change
12-10-29 10:30 James Dietrich New Issue
12-11-05 10:07 Patrick Chevalley Note Added: 0002267
12-11-05 10:07 Patrick Chevalley Assigned To => Patrick Chevalley
12-11-05 10:07 Patrick Chevalley Status new => assigned
12-11-05 10:07 Patrick Chevalley Target Version 0.3.0 => 3.8
12-11-05 10:07 Patrick Chevalley Status assigned => confirmed
13-01-01 12:41 Patrick Chevalley Note Added: 0002377
13-01-01 12:41 Patrick Chevalley Status confirmed => resolved
13-01-01 12:41 Patrick Chevalley Resolution open => fixed
13-01-01 12:41 Patrick Chevalley Fixed in Version 0.3.0 => 3.7 SVN
13-05-06 14:32 Patrick Chevalley Status resolved => closed