View Issue Details

IDProjectCategoryView StatusLast Update
0002061SkyChart1-Softwarepublic19-01-23 17:12
ReporterAndre Kovacs Assigned ToPatrick Chevalley  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformMacOSmacOSOS Version10.11
Product Version4.0 
Target Version4.2Fixed in Version4.1 SVN 
Summary0002061: Chart doesn't center on SAMP received coordinates
DescriptionHello,

I'm trying to use send SAMP coordinates messages between Aladin and CDC, via TOMCAT as a hub, and when I select an object in Aladin I get a message in CDC asking if I want to move the chart to the RA, DEC of the SAMP coordinates sent, but I only get a circle at the selected target and the chart doesn't center at the coordinates.
I'm using Alt-Az coordinates system with no target locked.

Also, would be possible to disable the SAMP coordinates alert and accept automatically all incoming requests?

Thanks,
Andre
Steps To Reproduce1- Send a VOtable from Aladin to CDC, via TOMCAT;
2- Select a target in Aladin;
3- Click Yes in the message alert in CDC asking if I want to move the chart to the RA, DEC of the SAMP coordinates sent.
TagsNo tags attached.

Activities

Patrick Chevalley

19-01-23 11:09

administrator   ~0005270

You can disable the confirmation message from the menu View / SAMP / SAMP setup. Uncheck "Ask for confirmation before to jump to coordinates".

I make some testing and here my conclusion:
You must zoom enough in Skychart so the objects from the table are visible.
Then it work perfectly if you send a row of the table from TOPCAT.
With Aladin if you click on the object in the map it is always out, as you describe because in this case Aladin do not send the object coordinates but the position of the mouse cursor.
If in Aladin you select the object in the table below the map it center the object and make the selection in Skychart. It also work if you zoom enough in Aladin so the mouse position is precisely at the object position.

Do this solve the problem?

Andre Kovacs

19-01-23 13:13

reporter   ~0005271

Hi Patrick,

Unfortunately I couldn't reproduce your results. I can only get the object selected both on TOPCAT and Aladin highlighted (white circle around it), but the position of the reticule (enabled by the Show mark button) and chart doesn't change.
It seems to me that it's a problem related to the fact that the objects I'm trying to use are not available on CDC standard catalogs, only on 2MASS or GAIA catalogs.
Here's what I did:
1- TOPCAT: loaded a VOtable of exoplanets from Exoplanets.eu into CDC. CDC displays all new objects as red squares, as expected;
2- CDC: Search for WASP-119 b using the search box: The chart and the reticule are centered at the location of the red square of WASP-119 b, and WASP-119 b is highlighted (white circle around it), as expected;
2- TOPCAT: Open the Table browser for the VOtable, and click Rows -> Highlight subset -> skychart: TOPCAT highlights the row of the table corresponding to HD 1397 b, and not the object highlighted in CDC (WASP-119 b);
3- Aladin: Click both using the chart or using the table below on WASP-117 b, CDC still has WASP-119 b centered, but not highlighted anymore;
4- Aladin: Click both using the chart or using the table below on WASP-119 b, CDC highlights WASP-119 b that was previously centered;

Thanks,
Andre

Patrick Chevalley

19-01-23 14:59

administrator   ~0005272

Andre,
Thank you for this detailed sequence, this let me fix and improve some point in the program.

1- OK

2- This is because searching by name in CdC do not send the selection as when you click on the chart.
This is fixed by :
https://github.com/pchev/skychart/commit/04b8de07f74402139aa886e8e7ccce90b2fc1e62

3,4- It is expected it lost the highlight, CdC highlight follow the Alain cursor on new objects even if there is no click. But it must select the new object when you click.
I improve this selection and this must fix the problem:
https://github.com/pchev/skychart/commit/f676e2b62a44adf59bec20bafd9955006d905d3c

Now if the cursor is too far from the object in Aladin it center to the new point and show a label for the nearest object from any catalog, if nothing it show a dummy label with the clicked position.

I build a version with this change so you can test how it work for you.
Please download and install:
https://vega.ap-i.net/tmp/skychart-4.1.1-3847-x86_64-macosx.dmg

Andre Kovacs

19-01-23 15:24

reporter   ~0005273

Hi Patrick,

Unfortunately, the same issue with invalid dmg that I had reported last year for CCDciel (2040: OS X 10.11.6 says that the installer dmg package is invalid) is also happening with the dmg you provided.

Thanks,
Andre

Patrick Chevalley

19-01-23 16:28

administrator   ~0005274

Sorry, I forget about this issue, I correct CCDciel but not Skychart.
This is because the package is build on the APFS system disk, not supported by 10.11.

The corrected package with HFS filesystem is here:
https://vega.ap-i.net/tmp/skychart-4.1.1-3848-x86_64-macosx.dmg

Andre Kovacs

19-01-23 16:54

reporter   ~0005275

Hi Patrick,

All issues are fixed now.

Thanks,
Andre

Patrick Chevalley

19-01-23 17:12

administrator   ~0005276

Good, thank you for your help!

Issue History

Date Modified Username Field Change
19-01-22 22:53 Andre Kovacs New Issue
19-01-23 11:09 Patrick Chevalley Assigned To => Patrick Chevalley
19-01-23 11:09 Patrick Chevalley Status new => feedback
19-01-23 11:09 Patrick Chevalley Target Version => 4.2
19-01-23 11:09 Patrick Chevalley Note Added: 0005270
19-01-23 13:13 Andre Kovacs Note Added: 0005271
19-01-23 13:13 Andre Kovacs Status feedback => assigned
19-01-23 14:59 Patrick Chevalley Status assigned => feedback
19-01-23 14:59 Patrick Chevalley Note Added: 0005272
19-01-23 15:24 Andre Kovacs Note Added: 0005273
19-01-23 15:24 Andre Kovacs Status feedback => assigned
19-01-23 16:08 Patrick Chevalley Note View State: 0005272: private
19-01-23 16:08 Patrick Chevalley Note View State: 0005272: public
19-01-23 16:28 Patrick Chevalley Note Added: 0005274
19-01-23 16:54 Andre Kovacs Note Added: 0005275
19-01-23 17:12 Patrick Chevalley Status assigned => resolved
19-01-23 17:12 Patrick Chevalley Resolution open => fixed
19-01-23 17:12 Patrick Chevalley Fixed in Version => 4.1 SVN
19-01-23 17:12 Patrick Chevalley Note Added: 0005276