Xen-HTML icon indicating copy to clipboard operation
Xen-HTML copied to clipboard

Options.plist String values don’t get updated in the Widgets right away

Open paraskcd1315 opened this issue 4 years ago • 0 comments

Describe the bug So any Value being given for String in options.plist, for example to change the blur strength in pixels for a widget background, or changing the hex for a background color, or color text or anything, doesn’t get changed immediately. While adding a widget when the settings come in, the boolean values get updated right away.. But that’s not what it does for String values. I had these problems while making a widget so I decided to make my own settings instead with javascript. What I see about this, only the type

<key>type</key>
<string>edit</string>

is affected by the issue, other options parameters are not.

Sometimes a respring updates it, sometimes toggling a boolean value on/off fixes it.. It seems like it string values get cached or something.

Also I might add, It only happens with Options.plist, apparently Config.js doesn’t have this issue

To Reproduce I’ll have to provide my widgets, to be able to test I think.

Expected behavior For me, the expected behaviour is that when I type in the string value, and click on Done, from the widgets settings, all the settings I have inputted, should be shown right away. No resprings or trying to hard delete the cache in tricky ways. Just update it right away Smartphone (please complete the following information): I started just making widgets from iOS 13 and used -

  • Device: iPhone XS Max

  • OS: iOS 13.3 and 13.5

  • Device: iPad Pro 10.5 inch

  • OS: iOS 13.3

paraskcd1315 avatar May 25 '20 00:05 paraskcd1315