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

Wrong message order due to timezone when quickly chatting #1775

Open
1 task done
dvmatyun opened this issue Nov 14, 2023 · 11 comments
Open
1 task done

Wrong message order due to timezone when quickly chatting #1775

dvmatyun opened this issue Nov 14, 2023 · 11 comments
Labels
bug Something isn't working

Comments

@dvmatyun
Copy link

Which packages are you using?

stream_chat_flutter

On what platforms did you experience the issue?

Android

What version are you using?

stream_chat_flutter: ^6.11.0

What happened?

Wrong message order when chatting using phones with different time zones
wrong_message_order

Steps to reproduce

1. Take 2 phones with different time zones and different minute settings
2. Make a chat and send a couple of messages
3. New messages will not appear at the bottom (but they actually must, because they are new)

So maybe use server timestamps?

Supporting info to reproduce

No response

Relevant log output

No response

Flutter analyze output

flutter analyze
Analyzing qyre-flutter...                                               
No issues found! (ran in 18.1s)

Flutter doctor output

fvm flutter doctor -v        
[√] Flutter (Channel stable, 3.13.9, on Microsoft Windows [Version 10.0.22621.2428], locale ru-RU)
    • Flutter version 3.13.9 on channel stable at C:\Users\dima\fvm\versions\3.13.6
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d211f42860 (9 days ago), 2023-10-25 13:42:25 -0700
    • Engine revision 0545f8705d
    • Dart version 3.1.5
    • DevTools version 2.25.0

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at C:\sdk\Android\android-sdk
    • Platform android-33, build-tools 33.0.0
    • ANDROID_HOME = C:\sdk\Android\android-sdk
    • Java binary at: C:\Users\dima\Downloads\android-studio-2023.1.1.10-windows\android-studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10353782)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.7.4)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.7.34031.279
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2022.1)
    • Android Studio at C:\Program Files\Android\android-studio-canary
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[√] Android Studio (version 2023.1)
    • Android Studio at C:\Users\dima\Downloads\android-studio-2023.1.1.10-windows\android-studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-b2043.56-10353782)

[√] VS Code, 64-bit edition (version 1.82.2)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.76.0

[√] Connected device (4 available)
    • Android SDK built for x86 64 (mobile) • emulator-5554 • android-x64    • Android 11 (API 30) (emulator)
    • Windows (desktop)                     • windows       • windows-x64    • Microsoft Windows [Version 10.0.22621.2428]
    • Chrome (web)                          • chrome        • web-javascript • Google Chrome 118.0.5993.120
    • Edge (web)                            • edge          • web-javascript • Microsoft Edge 118.0.2088.76

[√] Network resources
    • All expected network resources are available.

• No issues found!

Code of Conduct

  • I agree to follow this project's Code of Conduct
@dvmatyun dvmatyun added the bug Something isn't working label Nov 14, 2023
Copy link

This issue is stale because it has been open for 20 days with no activity.

@github-actions github-actions bot added the Stale label Feb 22, 2024
@dvmatyun
Copy link
Author

Is it really stale?)

@github-actions github-actions bot removed the Stale label Feb 22, 2024
Copy link

This issue is stale because it has been open for 20 days with no activity.

@github-actions github-actions bot added the Stale label Mar 14, 2024
Copy link

This issue was closed because it has been inactive for 7 days since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 21, 2024
@FrogMustang
Copy link

Not stale... Still happens on 7.2.2

@xsahil03x
Copy link
Member

@dvmatyun reopening the issue, We will look into this once our priority tasks are completed. Thanks.

@xsahil03x xsahil03x reopened this Oct 22, 2024
@xsahil03x xsahil03x changed the title Wrong message order when quickly chatting Wrong message order due to timezone when quickly chatting Oct 22, 2024
@github-actions github-actions bot removed the Stale label Oct 30, 2024
Copy link

This issue is stale because it has been open for 20 days with no activity.

@github-actions github-actions bot added the Stale label Nov 20, 2024
@FrogMustang
Copy link

Still not stale...

@github-actions github-actions bot removed the Stale label Nov 20, 2024
@dvmatyun
Copy link
Author

I think I fixed it (by forking their library and ensuring correct messages order). If somebody's business needs my help with this poor - contact me

Copy link

This issue is stale because it has been open for 20 days with no activity.

@github-actions github-actions bot added the Stale label Dec 15, 2024
@FrogMustang
Copy link

Did the official team get a chance to fix this?

@github-actions github-actions bot removed the Stale label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants