You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[$500] Compose-Sending message page flickers & sending link page shows loading for a second #30495
Version Number: 1.3.92-0 Reproducible in staging?: Y Reproducible in production?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers): Logs:https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by: Applause-Internal Team Slack conversation: @
Action Performed:
Launch app
Tap on a report
Send any message
Send any url
Expected Result:
Sending message page must not flicker & sending link page must not show loading for a second also.
Actual Result:
Sending message page flickers & sending link page shows loading for a second
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
changed the title [-]Compose-Sending message page flickers & sending link page shows loading for a second[/-][+][$500] Compose-Sending message page flickers & sending link page shows loading for a second[/+]on Oct 27, 2023
Please re-state the problem that we are trying to solve in this issue.
Sending link page shows loading for a second
What is the root cause of that problem?
We'll show the loading in the bottom of the screen whenever we're loading new messages, when we scroll to the bottom of the screen, it will trigger onStartReached which will trigger the loading of newest chats.
The problem is when we send a new message to the chat ourselves, we'll also trigger scrolling to the bottom here, which will also trigger the loading. That's why we see the loading after sending the message, and the flicker.
What changes do you think we should make in order to solve the problem?
We should not load new chats when the scroll to bottom happens due to automatic scrolling (when we send a new message to the chat ourselves).
We need to set a variable/ref like isAutomaticScrollToBottom to true before we trigger scrolling to bottom, in loadNewerChats, if we see isAutomaticScrollToBottom is true, we'll set it to false, and early return (do not load the newest chats).
What alternative solutions did you explore? (Optional)
changed the title [-][HOLD ON #33725] [$500] Compose-Sending message page flickers & sending link page shows loading for a second[/-][+][$500] Compose-Sending message page flickers & sending link page shows loading for a second[/+]on Jan 30, 2025
Hey guys, I just read up on all context!
I might be missing something but I don't think that the original issue is reproducible. Please compare the original bug video side-by-side with the recent "still reproducible" recordings. The original issue is about:
There is a visible blank flicker when sending a message to the chat
Once the message is sent a loading indicator appears eventually
In the recent recordings there are definitely problems visible, but I would say they are different from the original one and would require a new issue ticket (?):
The composer isn't resizing immediately when the content changes
When sending longer messages there is no "push animation" for the message entering but it just appears instantly
and …
… the most severe one is a content jump where the message: appears (instantly), disappears, re-appears (w/ animation):
Frame 1
Frame 2
Frame 3
Frame 4 (w/ anim.)
I believe that the reason for this content jump (& the other two problems stated above), are technically different from this issue ticket. I'd say that the original issue is actually fixed and these are new ones.
Let me know if you agree / disagree 😊
I also believe that the content jump might be fixed with #54764 (or at least it would be better to fix it after that PR landed as the mentioned PR will change the behaviour of the chat quite a bit technically)
thanks for the breakdown. I will ask QA to also retest and see what they find. We can wait for the draft PR to hit production before creating new improvement tickets.
Activity
melvin-bot commentedon Oct 27, 2023
Triggered auto assignment to @bfitzexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.[-]Compose-Sending message page flickers & sending link page shows loading for a second[/-][+][$500] Compose-Sending message page flickers & sending link page shows loading for a second[/+]melvin-bot commentedon Oct 27, 2023
Job added to Upwork: https://www.upwork.com/jobs/~01e22aad449d431bed
melvin-bot commentedon Oct 27, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)melvin-bot commentedon Oct 27, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @0xmiroslav (
External)tienifr commentedon Oct 28, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Sending link page shows loading for a second
What is the root cause of that problem?
We'll show the loading in the bottom of the screen whenever we're loading new messages, when we scroll to the bottom of the screen, it will trigger onStartReached which will trigger the loading of newest chats.
The problem is when we send a new message to the chat ourselves, we'll also trigger scrolling to the bottom here, which will also trigger the loading. That's why we see the loading after sending the message, and the flicker.
What changes do you think we should make in order to solve the problem?
We should not load new chats when the scroll to bottom happens due to automatic scrolling (when we send a new message to the chat ourselves).
We need to set a variable/ref like
isAutomaticScrollToBottomto true before we trigger scrolling to bottom, inloadNewerChats, if we seeisAutomaticScrollToBottomis true, we'll set it to false, and early return (do not load the newest chats).What alternative solutions did you explore? (Optional)
NA
melvin-bot commentedon Oct 30, 2023
@bfitzexpensify, @0xmiroslav Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
bfitzexpensify commentedon Oct 31, 2023
How does the proposal in #30495 (comment) look @0xmiroslav?
104 remaining items
roryabraham commentedon Jan 30, 2025
This is an old issue, and the issue it's held on doesn't seem like it's going to move quickly at all. Requesting retest to see if this is still even happening: https://expensify.slack.com/archives/C9YU7BX5M/p1738202864490269
mvtglobally commentedon Jan 30, 2025
reproducible on Samsung A50/Android11
0-02-01-4099d9da644440d3d1f250a88a17451e1ac5a43c1bf3d20774485fa2501df7a4_2c1f0c3d4ce6f38a.mp4
not repro on Xiaomi Redmi Note 10 / Android 12
Screenrecorder-2025-01-30-17-09-43-813.mp4
IOS result
7d.mp4
roryabraham commentedon Jan 30, 2025
Given that this is still reproducible, and it's unclear when or if the issue it's on HOLD for will be addressed, I suggest we take this off HOLD
[-][HOLD ON #33725] [$500] Compose-Sending message page flickers & sending link page shows loading for a second[/-][+][$500] Compose-Sending message page flickers & sending link page shows loading for a second[/+]hannojg commentedon Feb 17, 2025
We will take a second look!
mountiny commentedon Mar 7, 2025
@hannojg how is this looking?
hannojg commentedon Mar 10, 2025
Hey guys, I just read up on all context!
I might be missing something but I don't think that the original issue is reproducible. Please compare the original bug video side-by-side with the recent "still reproducible" recordings. The original issue is about:
278624932-5f34d223-8b10-4562-8794-79fae203a261.mp4
408177800-bab2fa68-d681-4f05-a140-acee7955f3e1-2.mp4
In the recent recordings there are definitely problems visible, but I would say they are different from the original one and would require a new issue ticket (?):
… the most severe one is a content jump where the message: appears (instantly), disappears, re-appears (w/ animation):
I believe that the reason for this content jump (& the other two problems stated above), are technically different from this issue ticket. I'd say that the original issue is actually fixed and these are new ones.
Let me know if you agree / disagree 😊
I also believe that the content jump might be fixed with #54764 (or at least it would be better to fix it after that PR landed as the mentioned PR will change the behaviour of the chat quite a bit technically)
mountiny commentedon Mar 10, 2025
thanks for the breakdown. I will ask QA to also retest and see what they find. We can wait for the draft PR to hit production before creating new improvement tickets.
izarutskaya commentedon Mar 10, 2025
Issue is not reproduced
Screenrecorder-2025-03-10-22-01-34-198.mp4
mountiny commentedon Mar 10, 2025
@roryabraham what do you think of closing this one and after #54764 is deployed, we can look for further improvements?