libncursesw display problem in ubuntu 20.4

Bug #1900816 reported by Bernard Moreton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

This was first raised as a Question,
https://answers.launchpad.net/ubuntu/+source/ncurses/+question/693490

Since upgrading from 18.04 LTS to 20.04 LTS I have 2 problems in the screen display using AUBIT4GL

(1)
in displaying data to a screen array where the first field is short (<4 characters) and the gap between the first 2 fields is a single space, and normal display has no explicit colour attribute,
the second field is shifted left by one character.
The CURRENT row, with colour attribute set, displays correctly.
As the row cursor is shifted down the screen and back up, the 'ghost' of previous display remains, so the first 2 fields appear a mess.
If "normal" libncurses is used, the problem does not appear.
The problem can be 'fixed' (or rather, hidden) by applying an explicit colour attribute to the display window, even if it's the same as the implicit colour used when no attribute is given.

(2)
In displaying a window with a border with the top left set at column 3, the border is displayed 1 character space left of the screen fields, so that there is a gap at the left, and the right-hand border is lost.
A variant of this problem appears in a couple of instances, where a MENU line is displayed. In these cases, the border round the 3 sides of the menu lines (top or bottom of the screen) are offset left by 1 and the rest of the border displays correctly.

The only 'fix' I have found is to shift all windows that were starting in column 3, to use column 2 or 4+

I realise that this may not be a cursesw problem, and checking the source code for aubit4gl is beyond me - but as far as I can see, libncursesw is the only thing that has changed ...

My code and screen definitions hadn't changed since before the upgrade from 18.04LTS. Aubit4GL hadn't changed.
The changes in libncursesw (and/or panelw, formw) are a prime possible cause of the new behaviour?

The Aubit4GL TUI_wide plugin links to
  libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007f9ac30dc000)
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: mbm 1654 F.... pulseaudio
CasperMD5CheckResult: skip
CurrentDesktop: X-Cinnamon
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2017-03-09 (1321 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
MachineType: Dell Inc. Inspiron 5767
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-52-generic root=UUID=beba05d5-5ee1-4288-a1c2-c425658b569f ro quiet splash pcie_aspm=off vt.handoff=7
ProcVersionSignature: Ubuntu 5.4.0-52.57-generic 5.4.65
RelatedPackageVersions:
 linux-restricted-modules-5.4.0-52-generic N/A
 linux-backports-modules-5.4.0-52-generic N/A
 linux-firmware 1.187.3
Tags: focal
Uname: Linux 5.4.0-52-generic x86_64
UpgradeStatus: Upgraded to focal on 2020-09-30 (20 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 11/30/2016
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.0.9
dmi.board.name: 0PH0G6
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.0.9:bd11/30/2016:svnDellInc.:pnInspiron5767:pvr:rvnDellInc.:rn0PH0G6:rvrA00:cvnDellInc.:ct10:cvr:
dmi.product.family: Inspiron
dmi.product.name: Inspiron 5767
dmi.product.sku: 077E
dmi.sys.vendor: Dell Inc.

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1900816

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Bernard Moreton (bernard-moreton-1) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected focal
description: updated
Revision history for this message
Bernard Moreton (bernard-moreton-1) wrote : CRDA.txt

apport information

Revision history for this message
Bernard Moreton (bernard-moreton-1) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Bernard Moreton (bernard-moreton-1) wrote : IwConfig.txt

apport information

Revision history for this message
Bernard Moreton (bernard-moreton-1) wrote : Lspci.txt

apport information

Revision history for this message
Bernard Moreton (bernard-moreton-1) wrote : Lspci-vt.txt

apport information

Revision history for this message
Bernard Moreton (bernard-moreton-1) wrote : Lsusb.txt

apport information

Revision history for this message
Bernard Moreton (bernard-moreton-1) wrote : Lsusb-t.txt

apport information

Revision history for this message
Bernard Moreton (bernard-moreton-1) wrote : Lsusb-v.txt

apport information

Revision history for this message
Bernard Moreton (bernard-moreton-1) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Bernard Moreton (bernard-moreton-1) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Bernard Moreton (bernard-moreton-1) wrote : ProcEnviron.txt

apport information

Revision history for this message
Bernard Moreton (bernard-moreton-1) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Bernard Moreton (bernard-moreton-1) wrote : ProcModules.txt

apport information

Revision history for this message
Bernard Moreton (bernard-moreton-1) wrote : PulseList.txt

apport information

Revision history for this message
Bernard Moreton (bernard-moreton-1) wrote : RfKill.txt

apport information

Revision history for this message
Bernard Moreton (bernard-moreton-1) wrote : UdevDb.txt

apport information

Revision history for this message
Bernard Moreton (bernard-moreton-1) wrote : WifiSyslog.txt

apport information

Revision history for this message
Bernard Moreton (bernard-moreton-1) wrote : acpidump.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.