Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only 2 steps in date stepper #3707

Open
StarFlea opened this issue Apr 4, 2024 · 17 comments
Open

Only 2 steps in date stepper #3707

StarFlea opened this issue Apr 4, 2024 · 17 comments
Labels
state: grading The problem is in process of classification...

Comments

@StarFlea
Copy link

StarFlea commented Apr 4, 2024

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

@10110111
Copy link
Contributor

10110111 commented Apr 4, 2024

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.

@StarFlea
Copy link
Author

StarFlea commented Apr 4, 2024

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
Copy link
Author

StarFlea commented Apr 4, 2024

OK, i found the reason:

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

@10110111
Copy link
Contributor

10110111 commented Apr 4, 2024

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.

@alex-w alex-w added this to Needs triage in GUI via automation Apr 4, 2024
@alex-w alex-w added this to Needs triage in TZ/Time via automation Apr 4, 2024
@alex-w alex-w added the bug Something likely wrong in the code label Apr 4, 2024
@StarFlea
Copy link
Author

StarFlea commented Apr 4, 2024

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)

@gzotti
Copy link
Member

gzotti commented May 11, 2024

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 gzotti added state: grading The problem is in process of classification... and removed bug Something likely wrong in the code labels May 11, 2024
@StarFlea
Copy link
Author

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

@gzotti
Copy link
Member

gzotti commented May 11, 2024

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?

@StarFlea
Copy link
Author

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
Copy link
Author

The day is now also affected by the double jump.

Interestingly, the time remains unaffected.

@gzotti
Copy link
Member

gzotti commented May 11, 2024

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

@gzotti
Copy link
Member

gzotti commented May 11, 2024

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.

@StarFlea
Copy link
Author

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
Copy link
Author

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

@StarFlea
Copy link
Author

Here are my settings...
Information

@gzotti
Copy link
Member

gzotti commented May 12, 2024

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

@StarFlea
Copy link
Author

StarFlea commented May 12, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: grading The problem is in process of classification...
Projects
GUI
  
Needs triage
TZ/Time
  
Needs triage
Development

No branches or pull requests

4 participants