libncursesw display problem in ubuntu 20.4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
This was first raised as a Question,
https:/
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_
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CasperMD5CheckR
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=
ProcVersionSign
RelatedPackageV
linux-
linux-
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.
dmi.product.family: Inspiron
dmi.product.name: Inspiron 5767
dmi.product.sku: 077E
dmi.sys.vendor: Dell Inc.
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.