Closed
Bug 1458665
Opened 7 years ago
Closed 6 years ago
Slack's red line delineating unread messages jumps around instead of scrolling smoothly
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1464568
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox-esr60 | --- | unaffected |
firefox59 | --- | unaffected |
firefox60 | --- | unaffected |
firefox61 | --- | fixed |
firefox62 | --- | fixed |
People
(Reporter: cpeterson, Unassigned)
References
Details
(Keywords: regression, regressionwindow-wanted)
I'm seeing a Slack scrolling glitch in Firefox Nightly. When I switch to a Slack channel with unread messages, there is a red line delineating read and unread messages. When I then scroll the message frame, the red line jumps around instead of scrolling smoothly. Once the red line scrolls out of and back into view, it will then scroll smoothly instead of jumping.
I think this is a recent regression in Nightly 61, but the bug is hard to reproduce because it depends on someone else sending new unread messages to a channel.
I joined the Mozilla Slack's #random channel, hoping to receive enough unread messages to bisect the bug in a reasonable time. But even #random is not active enough for bisect the bug in a practical way. Is there an even more active channel, maybe on a different Slack server?
Reporter | ||
Comment 1•7 years ago
|
||
Karl, I *think* this Slack bug might be a regression from CycleCollectedJSContext bug 1455210. I bisected the regression range using mozregression, but I'm not very confident in this regression range because I might not have been testing the right STR. Here are the correct STR:
STR:
1. Switch to a quiet channel.
2. Wait for a chatty channel's name to be highlighted when it has an unread messages.
3. Switch to the unread channel.
4. Slowly scroll the red line up and down, but do not let it scroll out of view.
RESULT:
The red line jumps up and down instead of scrolling smoothly.
If you in the chatty channel when new unread messages arrive, Slack still shows the red line but it will scroll smoothly. The key is that you must switch to the chatty channel *after* the unread messages arrive for the red line to jump up and down.
Flags: needinfo?(karlt)
Comment 2•7 years ago
|
||
Hmmm. Changes for bug 1455210 were confined to worker threads.
The changes that weren't confined to debugging worker threads were just the removal of null checks, and so any errors in assumptions would lead to crashes.
Flags: needinfo?(karlt)
Updated•7 years ago
|
status-firefox-esr52:
--- → unaffected
status-firefox-esr60:
--- → unaffected
Reporter | ||
Comment 3•7 years ago
|
||
I've tried to bisect this bug a few times now, but have a hard to reproducing reliably. I sometimes only see the jumpy red line on the second unread message in a browser session.
The earliest Nightly where I have definitely reproduced the bug is 2018-04-24 and the earliest changeset is b63e4bff951e97ce23e5673cb55a990a1bbb1a3c (bug 1455210 again). But it is possible there are earlier affected builds and I was just not able to reliably reproduce the problem.
Reporter | ||
Comment 4•7 years ago
|
||
I've tried to bisect this bug about five times and three times I landed on the same pushlog with CycleCollectedJSContext bug 1455210. If anyone else wants to try bisecting this bug, I can help.
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=b63e4bff951e97ce23e5673cb55a990a1bbb1a3c&tochange=eb34acceb9dcba6faff9eee5e8c9183755ddd37a
Reporter | ||
Comment 5•7 years ago
|
||
I can reproduce this bug on both Windows and macOS.
OS: Unspecified → All
Reporter | ||
Comment 6•7 years ago
|
||
Hmm. I am no longer able to reproduce this problem. I don't know if Firefox changed or the site changed. I'm going to close this bug WORKSFORME for now.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 7•7 years ago
|
||
Reopening because I can reproduce this bug again, though only about 50% of the time instead of 90+%.
Comment 8•7 years ago
|
||
Hi Brindusa, could you help find reliable STR? Thanks!
Flags: needinfo?(brindusa.tot)
Comment 9•6 years ago
|
||
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0
I can easily reproduce this issue on latest Nightly 62.0a1, build ID 20180520220103, with the steps provided by Chris in comment 1:
Steps to reproduce:
1. Switch to a quiet channel.
2. Wait for a chatty channel's name to be highlighted when it has few unread messages.
3. Switch to the unread channel.
4. Slowly scroll the red line up and down, but do not let it scroll out of view.
RESULT:
The red line jumps up and down instead of scrolling smoothly.
Flags: needinfo?(brindusa.tot)
Comment 10•6 years ago
|
||
I did a regression range on Windows 10 x64 and here is the regression window:
Last good revision: c4027f932a5276de4d704103e0d0f0361b94d61a
First bad revision: 26b85ad253292610b73779c14549ba5674b898bc
Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=c4027f932a5276de4d704103e0d0f0361b94d61a&tochange=26b85ad253292610b73779c14549ba5674b898bc
Reporter | ||
Comment 11•6 years ago
|
||
Emilio, Hani suspects your fix for SVG text bug 1421807 might have caused this Slack regression. Do you think it could be the cause?
I tried to bisect this regression before. I think my bisection was wrong because the bug is tricky to reproduce. I landed on a different changeset from the same date Hani did, though, which suggests we are close to the true regression range.
Blocks: 1421807
Flags: needinfo?(emilio)
Comment 12•6 years ago
|
||
Sounds highly unlikely, since that patch only prevents us from creating svg frames in shadow DOM / XBL / display: contents to avoid crashes.
The first is still disabled on nightly by default, and the second is not accessible to content.
Flags: needinfo?(emilio)
Updated•6 years ago
|
Component: General → Layout
Updated•6 years ago
|
Comment 13•6 years ago
|
||
I still see this sometimes.
Another thing I see which may be the same bug is on MozReview, where the animated spinners for loading parts of a patch jump around when I scroll the page.
Comment 14•6 years ago
|
||
(In reply to Cameron McCormack (:heycam) from comment #13)
> I still see this sometimes.
This was with a few day old Nightly.
I'm told this bug is now fixed by 1464568, so marking this a dupe of that one.
Status: REOPENED → RESOLVED
Closed: 7 years ago → 6 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•