Closed Bug 1468066 Opened 6 years ago Closed 5 years ago

Twitch chat messages aren't fully shown

Categories

(Core :: Layout, defect, P3)

62 Branch
Desktop
All
defect

Tracking

()

RESOLVED DUPLICATE of bug 1316534
Tracking Status
firefox64 --- affected
firefox65 --- affected
firefox66 --- affected

People

(Reporter: u619128, Unassigned)

References

()

Details

(Keywords: top50)

Attachments

(5 files)

Attached image twich_chat2.gif (deleted) —
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0 Build ID: 20180609220554 Steps to reproduce: 1- Launch Firefox. 2- Go to https://www.twitch.tv/videos/268868741 3- The problem will appear nearly at (02:53:52). Twitch may delete this video so i uploaded an attachment for the problem. Actual results: Some words of some messages won't show up. Expected results: Be able to see the full text of the messages.
Attached image twich_chat.gif (deleted) —
(In reply to rayan from comment #1) > Created attachment 8984730 [details] > twich_chat.gif The video URL of this attachment is (https://www.twitch.tv/videos/263515454) it happens nearly at (02:50:32)
There are some flexboxes in there, fwiw...
Component: General → Layout
Attached image screenshot in Chrome (deleted) —
Here's a screenshot in Chrome -- as you can see, the one wide message in question is clipped in Chrome (both the little "embedded" piece, as well as the normal chat text above it. The full line of (clipped) text is: "Shoshi19: EXACT split was at 2:21:43.0 - see stream at 02:45:02" So the behavior-difference here is that Firefox is letting this message make the whole chat area wider than its sidebar; whereas in Chrome, just this one message (including its text) is wider.
Edge seems to match Chrome's behavior, too, so this is likely indeed a Firefox bug (unlike kinda-similar bug 1426644).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(dholbert)
Flags: needinfo?(dholbert)
Priority: -- → P3
Flags: needinfo?(dholbert)
If I add "min-width: 0" to the div with class="qa-vod-chat", then Firefox changes to match Chrome's rendering. That element has "width: 100%", which is *supposed to* prevent the automatic minimum width from resolving to anything larger than 100% of the container's space. But it does not prevent that in Firefox right now; this is bug 1331692 (which is duped to the more general bug 1136312; I'll mark this as depending on that more general bug. But the description on bug 1331692 is what most directly covers this rendering issue, hence adding that to "see also". I'm keeping this as its own bug since it's worth independently tracking the fact that Twitch is affected by this.)
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(dholbert)
Resolution: --- → DUPLICATE
Status: RESOLVED → REOPENED
Depends on: 1136312
Resolution: DUPLICATE → ---
The twitch video from comment 0 was not working anymore so I had to search for another video with a similar comment where the issue would reproduce. It appears it is related to the fact that those comments that spill out are missing spaces between works. The following STR should be valid: 1. Open browser. 2. Loar the following link: https://www.twitch.tv/videos/347388247 3. Seek to rewind the video to just before time 6:37:50. 4. Let the video run through the time mentioned above. 5. Notice that at 6:37:50, there is a comment from the user "slighltyreckless" saying: "Oooloooolokollkoooooolookolkkokkkoooôoioooo". Actual: Only the first part of the comment is displayed because it spills out due to the lack of spaces in the message. Expected: The browser should display the remaining part of the comment in a new row. I have removed the testcase-wanted tag and added other information after my tests.
Keywords: testcase-wanted
OS: Unspecified → All
Hardware: Unspecified → Desktop
Depends on: 1316534
No longer depends on: 1136312

Good news! astevenson just retested this on twitch with a wide message (which he prevented from wrapping by unticking word-wrap:break-word in devtools), and he found that this is no longer reproducible on the live twitch site.

Having said that, the attached testcase still reproduces the bug (the right edge of the purple border is not visible in Firefox, and the button at the top-right extends offscreen), and I believe that's an instance of bug 1316534.

So: I'm going to dupe this to bug 1316534 and we can circle back and retest this testcase when that bug is fixed.

Status: REOPENED → RESOLVED
Closed: 6 years ago5 years ago
Resolution: --- → DUPLICATE
No longer depends on: 1316534
Attachment #9092421 - Attachment description: screenshot of the bug not-reproducing → screenshot of the bug not-reproducing on live twitch site
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: