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

Invalid dates displayed in "Market/Trades" view #6151

Closed
ahmogit opened this issue Apr 16, 2022 · 5 comments · Fixed by #6201
Closed

Invalid dates displayed in "Market/Trades" view #6151

ahmogit opened this issue Apr 16, 2022 · 5 comments · Fixed by #6201

Comments

@ahmogit
Copy link

ahmogit commented Apr 16, 2022

Description

The price and volume charts in the "Market/Trades" view often show invalid dates on the time axis. See example screenshot.

Unable to reproduce consistently, but have seen it many times. The invalid date is often the unix epoch 0 date (Dec. 31, 1969), as in the attached example.

Version

1.8.4, Arch linux, from package bisq-bin 1.8.4-1

Steps to reproduce

Unable to find the magic incantation that causes it, but have seen it many times during normal use. It is not a rare occurrance.

Expected behaviour

Correct dates shown.

Actual behaviour

Wrong dates shown. See time axis on screenshot

Screenshots

attached

Device or machine

i86_64 commodity laptop
bisq_ui_date_bug

@boring-cyborg
Copy link

boring-cyborg bot commented Apr 16, 2022

Thanks for opening your first issue here!

Be sure to follow the issue template. Your issue will be reviewed by a maintainer and labeled for further action.

@ahmogit ahmogit changed the title Invalid dates displayed in "Market" view Invalid dates displayed in "Market/Trades" view Apr 16, 2022
@ghost
Copy link

ghost commented May 5, 2022

I tried but couldn't reproduce this issue. It's probably either:

@ahmogit
Copy link
Author

ahmogit commented May 5, 2022

Interesting. I'll try to come up with a recipe for reproducing it.

The interesting thing is that on my system, this behavior is quite common; I'd guess that invalid dates are displayed on startup about 1/3 of the time, perhaps even more often than that.

One additional observation, fwiw: Iirc, the invalid dates usually show up only when the candle time interval (upper right selector) is set to "day". If I switch the candle interval to "hour" and then immediately back to "day", the dates shown in the "day" view have reverted to correct.

@ghost
Copy link

ghost commented May 10, 2022

To reproduce:

  • Click on Market -> Trades. The volume chart is shown correctly.
  • Change the currency filter.
  • Click on another menu, e.g. Settings.
  • Click on Market -> Trades. The volume chart is shown with all dates=31/Dec/1969.

@ahmogit
Copy link
Author

ahmogit commented May 10, 2022

Nice detective work Opie, thanks! I can confirm it fails for me consistently in bisq 1.9.1, using exactly the sequence you state.

How did you find this? I clicked and clacked around for the better part of an hour and couldn't come up with the magic formula that would reproduce it consistently.

Anyway... thanks again for the legwork. Your recipe ought to render it easily debuggable by the devs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant