youtube icon indicating copy to clipboard operation
youtube copied to clipboard

🐞Livestream comments sidebar cinema mode bug

Open xephyrbreaker opened this issue 5 months ago • 5 comments

Concise Description

When comments are set to sidebar mode and a livestream with chat window is open, setting browser window to half-screen and then enabling cinema mode will cause empty sidebar to appear instead of video taking up full horizontal view.

Image

Browser/s

Firefox

Other Browser:

No response

'Steps to reproduce' - Which of our features is required for the bug to happen?

Enable comments sidebar. Open a livestream. Enable chat view. Snap browser window to side. Enable cinema mode.

Since when?

At least 14/6/26

Does the bug still happen when you log out of YouTube?

None

..No? Then please paste your yt.config_.EXPERIMENT_FLAGS. Twice (With the error & Without)

No response

Are any errors or related log-messages shown in the Browser-Console? (F12)

No response

Tested as the only active extension? (incognito mode or another browser users):

None

Expected preferred behavior:

No response

ImprovedTube Version

No response

Your Settings (From the Extension's ⋮-Hamburger menu > Settings > Backup & reset > Export settings)

No response

Your YouTube-Document

No response

OS / Device:

No response

xephyrbreaker avatar Jun 14 '26 21:06 xephyrbreaker

Hi, I'd like to work on this. I'll open a PR shortly.

Vaibhav-Chodankar avatar Jun 15 '26 10:06 Vaibhav-Chodankar

Thanks. I'm new to this; is there anything I need to do now? Or do I just wait? @Vaibhav-Chodankar

xephyrbreaker avatar Jun 15 '26 22:06 xephyrbreaker

PR is ready for review: https://github.com/code-charity/youtube/pull/3975

Reproduces the livestream + sidebar + cinema mode case from this issue. The fix treats cinema mode like theater/fullscreen for comments-sidebar layout, and includes a unit test in \ ests/unit/comments-sidebar.test.js.

Happy to adjust based on review feedback.

Vaibhav-Chodankar avatar Jun 16 '26 05:06 Vaibhav-Chodankar

Hi, Trying to load the extension from the manifest.json gives me this error:

Image

I am unable to test if the fixes work due to this, unless the css of the extension downloaded from the Firefox addons store can be edited?

EDIT: Ignore this reply, I am just slow :')

xephyrbreaker avatar Jun 16 '26 21:06 xephyrbreaker

Ok, I am able to load the extension from the manifest.json into Firefox. However, when I do so, the extension doesn't do anything, even after regranting permissions. This occurs both if the store version is removed before installing from file and if the store version is present before installing from file.

xephyrbreaker avatar Jun 16 '26 23:06 xephyrbreaker