Cabbage Logo
Back to Cabbage Site

Filmstrip sliders

Sorry for the radio silence on this, I’ve been coasting in “stay-cation” mode for the last week or so… but I’m just getting back to more regular work again. I grabbed a fresh build, and it has native rsliders behaving much more like they had before. Looks great! :partying_face:

I’ll keep running it through the paces with filmstrip images now. I have a few different sets to test with, and some good ideas for what problems to expect and look for.

The only real problem that’s jumping out at me right now is the lack of popuptext on xsliders that also have a valuetextbox, at least if I’m only using popupprefix/popuppostfix. This was using build 20201011.2

So even though you use popupprefix/postfix, you’re not seeing any popup boxes? And this is across all sliders now?

Yes, but only if using a filmstrip image. In native rendering mode the popuptext renders as expected!

Er, scratch that. Doesn’t give the popup in either case :wink:

That’s what I was afraid of! Something got scratched in the latest updates. I’ll fix it when I get a chance.

1 Like

Should I file a bug for later? It’s not critically important immediately, but in a pretty dense UI the popups are a huge help in saving space (smaller and fewer labels required).

Leave it with me .I’ll try to get around to it today at some point :wink: If not tomorrow, or the day after that :laughing:

I just pushed through what I think is a fix. TBH, the landscape of popup’s has changed so much I’ll need you to check to see if this falls inline with what the previous state was :roll_eyes: :rofl:

Congrats on the first centi-thread!
image

Looks like just the three of us have it so far :rofl:

Anyways… the initial tests are looking fantastic! I’ve tested popups with prefixes only, and some with both. Some with newlines, some without. All cases appear to be working great both in native mode and with filmstrips. :partying_face:

All of my tests are using popupprefix and popuppostfix, and are only being tested in cabbage (not exported to DAW). So I’m not sure of the state or implications to prefix/postfix on their own. Hopefully they all tie together cleanly?

I’m not too worried about it yet, but it’s possible to make rsliders with filmstrips skew to oval when native rendering is still circle… I think it’s because native rendering “fixes” the aspect ratio. For example (made up numbers), if it’s 100x100 to start, and you add text and valuetextbox, you’re left with 100x80 for the knob. Native rendering fixes it to render as 80x80, but filmstrip knobs will render as the available 100x80.

I need to think about it… but that MIGHT be the correct behavior anyway. :thinking: I need to consider different use cases, such as non-square filmstrips, hsliders, vslider, etc. I’ve been primarily sticking to squared up rsliders.

Slightly related… what’s the state of windows builds? The last few appear to have failed, but I didn’t look too closely yet since I’m not actually at a win machine. I had planned on taking another look at my project in win, and trying to figure out why you were having trouble with my examples. Last I had checked everything seemed to work for me… :thinking:

Thanks for the heads up on the Windows build. I know what’s going on there, I thought I had already addressed it. I guess not :rage:

Good morning Rory! Hope everything goes well. I’m with the presets of a project, and when moving the vertical sliders to the extremes through snaps, ghost images are created.

Yes, I see this now when I try the using presets. It’s clearly a painting issue. If you move the plugin off screen and back on again it paints correctly. Should have a fix in a few moments…

It is like this, part of the image remains as painted, and with a click it goes away.

Fixed now in the dev branch.

Very well thanks. I build it and test it :+1:

Now it works correctly in this version 2.5.4 :+1:

Some time ago I wanted to ask you about the vertical and horizontal sliders, and if an image of the fader could be embedded respecting its size, without having to resort to the filmstrip

Yes, you can use images for the different parts of a slider. Check out the SVGExample in the Msc. folder. It looks pretty awful, but shows how it can be done. You don’t need to use SVGs either. You can also use PNGs.

Let me know if this was what you were looking for, or if I misunderstood :wink:

Yes, I have used it many times with PNG and SVG, but I do not respect large images, for example the measures of a 71x107px fader button. The distorted image appears. Only small 10x10px images are displayed correctly.

Can you prepare a simple example for me so that I can see the actual problem? If you can post a .csd together with a simple PNG image that would be best. Thanks.

This is the example with a 50x83 PNG image
FADER_csd.zip (2.6 KB)

Thanks. The problem was that I was trying to work some magic in resizing, which obviously didn’t work at all well! So when i address those problems, we are left with similar issues to the filmstrips :laughing:

So I need to find a way of drawing the fade knob properly in terms of its Y position.