Bug 423590 - KStars drops the fractional value for the coordinates
Summary: KStars drops the fractional value for the coordinates
Status: REPORTED
Alias: None
Product: kstars
Classification: Applications
Component: general (other bugs)
Version First Reported In: 3.4.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-27 15:48 UTC by Alex Fliker
Modified: 2021-09-13 08:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?