Synfig Project Forum

Forums for Synfig Project
It is currently Wed Jun 19, 2013 11:37 am

All times are UTC - 4 hours [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Sun Oct 17, 2010 4:43 pm 
Offline
Site Admin

Joined: Mon Feb 16, 2009 5:19 pm
Posts: 217
Parameters (real/vector) are displayed with a large number of digits after the decimal. The defaults are:

real/display: 6
real/edit: 15
vector/display: 6
vector/edit: 10
angle/display: 2
angle/edit: 2

("display" is how many you see browsing the params panel, and "edit" is how many are shown in the edit textbox when you click on a value).

I doubt that anything actually kind of precision. It overcrowds the UI space and is most likely the cause of values being displayed as "67.999999998" rather than "68.000".

Comparison:
Attachment:
comparison.png
comparison.png [ 31.88 KiB | Viewed 590 times ]


We might also consider getting rid of the "X:" and "Y:" labels when editing vectors:
Attachment:
no-x-y.png
no-x-y.png [ 19.01 KiB | Viewed 590 times ]



So my questions are: what precision do you actually need? Would removing the X/Y text to save space when editing vectors be a good change?


Top
 Profile  
 
PostPosted: Sun Oct 17, 2010 5:30 pm 
Offline
Site Admin
User avatar

Joined: Wed Jan 21, 2009 2:36 pm
Posts: 622
Location: Sweden.
For me 2 decimals are well enough. x.xx

Couldn't there be a low decimal number as default with an option for the user to display more decimals? I'm for more user decided options in the settings panel.

_________________
www.rylanderanimation.se
Synfig scripts, etc.


Top
 Profile  
 
PostPosted: Sun Oct 17, 2010 5:49 pm 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4191
Location: Spain
Also, the font size of the spinbutton can be a bit smaller if needed.
I agree on both proposals. I also nod on the number of decimals as an user setting.
-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
PostPosted: Sun Oct 17, 2010 6:11 pm 
Offline
Site Admin

Joined: Mon Feb 16, 2009 5:19 pm
Posts: 217
I agree that a user option would be best, mostly because different precision is required depending on what units you use for the document. I'll put it on my todo list.

Should I change the hardcoded constants for the upcoming release, or wait until I have time to properly implement user options?


Top
 Profile  
 
PostPosted: Sun Oct 17, 2010 10:37 pm 
Offline

Joined: Fri Aug 21, 2009 3:39 am
Posts: 187
Location: ♥ Oblivion! ♥
rylleman wrote:
For me 2 decimals are well enough. x.xx.


for me too, i like the feeling of sharp precision, i have no problem at all because every time those kind of decimal values are selected, the whole 'text' is also selected and is enough with just type as soon as the input box has focus

_________________
Image


Top
 Profile  
 
PostPosted: Mon Oct 18, 2010 2:31 am 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4191
Location: Spain
nikitakit wrote:
Should I change the hardcoded constants for the upcoming release, or wait until I have time to properly implement user options?

I think it is a minor change that shouldn't affect any normal user (I don't know anyone that works on km or miles) but I would use x,xxx instead of x,xx, because there is another issue around apart of the units: the zoom level.
So hardcode it for this release and let's include the new user option in the next one.
-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
PostPosted: Mon Oct 18, 2010 2:32 am 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4191
Location: Spain
Beware that some parameters use values that aren't units size and that its default value is really tiny: See plant layer
-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
PostPosted: Mon Oct 18, 2010 2:36 am 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4191
Location: Spain
What about a precision per parameter? there is a default one defined by the system and a selectable one per layer parameter. Maybe current interface would be a instance of the layer but in the future there can be a preferences per layer system (which could include the default static option and the default blend method by layer)
-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 4 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group