Skip to content

Decimal separator read differently when starting and when reloading #8574

Open
@Piripuz

Description

Hello, I am having a problem with the decimal separator of my config.
In my sistem, the default separator is set to a comma (as it is used in Italy).

locale gives, as output,

LC_CTYPE="it_IT.UTF-8"
LC_NUMERIC="it_IT.UTF-8"
LC_TIME="it_IT.UTF-8"
LC_COLLATE="it_IT.UTF-8"
LC_MONETARY="it_IT.UTF-8"
LC_MESSAGES="it_IT.UTF-8"
LC_PAPER="it_IT.UTF-8"
LC_NAME="it_IT.UTF-8"
LC_ADDRESS="it_IT.UTF-8"
LC_TELEPHONE="it_IT.UTF-8"
LC_MEASUREMENT="it_IT.UTF-8"
LC_IDENTIFICATION="it_IT.UTF-8"
LC_ALL=

and locale decimal_point gives a comma.

Nonetheless, each time sway is started it uses the dot as decimal separator, and errors to my config at the line in which the decimal value is written. After erroring, reloading sway makes it read the config as expected (and thus without errors if in the config there are commas, with errors if there are dots).

A log with the error is here, and this is my config. The erroring lines are line 83 and 84 of the config.

I'm running sway 1.10.1, in arch linux.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugNot working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions