Package: k4dirstat
Version: 3.4.2-1
Severity: normal
Tags: upstream

Dear Maintainer,

When running k4dirstat, there are many log message to stdout (or to journald)
that are flooding alot:
kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "Elapsed
time: %1" msgid_plural: "" msgctxt: ""
kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "Elapsed
time: %1" msgid_plural: "" msgctxt: ""
kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "Elapsed
time: %1" msgid_plural: "" msgctxt: ""
kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "Elapsed
time: %1" msgid_plural: "" msgctxt: ""
kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "Elapsed
time: %1" msgid_plural: "" msgctxt: ""
kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "Elapsed
time: %1" msgid_plural: "" msgctxt: ""
[...]

This cause the systemd journal to rollover (thus discarding earlier logs) and
makes very hard to read other logs from other applications.

These logs were added in libkf5i18n version 5.99.0 for an existing error (that
predate 5.99.0).
The commit that added it is
https://invent.kde.org/frameworks/ki18n/-/commit/da282defa469825aa7cbf5fcf403b56f01cea2e5

The issue is that KLocalizedString::setApplicationDomain needs to be called at
application start-up.
I found that by browsing these resources:

    https://api.kde.org/frameworks/ki18n/html/prg_guide.html#link_prog
https://invent.kde.org/frameworks/ki18n/-/commit/550dff73742dde89823a3d321e18160615d62baf

Else, the text won't be translated when the error message appears on stdout
(this was also true before the message was added).

I've already reported it upstream [1] but report it here too in case you want
to fix this issue for bookworm.
[1] https://github.com/jeromerobert/k4dirstat/issues/49


-- System Information:
Debian Release: 12.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-7-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr:en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages k4dirstat depends on:
ii  kio                   5.103.0-1
ii  libc6                 2.36-9
ii  libkf5configcore5     5.103.0-2
ii  libkf5configgui5      5.103.0-2
ii  libkf5configwidgets5  5.103.0-1
ii  libkf5coreaddons5     5.103.0-1
ii  libkf5i18n5           5.103.0-1
ii  libkf5iconthemes5     5.103.0-1
ii  libkf5jobwidgets5     5.103.0-1
ii  libkf5kiocore5        5.103.0-1
ii  libkf5kiogui5         5.103.0-1
ii  libkf5kiowidgets5     5.103.0-1
ii  libkf5widgetsaddons5  5.103.0-1
ii  libkf5xmlgui5         5.103.0-1
ii  libqt5core5a          5.15.8+dfsg-3
ii  libqt5gui5            5.15.8+dfsg-3
ii  libqt5widgets5        5.15.8+dfsg-3
ii  libstdc++6            12.2.0-14
ii  zlib1g                1:1.2.13.dfsg-1

Versions of packages k4dirstat recommends:
ii  xdg-utils  1.1.3-4.1

k4dirstat suggests no packages.

-- no debconf information

--
Alexis Murzeau
PGP: B7E6 0EBB 9293 7B06 BDBC  2787 E7BD 1904 F480 937F                |

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to