Regional settings are ignored in the property editor

Bug #1365514 reported by Stan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Workcraft
Fix Committed
Low
Danil Sokolov

Bug Description

- when regional settings are set to have comma "," as a decimal separator, fractional numbers in properties cannot be entered (trying to enter 0,5 would give you 0,0 as a result)
- current workaround: regardless of settings, enter with "." as a separator.

Tags: ui

Related branches

Changed in workcraft:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → Danil Sokolov (danilovesky)
milestone: none → 3.0
tags: added: ui
summary: - incorrect behaviour with fractional numbers in properties with other
- regional settings
+ Regional settings are ignored in the property editor
Revision history for this message
Danil Sokolov (danilovesky) wrote :

A naive solution currently implemented is to replace "," to "." passing the string to Double.parseDouble.

A better solution may be based on NumberFormat.parse method.

Changed in workcraft:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.