Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Settings per view mode #9

Open
iGerman00 opened this issue Nov 6, 2019 · 12 comments
Open

Settings per view mode #9

iGerman00 opened this issue Nov 6, 2019 · 12 comments

Comments

@iGerman00
Copy link

I have an ultrawide monitor, and watching 16:9 videos on it creates big black bars, which i do not want. I found the only working extension to be this, but it also makes the entire page glow, while i only want a fullscreen glow. Can you add an option to disable page glow and only leave fullscreen on?

@WesselKroos
Copy link
Owner

@iGerman00 I've been thinking about separating all the settings per view mode. There are 3 different view modes on the YouTube website: Fullscreen, Full width and 2/3th of the width. But I can imagine some users don't like their settings separated.

So, would a Settings per view mode toggle be an suitable solution for you?
It will look like this:
(But I will probably switch this toggle with the Enabled setting to make clear that it also includes the Enabled setting.)
YouTube Ambilight Settings per view mode

@iGerman00
Copy link
Author

iGerman00 commented Dec 29, 2019

@iGerman00 I've been thinking about separating all the settings per view mode. There are 3 different view modes on the YouTube website: Fullscreen, Full width and 2/3th of the width. But I can imagine some users don't like their settings separated.

So, would a Settings per view mode toggle be an suitable solution for you?
It will look like this:
(But I will probably switch this toggle with the Enabled setting to make clear that it also includes the Enabled setting.)
YouTube Ambilight Settings per view mode

Yes, this should do it. I have also noticed, in the recent times I have completely disabled the extension, because it seems to have a memory leak or something along the lines, and in some time it overflows the memory and the page crashes. I am using Opera

EDIT: Nevermind, I think it is fixed now? I just haven't had a chance to check.
EDIT2: Nope, still there, the ram usage jumped to like 5.5gb for opera

@WesselKroos
Copy link
Owner

I have also noticed, in the recent times I have completely disabled the extension, because it seems to have a memory leak or something along the lines, and in some time it overflows the memory and the page crashes. I am using Opera

EDIT: Nevermind, I think it is fixed now? I just haven't had a chance to check.
EDIT2: Nope, still there, the ram usage jumped to like 5.5gb for opera

I'm aware of a memory leak in the GPU memory on Chromium: https://bugs.chromium.org/p/chromium/issues/detail?id=1015729
But I'm not aware with a RAM memory leak.

@iGerman00 Is it the memory in the red box that's increasing?
image

@iGerman00
Copy link
Author

I have also noticed, in the recent times I have completely disabled the extension, because it seems to have a memory leak or something along the lines, and in some time it overflows the memory and the page crashes. I am using Opera
EDIT: Nevermind, I think it is fixed now? I just haven't had a chance to check.
EDIT2: Nope, still there, the ram usage jumped to like 5.5gb for opera

I'm aware of a memory leak in the GPU memory on Chromium: https://bugs.chromium.org/p/chromium/issues/detail?id=1015729
But I'm not aware with a RAM memory leak.

@iGerman00 Is it the memory in the red box that's increasing?
image

Nope. It is what it is, it's RAM, not gpu memory. It then kills the page when it runs out after a couple of minutes

@WesselKroos
Copy link
Owner

Hmm let's see if I can reproduce and debug it then.
How did you install the extension on Opera? Did you install the extension from the Chrome Webstore or via a other way?

@iGerman00
Copy link
Author

Hmm let's see if I can reproduce and debug it then.
How did you install the extension on Opera? Did you install the extension from the Chrome Webstore or via a other way?

I installed it from the Chrome Webstore, through the opera extension, self explanatory named “Install Chrome Extensions” on the opera add on catalog thing. Opera is Chromium after all these days.

@WesselKroos
Copy link
Owner

WesselKroos commented Dec 29, 2019

I installed it from the Chrome Webstore, through the opera extension, self explanatory named “Install Chrome Extensions” on the opera add on catalog thing. Opera is Chromium after all these days.

I can't seem to reproduce the bug on Windows 10 Version 10.0.18363 Build 18363 and Opera version 65.0.3467.78 with for example this video: https://www.youtube.com/watch?v=Bey4XXJAqS8
Could you share your YouTube Ambilight extension settings?
But maybe there is something else different between our setup.

@iGerman00
Copy link
Author

I installed it from the Chrome Webstore, through the opera extension, self explanatory named “Install Chrome Extensions” on the opera add on catalog thing. Opera is Chromium after all these days.

I can't seem to reproduce the bug on Windows 10 Version 10.0.18363 Build 18363 and Opera version 65.0.3467.78 with for example this video: https://www.youtube.com/watch?v=Bey4XXJAqS8
Could you share your YouTube Ambilight extension settings?
But maybe there is something else different between our setup.

I am using these settings, running Windows 10 1909 (Build 18363.535), and I am using Opera GX, version "LVL 1 (core: 64.0.3417.150)", it is up to date in the settings.

@WesselKroos
Copy link
Owner

@iGerman00 I can confirm the growing memory bug on Opera and created a separate issue: #14

@WesselKroos
Copy link
Owner

WesselKroos commented Jan 19, 2020

WIP

  • Detect and save view modes

@WesselKroos WesselKroos pinned this issue Jan 19, 2020
@WesselKroos WesselKroos added this to the 2.33 milestone Jan 19, 2020
@WesselKroos WesselKroos modified the milestones: 2.33, 2.34 Jan 29, 2020
@WesselKroos WesselKroos unpinned this issue Jan 29, 2020
@WesselKroos
Copy link
Owner

Moving this to Release 2.34 because switching between settings requires more rework than I thought.

@WesselKroos WesselKroos removed their assignment Feb 1, 2020
@WesselKroos
Copy link
Owner

WesselKroos commented Mar 25, 2020

Changed the plan from creating a "Settings per view mode" setting to:
Create an option per setting to differentiate it's value per view mode.
(Excluding the settings "Advanced" and "Switch to light theme when turned off")

Since most user will probably only change one or a few options per view mode. This will prevent the hassle of having to edit every setting in each view mode when you only want to change one.

Work In Progress:

  • Prefix settings with view modes
  • Switch between settings when changing view mode
  • Implement setting value per view mode option per setting
  • Remove the "Enable in fullscreen" setting. (Since it's redundant.) And migrate the existing value to the "Enabled" setting in fullscreen view mode.

@WesselKroos WesselKroos changed the title Add an option to disable page ambilight and have it be only enabled in fullscreen? Settings per view mode Mar 25, 2020
@WesselKroos WesselKroos modified the milestones: 2.34, 2.35 Mar 28, 2020
@WesselKroos WesselKroos removed this from the 2.35 milestone Aug 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants