Float +4.500e+01 format

Report crashes, strange behaviour, or apparent bugs
Post Reply
nemilya
Posts: 12
Joined: 11 Feb 2015, 10:02

Float +4.500e+01 format

Post 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)

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Float +4.500e+01 format

Post by coppelia »

Hello,

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

Cheers

nemilya
Posts: 12
Joined: 11 Feb 2015, 10:02

Re: Float +4.500e+01 format

Post 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

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Float +4.500e+01 format

Post 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

nemilya
Posts: 12
Joined: 11 Feb 2015, 10:02

Re: Float +4.500e+01 format

Post 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!

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Float +4.500e+01 format

Post by coppelia »

You cannot change the style. But having the text selected on click is a good idea!

Cheers

Post Reply