Skip to content

Decimal values ​​of the editor settings containing a fractional part do not respect the system region setting #2056

@rkopicki

Description

@rkopicki

Description

The two editor settings that are decimal values ​​containing a fractional part, i.e. Settings... > Appearance > Line height and Settings... > Edit > Delay, do not respect the system locale when the user selects a custom region in System Settings... > General > Language and Region.

To Reproduce

  1. Go to System Settings... > General > Language & Region
  2. From the Region dropdown menu, select any of the available regions that use a decimal point other than the current, e.g. the coma instead of the dot symbol.
  3. Open CotEditor.
  4. Go to the editor's Settings... > Appearance and notice that the Line height value uses the unchanged decimal point symbol.

Expected behavior

The editor settings take into account the user's choices made at the system settings level.

CotEditor version

7.0.0-beta.3 (805)

macOS version

26.4

Additional context

Proposed solution available as PR #2055.

Metadata

Metadata

Assignees

Labels

bugsomethings work not correctly matterissues caused by bugs by Apple

Type

No fields configured for Bug.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions