stellarium icon indicating copy to clipboard operation
stellarium copied to clipboard

Only 2 steps in date stepper

Open StarFlea opened this issue 1 year ago • 17 comments

Hello folks!

The following (reproducible) problem:

  1. The moon is selected and centered.
  2. Date/Time settings are opened
  3. If the date is changed via the stepper, it always makes 2 jumps instead of one, e.g. from 2024 to 2022...

3

Only the year, month and day are affected, but not the time. Apparently the phenomenon only occurs when the moon is selected. It works perfectly with the sun...

Version: 24.1 Qt5 Windows 10 All graphics drivers are up to date

Greetings! Star Flea

StarFlea avatar Apr 04 '24 17:04 StarFlea

I don't reproduce. Works as expected when

  • rotating the mouse wheel while hovering over the number,
  • clicking arrow buttons,
  • pressing arrow keys when the control is in focus.

10110111 avatar Apr 04 '24 17:04 10110111

OK, i checked it...

  • Mouse wheel: works fine!
  • Arrow keys: works fine!
  • Arrow buttons: dont work!

It takes a second or two before it automatically jumps to the overnext date, but I can't prevent this jump! I restarted Stellarium several times but no effect.. Please check, if can reproduce it, when you pause the simulation. Did you select and center the moon? Only then does this behavior seem to occur...

Here are my time configurations: Unbenannt

StarFlea avatar Apr 04 '24 17:04 StarFlea

OK, i found the reason:

If i deactivate in "Displayed fields" the checkbox "Risings, Transits, and Settings" (RTS) the problem disappears! ;-)

StarFlea avatar Apr 04 '24 18:04 StarFlea

Tried with pausing an unpausing, the Moon being selected and centered all this time. Still no repro.

It takes a second or two before it automatically jumps to the overnext date, but I can't prevent this jump!

Can you describe in detail what you observe? Maybe the date does change but the control is not redrawn?

If i deactivate in "Displayed fields" the checkbox "Risings, Transits, and Settings" (RTS) the problem disappears!

This is even stranger. I also had this checkbox enabled all this time, and couldn't reproduce.

10110111 avatar Apr 04 '24 18:04 10110111

Ok, i try to describe:

  1. Start Stellarium
  2. Ensure, RTS is enabled
  3. Set date to 2025 - 4 - 4 / 20:15:00
  4. Select moon and center it
  5. Klick to the up-arrow in year: date jumps to 2024-04-04 (in settings and simulation) and a second later it jumps on its own to 2025-04-04 (in settings and simulation)

StarFlea avatar Apr 04 '24 18:04 StarFlea

I also cannot reproduce this. Pressing the up arrow button advances to 2026-04-04. May depend on configured plugins or other settings as well.

gzotti avatar May 11 '24 12:05 gzotti

Strange, the behavior still occurs for me... Did you pause the simulation and select and center the moon? Is RTS enabled?

StarFlea avatar May 11 '24 19:05 StarFlea

Yes, I think I followed to the point. Maybe I had time 20:15:47 but tell me this matters! Or did I select the Moon before setting date? Does this make a difference?

gzotti avatar May 11 '24 19:05 gzotti

No, the date doesn't matter.

I just tried selecting the moon first (without centering) with the current date (2024-05-11). Now, the double jump takes place in the month and not in the year...

The only thing that seems to matter is whether RTS is activated and the moon is selected.

I'm using a Qt5 version. Can this make a difference?

StarFlea avatar May 11 '24 20:05 StarFlea

The day is now also affected by the double jump.

Interestingly, the time remains unaffected.

StarFlea avatar May 11 '24 20:05 StarFlea

Still no "luck" for me. Also with 24.1/Qt5.

gzotti avatar May 11 '24 21:05 gzotti

Wild guess: Some issue around timezone and the actual changes in whether the Moon has transit shortly before/after midnight. Is the jump on any date, or by chance just today and that 2025-4-4? Of course, if the up arrow works, the button should work the same way.

gzotti avatar May 11 '24 21:05 gzotti

The date doesn't seem to matter! I just tried it with today's date. It also doesn't seem to matter whether the moon has already crossed the meridian or not. Only the date field is affected, but not the time field! Here, the year, month or day are skipped using the up arrow, but also with the down arrow. Using the up and down keys on the keyboard works fine!

StarFlea avatar May 12 '24 17:05 StarFlea

It doesn't matter whether the simulation is running or paused...

StarFlea avatar May 12 '24 17:05 StarFlea

Here are my settings... Information

StarFlea avatar May 12 '24 18:05 StarFlea

Can you try a reset: rename config.ini to start "like new". Maybe there is some setting involved that we never think of.

gzotti avatar May 12 '24 18:05 gzotti

I recreated the config.ini: no effect! :-(

StarFlea avatar May 12 '24 18:05 StarFlea

@StarFlea would you check 24.3RC1?

alex-w avatar Sep 13 '24 15:09 alex-w

Hi Alex,

The problem seems to have been resolved now, at least I can't reproduce it anymore! Has something changed? Now I'm curious!

StarFlea avatar Sep 13 '24 17:09 StarFlea

This is a good question.

alex-w avatar Sep 13 '24 23:09 alex-w

Hello @StarFlea!

Please check the fresh version (development snapshot) of Stellarium: https://github.com/Stellarium/stellarium-data/releases/tag/weekly-snapshot

github-actions[bot] avatar Sep 16 '24 14:09 github-actions[bot]

Hello @StarFlea!

Please check the latest stable version of Stellarium: https://github.com/Stellarium/stellarium/releases/latest

github-actions[bot] avatar Sep 22 '24 14:09 github-actions[bot]