KeyShot Forum

Technical discussions => Cameras => Topic started by: mikalind on March 09, 2014, 10:13:31 PM

Title: Typing in negative values does nothing
Post by: mikalind on March 09, 2014, 10:13:31 PM
Hi

I have tested Keyshot on several macs with maverick to see if the problem was isolated to a machine or to the operative system.
I can't type negative values manually in camera settings or anywhere else, on any mac with Mavericks, i have not tried any other Mac OSX.

When i type in a negative value in a camera setting, the camera either just jump to "zero" or does not react at all.
Easiest way to see this is to try and rotate a camera by typing in "0" to start with, and then "-45"

Can anyone else confirm this problem?

KS 4.3.18 Maverick iMac Late 2013, MBP

M
Title: Re: Typing in negative values does nothing
Post by: thomasteger on March 10, 2014, 05:24:43 AM
Works fine on my Mac with OSX 10.9.1.
Title: Re: Typing in negative values does nothing
Post by: mikalind on March 10, 2014, 06:47:19 AM
Ok, try this.

Open the Keyshot Material ball file.

Type in orbit value "0" in camera settings.
Then try -10, -20, -40 and so on.
Does your Camera respond to those settings?

Because mine does not, not on any of the macs i have tried it on.

Mikael
Title: Re: Typing in negative values does nothing
Post by: thomasteger on March 10, 2014, 01:52:00 PM
It sounds like you are talking about the animation dialog, and yes that still works.
Title: Re: Typing in negative values does nothing
Post by: mikalind on March 11, 2014, 01:24:30 AM
Finally i found a way to reproduce.

I have tested on three independent macs and the issue is on all.
And you don't have the issue.

What is the difference between us? I have Swedish settings on OSX and Keyboard, You have US settings.
When i set my language and keyboard preferences to US and restart my machine, there is no issue.

So there is simply a bug when using Swedish (and perhaps other) Language settings then US.

Would be great with a bug fix : )


Mikael

Title: Re: Typing in negative values does nothing
Post by: Morten Kristensen on March 11, 2014, 06:16:55 AM
Quote from: mikalind on March 11, 2014, 01:24:30 AM
So there is simply a bug when using Swedish (and perhaps other) Language settings then US.

I have tested on OSX 10.8 and 10.9 with Danish language/keyboard settings and there are no issues. The language itself does not mean anything for the "-" character (ASCII dec 45) because they are the same.

However, when you input the values what do you see? Does it input "-30" etc. and then the program does not react when you hit enter or when focus leaves the control? Also perhaps you could send me your KeyShot log file here (Help menu -> Log)?

Thank you
Title: Re: Typing in negative values does nothing
Post by: mikalind on March 11, 2014, 06:41:47 AM
Hi

I tried to set my computer language (not keyboard) to Danish and that didn't show the issue.
Have you tried to set your Computer language to Swedish?

Because when i do the issue is there again.

And what i mean is when i from camera settings manually set negative values from keyboard, Azimuth or anything else the camera simply does not react.
When i do the same when the computer language is set to Danish or US the problem is gone, then the camera moves on manually set negative values.

Mikael

Title: Re: Typing in negative values does nothing
Post by: Morten Kristensen on March 11, 2014, 06:48:04 AM
Hi again,

So I tried with Swedish keyboard layout and I didn't have any issues.

Please send me the KeyShot log file so I can see if anything is amiss.

Thanks.
Title: Re: Typing in negative values does nothing
Post by: mikalind on March 11, 2014, 06:52:24 AM
Hi again
Not keyboard layout, you have to set computer language.
You have to set "Language&Region" in System preferences and restart the computer.

Try Swedish there.

I will send you the log. What email adress?

Mikael
Title: Re: Typing in negative values does nothing
Post by: mikalind on March 11, 2014, 06:53:28 AM
When i hit "log" i get this:

(15:45:32) Could not open  "/Library/Application Support/KeyShot3/keyshot3.xml"  for reading.


Mikael
Title: Re: Typing in negative values does nothing
Post by: Morten Kristensen on March 11, 2014, 07:07:30 AM
Hi Mikael,

I switched to Svenska region Sverige and restarted the computer. But everything worked as it is supposed to still.
So it's not about the language in particular but something else.

Disregard that line in the log file.
Title: Re: Typing in negative values does nothing
Post by: mikalind on March 11, 2014, 07:10:09 AM
Hi

The log is in PM for you.

Ok, so its not the Region settings, but its still a fact that when i change the region to something other then swedish, it works just fine.
If you want i can set up a GoToMeeting so that i can show you live?



M


Title: Re: Typing in negative values does nothing
Post by: Morten Kristensen on March 11, 2014, 07:11:47 AM
No you sent me your configuration file and it is looking fine.
Send me your log file, please.

No thanks, but you can record the session and post me a link if you want to.

Thanks
Title: Re: Typing in negative values does nothing
Post by: mikalind on March 11, 2014, 07:22:58 AM
HI

Then there are nothing in the log since that message is all there is in the log window, and its marked yellow.

M
Title: Re: Typing in negative values does nothing
Post by: Morten Kristensen on March 11, 2014, 07:37:49 AM
Thanks for sending the video. It does look extremely weird. I suspected that the decoding of the string to float using the system locale might be the culprit, but it isn't since you don't use "." instead of "," and it works fine when using the sliders.

Just to be certain: you have tried hitting enter in the fields, right?
Title: Re: Typing in negative values does nothing
Post by: mikalind on March 11, 2014, 07:41:16 AM
Hahaha, yes i have.
And if i do the same thing as i said, with danish or US settings, it works just fine.

In fact, most of the instances in Keyshot where i affect settings with manually typing in negative values, this issue shows up.

And its a bit hard to get exact camera settings when i have to use the sliders.


M
Title: Re: Typing in negative values does nothing
Post by: mikalind on March 11, 2014, 07:47:27 AM
Even if i cut&paste a negative value that worked when using the sliders, the camera does not react.

M
Title: Re: Typing in negative values does nothing
Post by: Morten Kristensen on March 11, 2014, 08:06:55 AM
Extremely weird indeed. Unfortunately, none of us here can reproduce it in any fashion.
I will create an issue in our bug tracker and then we'll follow up on it.

Hope you can manage.

Thanks and have a good day.
Title: Re: Typing in negative values does nothing
Post by: mikalind on March 13, 2014, 05:07:31 AM
Hi again

I have installed Parallels Desktop and i run a demo version of Keyshot 4.3.18 there on windows 8.
No issue there.

Mikael

Title: Re: Typing in negative values does nothing
Post by: peterfagerberg on May 14, 2014, 03:55:55 AM
I have the exact same problem - Keyshot 4 doesn't accept negative values from the keyboard. And just like mikalind I have a Swedish setup:

Mac OS X 10.9.2
Region: Sweden
Language: Sweden

Keyshot just seems to ignore typed negative values. I always been able to work around it by using the sliders and mouse positioning but now I've run into a wall with a camera movement.

It's troublesome that you don't seem to be able to reproduce this bug because it REALLY needs a fix! Please let me know if there is anything I can do to help.

Best regards ///Peter
Title: Re: Typing in negative values does nothing
Post by: peterfagerberg on May 15, 2014, 12:50:48 AM
Well, I found a quick workaround using the mouse scroll wheel. It's a bit iffy but seems to work in a pinch.

Position the cursor marker in the field (exactly!) and scroll up or down. This should change the number and you're able to reach negative values. However, if it's a big number you'll have to do A LOT of scrolling!  ;)

Rgds///Peter