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 Options in User Settings Are Mildly Broken #4700

Closed
tessgadwa opened this issue Jul 28, 2017 · 8 comments
Closed

Theme Options in User Settings Are Mildly Broken #4700

tessgadwa opened this issue Jul 28, 2017 · 8 comments
Assignees
Labels
P2 S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect X-Regression

Comments

@tessgadwa
Copy link

Description

After switching between theme options using the radio buttons in User Settings, switching back to the previous selection has no effect.

Steps to reproduce

  • Switch from Light theme to Dark theme
  • Without closing the User Settings window, switch back from Dark theme to Light theme

The theme will remain Dark.

If you close the User Settings window and reopen, you are then able to select the radio button for the theme of your choice.

Log: sent

screen shot 2017-07-28 at 8 53 50 am

Version information

  • Platform: web

For the web app:

@turt2live
Copy link
Member

Confirmed also broken on riot.im/develop

@tessgadwa
Copy link
Author

This is only a minor glitch in everyday use, but becomes more problematic when >2 theme options are included under User Settings.

@lampholder lampholder added 001 mistake label T-Defect P2 S-Minor Impairs non-critical functionality or suitable workarounds exist and removed 001 mistake label labels Jul 31, 2017
@lampholder
Copy link
Member

When trying to reproduce this, I had a slightly different failure mode.

I had Riot logged in on two machines (side by side). Toggling from light to dark on machine A, the change actually occurred on machine B. Machine A did not change it's theme.

Toggling from dark back to light as described in the original report had no effect.

@t3chguy
Copy link
Member

t3chguy commented Sep 7, 2017

note to self, onChange is only firing the first time

@t3chguy t3chguy self-assigned this Sep 7, 2017
@t3chguy
Copy link
Member

t3chguy commented Sep 7, 2017

was fine in v0.10.2

@t3chguy
Copy link
Member

t3chguy commented Sep 7, 2017

It seems like it was broken by an unpinned React dep
(and them fixing an implicit bug)

@t3chguy
Copy link
Member

t3chguy commented Sep 7, 2017

React 15.6.0 introduced facebook/react#8575 which broke the theme selector

@turt2live
Copy link
Member

This has been fixed.

@t3chguy t3chguy closed this as completed Oct 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect X-Regression
Projects
None yet
Development

No branches or pull requests

4 participants