Jump to content

Theme choice for webclient doesn't stick


Recommended Posts

390x99xdsa
Posted

The theme choice doesn't stick across browser quit/restart.   The theme choice for the dashboard sticks, but for the user it doesn't, reverts to dark.

Posted

Do you have an add-on that clears your cookies or other browser data?

Posted

Yes if browsing data is getting cleared then that would explain this.

  • 3 weeks later...
Posted (edited)

Except for the fact that the theme choice for the Dashboard sticks even when the theme for the main view doesn't. 

 

Additional information to help you out.

 

I have my privacy settings set so that my cookies are deleted when I close Firefox. 

 

If I change that to "until they expire" then the main theme setting is maintained across browser restarts.

-or-

If I leave my cookies to be deleted when I close Firefox as I had it, but put an exception for htpc.mylocal.net (internal dns name for my emby server) then it also allows the theme setting to be maintained across browser restarts.

 

However this doesn't make any sense because

1) Regardless of the above, the Dashboard theme setting sticks regardless

2) If I look for stored cookies for that domainname/url there aren't any.

 

Bottom line: If you can make the theme setting stick for the Dashboard with my browser (Firefox) privacy settings as they were you should be able to make it work for the main view.  Apparently the code that loads the dashboard theme is correct and the code that loads the main view theme isn't.

Edited by 390x99xdsa
Posted

Bottom line: If you can make the theme setting stick for the Dashboard with my browser (Firefox) privacy settings as they were you should be able to make it work for the main view.  Apparently the code that loads the dashboard theme is correct and the code that loads the main view theme isn't.

 

Hi, sorry, but this isn't true. They serve different use cases. The dashboard is a management tool. The web app and Emby Theater can be used on phones, tablets, desktop computers, TV screens, etc. Not everyone is going to want the same theme on every possible device they use.

Posted

Hi, sorry, but this isn't true. They serve different use cases. The dashboard is a management tool. The web app and Emby Theater can be used on phones, tablets, desktop computers, TV screens, etc. Not everyone is going to want the same theme on every possible device they use.

You misunderstood - Of course I don't think people would want the same theme on the dash vs the main view.  But there are two settings under display

Theme:

 

and

 

Server Dashboard Theme

 

 

Since both are on the USER options then they both should be stored and/loaded the same way.  If the Server Dashboard theme was server-global (that setting should be on the Dashboard itself, not the user-level settings from the "user-icon" at the top. 

 

Now perhaps you don't mean for the Server Dashboard Theme to be user-level setting (even for admins), but a server-global setting, but if it's going to be user-level setting and it works correctly, but a sibling level setting (Theme) doesn't well, that's a bug.

arrbee99
Posted

Except for the fact that the theme choice for the Dashboard sticks even when the theme for the main view doesn't. 

 

Additional information to help you out.

 

I have my privacy settings set so that my cookies are deleted when I close Firefox. 

 

If I change that to "until they expire" then the main theme setting is maintained across browser restarts.

-or-

If I leave my cookies to be deleted when I close Firefox as I had it, but put an exception for htpc.mylocal.net (internal dns name for my emby server) then it also allows the theme setting to be maintained across browser restarts.

 

However this doesn't make any sense because

1) Regardless of the above, the Dashboard theme setting sticks regardless

2) If I look for stored cookies for that domainname/url there aren't any.

 

Bottom line: If you can make the theme setting stick for the Dashboard with my browser (Firefox) privacy settings as they were you should be able to make it work for the main view.  Apparently the code that loads the dashboard theme is correct and the code that loads the main view theme isn't.

 

Maybe you could add a +1 to this https://emby.media/c...lts-to-server/ so that clearing the cache won't matter.

Posted

For the record

 

"Bottom Line" does not equal TL;DR

Posted

Maybe you could add a +1 to this https://emby.media/c...lts-to-server/ so that clearing the cache won't matter.

 

What's more fun about my issue is that I'm not clearing any cache it's only a cookie lifetime thing, and there are no cookies for the URL/domain that I've added to the exception list to "Allow" until they expire -- that makes it "work".   The only thing that Firefox clears on exit for me (as distinct from the cookie privacy settings) is active logons are cleared on Firefox close, and that shouldn't affect it one way or the other (and empirically doesn't).

 

Also did do a +1 on your issue.  Totally agree with you.

arrbee99
Posted

Thanks for that.

 

Must admit on clearing caches vs cookies, I tend to run CCleaner quite regularly, and that chucks everything it can find out (though I guess I could change some settings somewhere...)

Posted

To sum up:

1) Main view theme sticks across Firefox restart if either I have a cookie exception for my emby server url/domain or allow cookies to remain until they expire.

2) I have my privacy settings to delete cookies when I close firefox and have an exception for my emby server url/domain

3) Main view theme setting sticks across Firefox restarts.

4) On freshly launched Firefox (which by the way, my Firefox starts with a single about:blank tab -- no pages loaded) there are no cookies for my emby server url/domain.

5) On freshly launched Firefox I have exactly 10 domains / urls with cookies permantly allowed/stored  and NONE of them have anything to do with emby or my emby server or emby.media or the like.

6) The only thing besides non-exempted cookies that are cleared on Firefox shutdown is active logins - and this doesn't affect the outcome either way.

Posted

You misunderstood - Of course I don't think people would want the same theme on the dash vs the main view.  But there are two settings under display

Theme:

 

and

 

Server Dashboard Theme

 

 

Since both are on the USER options then they both should be stored and/loaded the same way.  If the Server Dashboard theme was server-global (that setting should be on the Dashboard itself, not the user-level settings from the "user-icon" at the top. 

 

Now perhaps you don't mean for the Server Dashboard Theme to be user-level setting (even for admins), but a server-global setting, but if it's going to be user-level setting and it works correctly, but a sibling level setting (Theme) doesn't well, that's a bug.

 

We didn't mis-understand.  What he was pointing out was, since the two different options cover different scenarios (one designed to carry across devices and the other not) then there are different ways that they are saved.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...