Bug#931444: ncdu: progress dialog: for dirs with many files, total items can almost overlap size

2019-08-16 Thread Eugene V. Lyubimkin
Control: forwarded -1 https://code.blicky.net/yorhel/ncdu/issues/135


Hello Paul,

Paul Wise kirjoitti 5.7.2019 klo 8.32:
> For directories that have many subdirectories and many files, in the
> ncdu progress dialog the total items count can encroach on and almost
> overlap the total size count:
> 
>Total items: 20161797size: 123.4 GiB
> 
> [...]

Thank you for the report, it's now forwarded upstream.


Regards,
-- 
Eugene V. Lyubimkin aka JackYF
C++ GNU/Linux userspace developer, Debian Developer



Bug#931444: ncdu: progress dialog: for dirs with many files, total items can almost overlap size

2019-07-05 Thread Paul Wise
Package: ncdu
Version: 1.13-1+b1
Severity: minor

For directories that have many subdirectories and many files, in the
ncdu progress dialog the total items count can encroach on and almost
overlap the total size count:

   Total items: 20161797size: 123.4 GiB

I would expect that the code should instead always insert at least one
space between items and size but it seems like the location of the size
item is hard-coded:

https://sources.debian.org/src/ncdu/1.13-1/src/dir_common.c/?hl=125#L109

-- System Information:
Debian Release: 10.0
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (860, 
'testing-proposed-updates'), (850, 'buildd-testing-proposed-updates'), (800, 
'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 
'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), 
LANGUAGE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ncdu depends on:
ii  libc6 2.28-10
ii  libncursesw6  6.1+20181013-2
ii  libtinfo6 6.1+20181013-2

ncdu recommends no packages.

ncdu suggests no packages.

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise



signature.asc
Description: This is a digitally signed message part