Bug 423590

Summary: KStars drops the fractional value for the coordinates
Product: [Applications] kstars Reporter: Alex Fliker <alex.kdebugzilla>
Component: generalAssignee: Jasem Mutlaq <mutlaqja>
Status: REPORTED ---    
Severity: normal CC: alex.kdebugzilla
Priority: NOR    
Version First Reported In: 3.4.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alex Fliker 2020-06-27 15:48:59 UTC
STEPS TO REPRODUCE
1. Enter a coordinate which will contain fractional value: 46 21 20.54
2. Save it
3. It does affect the sky, which means it works (I've been changing the value from 20.00 to 20.99 to test it)
4. Re-run KStars

OBSERVED RESULT
Fractional part is is now .00 (e.g. 46 21 20.00)

EXPECTED RESULT
It should have stayed as 46 21 20.54

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.19
KDE Plasma Version: 5.19.2
KDE Frameworks Version: 5.71.0
Qt Version: 5.14.2
Kernel Version: 5.4.0-38-generic
OS Type: 64-bit
Processors: 8 × Intel® Xeon® CPU E5450 @ 3.00GHz
Memory: 31.4 GiB of RAM
Graphics Processor: GeForce GTX 960/PCIe/SSE2

ADDITIONAL INFORMATION
I checked the mycitydb.sqlite - fractional part is just absent there. I tried to add it manually and KStars read it correctly, no issues caused by this manual intervention
Comment 1 Jasem Mutlaq 2021-09-13 08:09:58 UTC
Right, there is no sub-second support in mycitydb.sqlite. It needs to be updated, along with the code, to support such feature. I suspect whatever benefit this brings however is going to be overshadowed by mount tracking and pointing errors.

Nevertheless, we're open to having this implemented. Do you have any experience in C++ to implement this change?