joelpt / sidewise

Persistent sidebar extension for Chrome featuring tree style tabs and tab hibernation.
Creative Commons Zero v1.0 Universal
68 stars 13 forks source link

Youtube - Pressing F in windowed mode to go fullscreen results in window going full screen #87

Open stephen147 opened 3 years ago

stephen147 commented 3 years ago

To reproduce:

  1. Don't have chrome window maximised, have in window mode.
  2. Open a Youtube video and press F to put the video fullscreen.
  3. Press F again to put the video to its normal size.
  4. The window will resize to the size to the monitor.

When the plugin is disabled this normal behaviour of doing this doesn't result in step 4 where the chrome window gets resized, it retains the same window size as before.

This also doesn't happen when the setting is Dock sidebar to this side of the window > undocked or right.

When it's set to Left, this is where the bug lies.

stephen147 commented 3 years ago

I think this was due to me using custom scaling on my monitor. I had it at 110% on my 42-inch 4k monitor.

The detection was bugging out. Changing it to 100% works.

I'll leave this open as a future suggestion to have custom scaling of monitors.