[Pkg-kde-extras] Bug#971242: debconf-kde-helper: Widgets note and error show the Description and Extended Description in wrong order/position

Jaakko Kantojärvi jaakko at n-1.fi
Sun Sep 27 23:06:53 BST 2020


Package: debconf-kde-helper
Version: 1.0.3-4
Severity: normal

Dear Maintainer,

I think note and error inputs add the description and the extended description
in
wrong QWidgets. The Description is added to textTE (KTextEdit) and the extended
description is added into descriptionL (QLabel). The former is clearly meant
for the longer content, while the latter for the shorter text.

The rendering can be compared to the gnome frontend, where the information is
in a different order.

I have attached a small script, which can be used to show the wrong rendering.



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

Kernel: Linux 5.8.0-1-amd64 (SMP w/24 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en_GB
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages debconf-kde-helper depends on:
ii  libc6              2.31-3
ii  libdebconf-kde1    1.0.3-4
ii  libkf5coreaddons5  5.70.0-2
ii  libkf5i18n5        5.70.0-1
ii  libqt5core5a       5.14.2+dfsg-6
ii  libqt5widgets5     5.14.2+dfsg-6
ii  libstdc++6         10.2.0-9

debconf-kde-helper recommends no packages.

debconf-kde-helper suggests no packages.
-------------- next part --------------
#!/bin/sh

tmp=$(mktemp -d /tmp/debconf-kde-bug.XXXXX)

cat > "$tmp/templates" <<EOF
Template: bug-example/error
Type: error
Description: This is the error title, it should be in a label
 This is the extended description of the error.
 .
 This is shown in a text box in Gnome Frontend.

Template: bug-example/note
Type: note
Description: This is the note title, it should be in a label
 This is the extended description of the note.
 .
 This is shown in a text box in Gnome Frontend.
EOF

cat > "$tmp/script" <<EOF
. /usr/share/debconf/confmodule
db_x_loadtemplatefile $tmp/templates
db_input critical bug-example/error || true
db_go || true
db_input critical bug-example/note || true
db_go || true
EOF

export DEBIAN_PRIORITY=medium
export DEBCONF_DEBUG=developer
export DEBCONF_DB_REPLACE="File{$tmp/debconf.dat}"

debconf --frontend=kde sh -x $tmp/script

rm -r "$tmp" || true


More information about the pkg-kde-extras mailing list