Your message dated Wed, 27 May 2026 10:14:32 +0800
with message-id 
<caou6tabcqqf3ykm5yk5rvt1rj+cdgbhsefuau1cfat1zi3o...@mail.gmail.com>
and subject line Re: Bug#1012611: btop: Problems with rounding and locale when 
the string must be short. E.g. "1.87 GiB" -> " 1,0G"
has caused the Debian Bug report #1012611,
regarding btop: Problems with rounding and locale when the string must be 
short. E.g. "1.87 GiB" -> " 1,0G"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1012611: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012611
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: btop
Version: 1.2.7-1
Severity: minor

Dear Maintainer,

the use of locale by the program is not fully consistent.

The line "Load AVG:" is correct. I.e.:
$ LANG=C btop --utf-force
prints "Load AVG:   0.43   0.54   0.70" with dots ".";
$ LANG=eo btop --utf-force
prints "Load AVG: 0,43 0,54 0,70", the same with commas ",". Correct.

The size of memory or disks does not respect locale. E.g.:
$ LANG=C btop --utf-force
prints "72.9 Mi" or "1.86 GiB" with dots ".";
$ LANG=eo btop --utf-force
also prints "72.9 Mi" or "1.86 GiB", again with dots ".",
it should be with commas ",".

But the more important issue arises when the terminal size is small
and the program uses shorter forms. E.g.:
$ LANG=eo btop --utf-force
with a large terminal size prints "1.86 GiB", with dot;
the same value, with a small terminal size is printed as "1,0G",
with comma.
The problem is the digit: ",0" instead of ",9".
With LANG=C the program correctly prints "1.9G".

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.17.0-1-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=eo, LC_CTYPE=eo (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages btop depends on:
ii  libc6       2.33-7
ii  libgcc-s1   12.1.0-2
ii  libstdc++6  12.1.0-2

btop recommends no packages.

btop suggests no packages.

-- no debconf information

Ĝis,
m

--
http://bodrato.it/papers/

--- End Message ---
--- Begin Message ---
Closing issue in Debian as this is an upstream bug. I am not filing a
bug upstream myself as I didn't encounter this. If the issue still
exists, please file a bug upstream. Thanks!


On Mon, 24 Nov 2025 at 11:23, Otto Kekäläinen <[email protected]> wrote:
>
> Hi!
>
> Can you please test the latest btop 1.4.5-1 and let me know if the
> issue still presists?
>
> I don't think we can fix it with a patch in Debian, so if it still
> exists, please look check if it was already reported upstream at
> https://github.com/aristocratos/btop/issues. Thanks!

--- End Message ---

Reply via email to