Page 1 of 1

Float +4.500e+01 format

Posted: 29 Feb 2016, 11:10
by nemilya
Hello!

There is some bug for format of float in input text-fields:
"+4.500e+01" (have to be "45.0")

For example dialog "Scene Object Properties" in fields:
* Pos.min [deg]
* Position [deg]
* Pos. range [deg]

Exists in 3.2.2, 3.2.3, 3.3.0 versions.

Thanks,
Ilya

ps: Linux Mint Cinnamon (17.2)

Re: Float +4.500e+01 format

Posted: 29 Feb 2016, 11:16
by coppelia
Hello,

what do you mean? This is on purpose. "+4.500e+01" is the same as "45.0"

Cheers

Re: Float +4.500e+01 format

Posted: 29 Feb 2016, 13:20
by nemilya
coppelia wrote:Hello,

what do you mean? This is on purpose. "+4.500e+01" is the same as "45.0"

Cheers
When I've tested V-REP at WinXP - this looks (I think) like "45.0", but not at Linux it become "+4.500e+01" (not very comfortable)

Thanks!

Now looks like this
https://drive.google.com/file/d/0BzxPEA ... sp=sharing
Image

Re: Float +4.500e+01 format

Posted: 29 Feb 2016, 17:04
by coppelia
Well, this is maybe a little bit less comfortable, but at least you keep a good precision at all scales, that's why we switched to this notation.

Cheers

Re: Float +4.500e+01 format

Posted: 29 Feb 2016, 23:43
by nemilya
Sorry, this is feature)

Agree that for professional - this good. But for beginners looks little confusing.

Is it possible to make this format-style configurable?

And[or] is it possible to make field's content "select all" just after focus?

Thanks!

Re: Float +4.500e+01 format

Posted: 01 Mar 2016, 10:13
by coppelia
You cannot change the style. But having the text selected on click is a good idea!

Cheers