FirefoxBar / xStyle

A user styles manager for Firefox and Chrome
http://team.firefoxcn.net/#addons
GNU General Public License v3.0
171 stars 13 forks source link

Install from files not working. #72

Open RaXorX opened 5 years ago

RaXorX commented 5 years ago

I can export a userstyle but when I try to install it back it doesn't work all that well. XStyle doesn't load anything at all even though I exported right from it. The only thing that worked was to take a backup of all styles and retrieve that one which works very well. Happens in chrome/vivaldi/firefox/yandex(desktop+android)

Also the drop down menu has a bug, I can't save it properly. There are 4 columns, Name and Display name for the whole drop down menu, then name and display name for individual entries. If I try to write a name for individual entries it won't save. If I don't then the subsequent previous entries get removed and there's only one remaining (the last entry).

Edit: These two things happen only with a particular theme I use. Nightmode by Nam (https://userstyles.org/styles/147942) although this only happens when I install it directly from userstyles. After I made an exact copy of it with xstyle the issues are resolved. I could save the new drop down menu entries and both of them are getting saved. But the install from files is halfway working. I exported to json and css both, but only the css worked for me. Also it's just with this theme only regular/simpler themes get installed via json file too. I am wondering if it's due to the complexity of it although it's not that complex at all.