Up/down in spinners don't work?


#1

I have a problem with spinners in objects, in that when I click on the up and down arrows nothing happens. I can click on the entry field and enter a value numerically without any problems.

I'm running the Patcher on Linux (Debian Jessie), if that's relevant.


#2

axoxloti version?
example


#3

It's been the same in 1.0.6, 1.0.8, 1.0.9 and HEAD of the development version. I can upload an example when I get home tonight, but it's been the same whenever I've tried (which means I basically never try it now but always enter a numerical value..).


#4

are you able to check on windows/mac ?
I assume this is when your edit , i.e. not live.

if its in 1.0.6 (unsurprising) I suspect its always been like this,
if its only on linux, I suspect it will be a java bug...
you might want to try running on a different vm ... ie.. open JDK vs the official oracle one.


#5

Yes, it's when I'm editing the patch.

There are Windows and Mac machines around here which I could try installing the Patcher on, but I take it it is not a known bug then, and trying it on another platform would be just the same as anyone else doing the same thing.

Right now I am running openjdk, I could try and swap and run Oracle, but I remember trying to swap in other situations and it was rather messy to get everything back to the previous setup.

If it seems that it is a bug that only appears in Linux I can try and have a look at the code. Are the spinners implemented in the Axoloti Patcher code itself, or are they some standard graphical object?


#6

AFAIK clicking the really tiny up/down arrows never worked with the spinner. Hold-clicking the spinner and moving the mouse up and down was always my approach to change the value. Never tried it with Linux, though. But under Windows and Macos this works for me.


#7

That's the way I do it: dragging up or down, never used the black arrows.


#8

You know, it could be that clicking the arrows is just not the way they're supposed to work. Hold-clicking / dragging works fine for me in Linux too, so I think it's just me that's misinterpreted the UI... thanks for the help!


#9

Clicking the tiny up/down arrows was never implemented, they were a visual hint at vertical mouse dragging movement.
But yeah, if people expect the tiny arrows to be clickable, I have no excuse. I just pushed an update to git now that adds up/down clicking.

They're implemented in the Axoloti Patcher code itself. Standard widgets are not used inside patches, they could have different skins, while patches should look the same on different platforms. And sometimes non-standard UI behavior is nice, like restoring mouse position after a dragging to change value, so you do not need to move the mouse to re-grab the same control.


#10

Thanks Johannes! Tested it now and it works like a charm. i don't know if people who are used to click-dragging the arrows will be surprised now as the behavior has changed though, I note that click-dragging on the numeric field itself still works which is actually quite natural.

I don't know if everyone expects the arrows to be clickable, but for instance the Settings menu has arrow keys at the right of the numeric fields like MIDI channel that are clickable (even if those arrows are inside little buttons so they really look more clickable).

I find it very practical to click on something if I just want to increase or decrease the value by a few steps, compared to click-dragging (hard to hit the right value) or entering the value from the keyboard (a bit cumbersome when only a simple increment/decrement is needed).


#11

I definitely Did. Confused me for quite a while, in fact.

a|x