Skip to content
This repository has been archived by the owner on Jul 22, 2023. It is now read-only.

Video not resizing according to window size (Both Stream and Video) #32

Open
2 tasks
hyroqi opened this issue Jun 3, 2022 · 1 comment
Open
2 tasks
Assignees
Labels
Bug Something isn't working

Comments

@hyroqi
Copy link

hyroqi commented Jun 3, 2022

Describe the bug
Video and Streams that are ultrawide do not scale with window size, causing a cutoff edge on the right side of the screen

To Reproduce
*Easier to be seen if friend is streaming on ultrawide

  1. Have a friend stream
  2. Watch the stream
  3. Adjust discord window until aspect ratio can't fit the stream

Expected behaviour
Video should resize to fit the current available space.

Screenshots
If applicable, add screenshots to help explain your problem.

  • With voicechat members hidden
    image
  • With voicechat members showing
    image
  • Intended Scaling (default discord)
    image

Operating System:
Which operating system do you use?

  • Linux
  • [*] Windows
  • macOS

Additional context
Having a Slim Squircle / Square / Round preset makes it much worse
Alignment of sidebar to the right or left don't affect the bug, it still doesn't scale either way

@hyroqi hyroqi added the Bug Something isn't working label Jun 3, 2022
@CorellanStoma
Copy link
Member

Thanks for the info, I also noticed it, the classes are used differently in many places, which makes the adjustment not so easy, I deactivated the code with the last push for now and will add this again when I could fix the bugs. This will look not so nice, but this way the functionality should be back.

The theme should load the minutes automatically, so you wouldn't have to reload anything.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants