Sliders not working?

Discuss suspected bugs with other users and Sim Innovations Staff

Moderators: russ, Ralph

Message
Author
User avatar
Ralph
Posts: 7867
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Silders not working?

#11 Post by Ralph »

Please test my instrument with the default Cessna 172, not with any other aircraft. Also make sure that you are using the latest plugin.

Mickolodias
Posts: 69
Joined: Mon Sep 13, 2021 3:21 am

Re: Sliders not working?

#12 Post by Mickolodias »

AM Plugin v3.3
Tested with default Cessna 172, can't move it.

Let me explain better - If I move the mixture in my R44 from the cockpit in X-plane (and with your code using the Cessna) the slider moves in response correctly. But I can't move the slider from Air Manager.
In my last posted code without any connection to a sim - should something appear in the console? if not there another test I can do without worrying about the sim to demonstarte the problem?


and now that I had some sleep the array thing is clear now :D was getting confused between the xpl subscribe and the slider inputs
I'm one of 'those' mac guys. (and I have no idea why I can't afford to eat)

User avatar
Ralph
Posts: 7867
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Sliders not working?

#13 Post by Ralph »

Then the problem is probably in the writing. I'm not sure what the latest plugin version is for the Mac. If you download it from the wiki then you'll have the latest version.

Mickolodias
Posts: 69
Joined: Mon Sep 13, 2021 3:21 am

Re: Sliders not working?

#14 Post by Mickolodias »

Downloaded the latest yesterday to check, same version as what I'm already using.
But again - it can't be the plug in or x-plane. What test can I do to demostrate that for you?

Can we file an official bug report please (or should I submit a ticket?) seems likely it's something on mac - happy to do any tests and provide debug data. Just need instructions.
I'm one of 'those' mac guys. (and I have no idea why I can't afford to eat)

User avatar
Ralph
Posts: 7867
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Sliders not working?

#15 Post by Ralph »

You can use this instrument as an example.
Generic - Mixture example.siff
(7.78 KiB) Downloaded 148 times

Mickolodias
Posts: 69
Joined: Mon Sep 13, 2021 3:21 am

Re: Sliders not working?

#16 Post by Mickolodias »

Still nothing
Here's a vid of what's happening https://drive.google.com/file/d/19nEpDv ... sp=sharing
I'm one of 'those' mac guys. (and I have no idea why I can't afford to eat)

User avatar
Ralph
Posts: 7867
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Sliders not working?

#17 Post by Ralph »

Can you try adding this instrument to a panel, and then lock the panel position.

User avatar
Sling
Posts: 5237
Joined: Mon Sep 11, 2017 2:37 pm
Contact:

Re: Sliders not working?

#18 Post by Sling »

I can only assume its something weird with the mac. I just tried and the slider moves. If you are not on it correctly even if the hand is showing it will move the instrument but you seem to be right on it and still the instrument moves.

@Ralph I did spot another issue though. The vertical slider does not move to the same extent as the horizontal slider with the same x,y,w,h applied. With the following code, use the ver and then try the hor and you'll see the difference. Am i missing something?

Code: Select all

my_text = txt_add("0.00", "size:40; color: black;", 20, 20, 100, 44)

function set_mixture(position)
    slider_set_position(slider_mixture , position)
    txt_set(my_text, string.format("%04.02f", position) )
end

slider_mixture = slider_add_ver(nil, 125, 10, 47, 280, "silder.png", 50, 105, set_mixture)

--slider_mixture = slider_add_hor(nil, 10, 125, 280, 47, "silder.png", 50, 105, set_mixture)

Mickolodias
Posts: 69
Joined: Mon Sep 13, 2021 3:21 am

Re: Sliders not working?

#19 Post by Mickolodias »

Yeah still no go with a locked panel
Take 2: https://drive.google.com/file/d/1-3ioCl ... sp=sharing
I'm one of 'those' mac guys. (and I have no idea why I can't afford to eat)

User avatar
Ralph
Posts: 7867
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: Sliders not working?

#20 Post by Ralph »

Strange, it might have something to do with the cursor, because that doesn't work as well. I've added it to the to-do list.

Post Reply