Tagged: Linear Slider thumb jump WinXP
October 7, 2018 at 7:23 pm #85633
I’ll start by saying I’m a newbie. And, maybe this topic has been dealt with, but I could not find any previous conversations. And, I hope I’ve put my question in the appropriate forum.
When left-mouse click/hold on slider “thumb”, the slider thumb jumps to a new position/value, yet the mouse has not been moved.
I only want the slider thumb to move when I move the mouse. Not when I click/hold the thumb initially.
I’ve tried several panels and they all exhibit this.
I’m on WinXP, 5.3.1 CTRLR.
How can I prevent/fix this slider jump behavior?
BillFMOctober 8, 2018 at 11:31 am #85645
why not using the recommended version http://ctrlr.org/nightly/Ctrlr-5.3.201.exe ?
this is not normal behavior. On some panels it will jump to a defined value when you doubleclick the thumb but not on single mouseclick.October 9, 2018 at 5:56 pm #85670
Thanks for the suggestion. 5.3.201 gave the same result.
One of the panels I tried was the TX7 v1.0, built using 5.3.122. The lowest CTRLR version I could find was 5.3.191 (my error for listing 5.3.1 in original post). I read it was better to use a CTRLR version similar to the one used to make the panel. That’s why I didn’t use latest release.
I also tried the latest, 5.5.2 and it would not launch:
CTRLR-Win32.exe – Entry Point Not Found
The procedure entry point CreateSymbolicLinkW could not be located in the dynamic link library KERNEL32.dll.
Rotary components work just fine.
It’s only the slider that jumps as soon as I click-hold the left mouse button on slider thumb. It does this with both horizontal and vertical sliders.
When installing CTRLR, I unchecked options for 64bits and VST. I’m running 32bits, stand-alone.
Since the slider jumps with any panel I download, I suppose it could be a compatibility issue with my Dell laptop. BTW, I also tried a USB mouse (as opposed to laptop touchpad), same result.
I’ll keep digging.
BillFMOctober 9, 2018 at 6:25 pm #85673
- Topics: 79
- Replies: 784
- Total: 863
This is because the slider has “Rotary” selected as SliderStyle. Change it to any Linear mode to avoid the jump.October 9, 2018 at 8:48 pm #85674
Hello Dasfaker. Another good suggestion. But…,
The slider style is set to LinearVertical when I look at Componentproperties (in Panel Mode, General,and Utility tabs).
I also tried Roland MKS-7 panel. These sliders also jump when click-hold mouse left-button.
If I zoom waaaaaaaay IN the panel and I can get the mouse arrow directly on the horizontal-centerline of the thumb, then it does not jump. However, this is highly impractical (from a user perspective).
I also tried changing the vert/hor size of the thumb. Didn’t help.
I’m guessing, somewhere in CTRLR source code (or LUA?), the mouse down button code should be looking within the area occupied by the slider thumb to determine if the mouse click is inside or outside the area of the slider thumb. In my case, the code always thinks the mouse click is outside this area.
I’ll change some of the other slider Component values and see if this helps.
BillFMOctober 10, 2018 at 9:51 pm #85692
I cannot reproduce this strange bug on my WinXP virtual machine. Maybe try resetting Ctrlr by deleting the folder C:\documents and settings\”your username”\appdata\ctrlrOctober 10, 2018 at 10:59 pm #85694
I tried that too. Actually, I had to delete settings file/CTRLR-folder or else I could not install 5.3.201.exe without it crashing after being launched.
This time I left all the install options checked…, same result.
I also tested a DEMO panel with the vertical slider…., same result.
Any chance there’s a debug window I can open to see what’s being read from the mouse? Or, some sort of trace message window to observe what CTRLR is seeing?
I appreciate the help you guys are passing along.
I’ll also mention, the PC has WinXP Service Pack3, all updates applied.
And just out of curiosity, I inserted vertical slider controls in an Excel spreadsheet (part of Visual Basic). The thumb does not jump there.
BillFMOctober 16, 2018 at 5:41 pm #85830
I installed 5.3.201 on a friends WinXP SP3 32bit machine. I left all options ‘checked’ during the install. Same issue with linearvertical-slider and linearhorizontal-slider. Slider thumb jumps to new position when click-hold mouse on slider thumb. Ideally, thumb should only move when I move the mouse.
I un-installed CTRLR, deleted …appdata\CTRLR folder. Installed 5.3.201 with only 32-bit options checked. Same issue.
On a 3rd WinXP machine, same issue.
For all above testing, I’m running standalone, not VST mode.
I don’t think I’m doing anything wrong with CTRLR installation. It’s pretty straight forward.
One thing I did notice was how the window menu bar (File Edit View…) changed font size, dependent on which panel I opened. When trying ‘demo’ panels, the menu font stayed the same size (large). When trying other panels (TX7, JX8P,…) the menu bar font got smaller. After closing the panel (leaving CTRLR window open), the font reverted back to the larger font only after the mouse moved over the menu bar (did not require a click). This in itself is pretty weird. CTRLR did this on all 3 computers.
BTW, ‘demo’ panels also exhibited the issue of thumb jump.
So, does CTRLR 5.3.201 (and earlier versions I tried) have a bug (for WinXP 32-bit) or, is something missing in the build that handles mouse position relative to thumb graphic?
I’m not a s/w programmer so this is quite a bit beyond my capabilities. What do I try next?
BillFMOctober 17, 2018 at 12:57 pm #85878
I probably did not unterstand your problem. When you click somewhere on a slider (not on the thumb) the thumb will jump to the position where you clicked. That is normal behavior and afaik this cannot be changed. You have to click on the thumb and move it if you don’t want parameter jumps. As an alternative you can hover over a slider and move the mouse-wheel.
Changing of font type/size also is normal behavior. You can change the menu font to your preferences, so not all panels are using the same font.October 18, 2018 at 12:06 am #85887
You had the right idea in previous posts. My problem is when I click-hold the left-mouse button directly on slider-button. The slider-button will jump up (or down) to a new value. The slider-button should remain at it’s current value and wait for me to move the mouse. Ideally, slider-button should behave just like a Microsoft window vertical scroll bar…, the window doesn’t move until I move the mouse with the mouse click-hold on window scroller.
I agree, clicking anywhere else on the slider will cause slider-button to move and this is normal behaviour. I’m okay with this behaviour.
You passed along some important information I didn’t know. I can hover the mouse over the slider and move the mouse wheel. That’s GREAT news. It works as expected. No sudden slider-button jumping. It’s a good work-around for my thumb problem. An interesting side effect is, if the panel is zoomed-in a bit such that the window has a vertical scroll bar, moving the mouse wheel first scrolls the window up (or down) to its limit, then, the slider button begins to move. The same funny effect applies to rotary’s when the panel is zoomed-in.
And, thanks for the ‘font’ size info. I hadn’t explored that yet. But, now that I have, how do I change the ‘menu bar font’ size back to something reasonable. I found the font size control, but the font becomes too small, or too large. I can’t set the size to something in between. And the font type doesn’t change. Oooooh the learning curve.
BillFMOctober 18, 2018 at 12:18 am #85888
I discovered how to set the menu bar font size. I had to really expand (horizontally) the Properties list (element properties menu on the right). A little box is now displayed that allows me to type the font size. Phew!!!
I’d still like to solve the issue of slider-thumb jumping when click mouse on thumb. I’m not sure where to look next.
BillFMOctober 20, 2018 at 12:03 pm #85913
I think I finally see what you mean. If you don’t click on the exact center of a thumb it will slightly jump. That gets worse when you make the thumb bigger. It will not resize the mouse’s “grab area” on big thumbs. It will jump to the value as if it were a small thumb and you clicked outside of the thumb. I guess this cannot be fixed. So making a big thumb does not make much sense.
October 21, 2018 at 5:37 pm #85927
- This reply was modified 7 months, 1 week ago by Possemo.
You described my ‘thumb’ observation perfectly.
Originally, I tried making the thumb larger but it didn’t help. I then made the thumb as small as possible but then I couldn’t land the mouse perfectly on a 1 pixel tall thumb. So, that didn’t work out either.
I think the best solution is to use the technique you suggested, using mouse wheel to change thumb position/value. When using a laptop, my touchpad didn’t offer a wheel. I’ve attached a USB mouse with wheel to laptop and all is good.
I tried looking at the source code to understand why mouse click/drag works properly for a rotary, but not for a linear slider. But, s/w is out of my area of expertise. I don’t fully understand the flow.
I’ll call it solved. Now I can continue making a panel.
Thanks for the help.
You must be logged in to reply to this topic.