Created attachment 153042 [details] Right Ascension field (21h ...) is interpreted as (01h ...) in the table below. SUMMARY *** When adding/editing a flag in KStars (left click Add flag) the Right Ascension field interprets data as degrees, not as hours. *** STEPS TO REPRODUCE 1. Open Add flag pressing left click in the star map. 2. Enter manually an R.A. and DEC on the corresponding fields 3. Enter a name for the flag and press the Add button 4. Check the wrong R.A. in the table of flags below. (see Attached screen capture) OBSERVED RESULT The wrong R.A. is stored, and centering the map or the telescope leads to a wrong R.A. EXPECTED RESULT The R.A. should be interpreted as hours correctly. SOFTWARE/OS VERSIONS Windows: macOS: 10.15.7 Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION It also happens in KStars 3.6.0
Created attachment 153443 [details] Screen Recording of the buggy behavior. I can confirm this bug exists in kstars 3.6.1 on KDE Neon 22.04. I'm using the Kstars-bleeding packages from the PPA. I've attached a short screen recording showing the broken behavior. A workaround is to enter the numbers multiplied by 15, then they are interpreted as the numbers you wanted.
Git commit da18bed5ca3fe01fb07325b7960b41fb9e071252 by Jasem Mutlaq. Committed on 04/11/2022 at 04:48. Pushed by mutlaqja into branch 'master'. Fix FlagManager RA box to show hours instead of degrees. FIXED-IN:3.6.2 M +2 -0 kstars/tools/flagmanager.cpp https://invent.kde.org/education/kstars/commit/da18bed5ca3fe01fb07325b7960b41fb9e071252
Git commit db86412a6f628ca8cde46197453e231aab220fed by Jasem Mutlaq. Committed on 08/11/2022 at 09:41. Pushed by mutlaqja into branch 'stable-3.6.1'. Fix FlagManager RA box to show hours instead of degrees. FIXED-IN:3.6.2 M +2 -0 kstars/tools/flagmanager.cpp https://invent.kde.org/education/kstars/commit/db86412a6f628ca8cde46197453e231aab220fed