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

Theme selection is not applied #270

Closed
adnidor opened this issue Nov 1, 2018 · 11 comments
Closed

Theme selection is not applied #270

adnidor opened this issue Nov 1, 2018 · 11 comments

Comments

@adnidor
Copy link

adnidor commented Nov 1, 2018

This occurred after upgrading from 2.0.2 to 2.0.12.

  • I used the black theme before upgrading, after the upgrade the app was displayed on a white background.
  • The "link rel=stylesheet" header points to default.css, changing it to black.css displays the correct theme.
  • The settings value for theme is set to "black", changing it back and forth doesn't help

looking at the db:

  • in the table "users" the column "theme" is set to "black"
  • in the table "sessions" the key "Theme" is set to "", as are all other keys except "csrf"
@fguillot
Copy link
Member

fguillot commented Nov 1, 2018

Flush your Miniflux cookies and open a new session. So many changes happened between these releases.

@adnidor
Copy link
Author

adnidor commented Nov 1, 2018

did that, issue still persists

@fguillot
Copy link
Member

fguillot commented Nov 3, 2018

Make sure the cookies sessionID and userSessionID are removed. Flush all sessions by running miniflux -flush-sessions. Try in incognito mode. There is no magic, it should work.

@gravesit
Copy link

gravesit commented Nov 5, 2018

I am having the same issue. Tried the above miniflux -flush-sessions. and removed manually. Neither fixed the issue.

@adnidor
Copy link
Author

adnidor commented Nov 6, 2018

Sorry for the late reply, was a bit busy.

I tried just now flushing the sessions and logging in in incognito mode immediately after, but it didn't fix the problem

@fguillot
Copy link
Member

I'm not able to reproduce your issue. Can you try to troubleshoot on your side and isolate the problem?

@gravesit
Copy link

gravesit commented Nov 13, 2018

2.0.9 works fine and all versions after that have this issue. Thinking it is this commit a291d8a

@Yaco
Copy link

Yaco commented Dec 9, 2018

2.0.9 works fine and all versions after that have this issue. Thinking it is this commit a291d8a

I can confirm the problem and also that @gravesit comment is correct. Problem is present in latest versions but no in 2.0.9

@saesh
Copy link

saesh commented Dec 27, 2018

I had the same problem. Deleting sessionID and userSessionID cookies and logging back in resolved the issue for me.

@michaelx
Copy link

michaelx commented Apr 18, 2019

Experiencing the same issue, even on a fresh install of 2.0.15. Whether theme nor language changes are applied for the session (verified with miniflux -debug). If I manually update the settings in the sessions db table, it works.

I also tried 2.0.14, 2.0.13, and 2.0.10 (with cookies deleted and miniflux -flush-sessions). They all behave the same.

In 2.0.9 the theme will be applied (probably because it’s not session based), but the language (which is session based) won’t. Hope this helps to debug the issue.

@fguillot
Copy link
Member

fguillot commented Oct 4, 2020

Closing due to age.

@fguillot fguillot closed this as completed Oct 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

6 participants