Once again I feel that I should let you know about my grudges with these libraries.
When I am busy configuring addons that use these libraries I run into trouble when I am fine tuning settings as scale, width, etc. Most of these settings are represented by a slider. I have my interface scaling set to the lowest value, dewdrop does not work well with UI scaling.
While 1:1 might be true at 100% scaling with dewdrop, it is sometimes impossible to get the exact value you want (e.g. it jumps from 98 to 101, and you want 100). There is a setting called a step-value that lets you define a step at which the slider operates; 5, 10, 15, etc would be possible with that.
The problem with the step-value is that it isn't always what you want. I want the possibility to set the setting at any value I want, it be -1000 or 123.
Waterfall to the rescue.
Waterfall 'fixes' the first problem I mentioned and lets you set the value at what you want by providing an editbox next to the sliders. However when a step value is defined it snaps to the nearest step-value and you are back to 0.
I am getting sick of having to dive into the SavedVariables file and having to tweak these settings manually and having to restart wow for this.
Can someone please make this work? :(
p.s. ckknight, I am sure that I am not the only person experiencing this, since you made it I cant accept an answer to my questions about the sliders that just says 'ill await your patch'. It's your addon and I am not going to dive into 6k lines of code to fix/patch something like this. I'd make a ticket or however you handle bugs, I bet you wouldnt do/accept it anyway. Pretty lame.
From my perspective this isnt a problem with Waterfall/Dewdrop, if an option specifies a step then from my interpretation it has asked to only recieve values that align to that step.
There is no way to know from the library if this is simply to make the slider work better or that values that dont adhere to the step could break something.
I was looking for a thread to report this, because I'm sure someone must have brought it up sooner!
But it looks like they haven't, and this is as an appropriate thread as any.
Mainly with things such as aguf, this particular function is really annoying, as there are times when I simply *cannot* get the correct size I'm after, and it drives me batty.
While I haven't had the guts to go into the SVs and fine-tune it that way (That would drive me insane), I do get really bummed about the 'stepping' thing, and am pleading with you guys to do something to make it user-intuitive.
It never used to be this way, I remember we used to have integer based steps...but gradually I've noticed it's resorted to 2s, then 5s, and even 10s at times...it's really, really annoying :(
sylvanaar like I said; Step or no step, when using interface scaling the whole slider frame will be scaled down. this means pixels will be missed and it will not be 1:1 when you slide up and down. this causes the slider to skip values no matter what.
Really all I ask for is waterfall to ignore the step values :)
I know the problem - and frankly for me Waterfall ain't a solution either, as using it is clumsy compared to a simple Dewdrop menu for anything but the initial "setting up".
For the initial batch of tons of settings (say installing agUF), such menus are ok. But later I want to change just a single setting, and then having to pop open a menu, open a few treebranches, look to the other side of the window, change the setting, close the menu is clumsy compared to a Dewdrop menu.
And yes, the slider-jumping is annoying :P
So far I've resorted to /-commands in those cases. It works in nearly all - not always -, but it is even more clumsy :/
Yea, 100% agree. I am the kind of person who needs everything set perfectly, and with dewdrop and steps, it usually jumps past what i want and it too big or too small just by a little bit. If there is anyway to have this fixed i would love it.
That's not the only AddOn. I like the slash commands best for granularity - if the AddOn in question is written to take so precise a setting.There are a few that I need to dive into the code to set values as I'd like them. Most I've just adapted to, but I still need to gimmick Cartographer's code every time I update it, to have the frame's transparency set to my preferences. That's not the only one I've seen with hard coded values rounding or ignoring user settings. Not a Waterfall, Dewdrop or even Ace issue as I've seen it in non-Ace AddOns and of course in other applications as well. Sometimes, it's an author thing.
I found an issue in DewDropLib. The slider step was limited to an accuracy of 1/100 by the API, thus in big ranges small steps weren't possible. In a range of -500 to 2000 for example the smallest slider attainable step would be 25 then. I've solved it by adding more accuracy (how much is needed?).
I'll get the fix uploaded soon.
There seems to be another issue too it though as well, looking into it a bit more
It seems like the value acquired through scrolling the mouse is forgotten (actually, it's set correctly but when leaving frame it's set back to the initial one) if during the scrolling the mouse hasn't been right above the slider inside the frame.
Solved some of these issues by changing some OnEnter and OnLeave functions from the slider to the slider dewdrop frame.
It should work correctly now. You can use the dewdrop editbox for setting the value (within the step limit set by the author of the addon you're adjusting) or scrolling the mouse wheel in the frame for one step changes.