'foreground=darkred' can make text illegible

Bug #1982660 reported by ALinuxUser
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
New
Undecided
Unassigned

Bug Description

The Ubuntu release at issue: 22.04 (but also some or all subsequent versions?).

Version of package: unclear or not quite applicable; please see below.

Expectation: all text in the installer is legible.

Reality: not all text in the installer is legible.

Details area as follows.

To the best of my limited knowledge, the Ubiquity installer can end up rendering some text - including some rather important text - in a hard-to-read dark red on black. 'To the best of my knowledge' because I gather, from a bug report that I filed against Linux Mint, that this problem _in some way_ owes to the Ubiquity installer. I attach a screenshot that shows the problem.

The bug report that I mention is here: <https://github.com/linuxmint/mint21-beta/issues/79#issuecomment-1193125018>. The report describes how, in a version of Ubiquity used by Mint, an important warning is very hard to read when using dark mode (and the report gives the aforementioned, and here attached, screenshot). In responding to the report, the chief maintainer of Linux Mint wrote as follows.

[Start of quotation. Abridgement and interpolation mine.]

I agree with you. If this was our installer I'd replace this foreground=darkred with weight=bold. However this is Ubiquity, the pango markups are part of the translations, there are 1729 occurences of them in PO files, some taking multiple lines, some using backslashes in front of the quotes. I don't want to risk an l10n issue just for this or even worse an installer crash. [. . .] This is indeed a bug and it should be fixed but the way ubiquity is coded, this isn't worth risking a regression [in Linux Mint 21] for.

[End of quotation.]

The Mint installer at issue is from Linux Mint 21.0, which is based upon Ubuntu 22.04. The Mint installer is hosted at <https://github.com/linuxmint/ubiquity>.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu27.24
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: X-Cinnamon
DeviceMapperTables: No devices found
DistroRelease: Linux Mint 20.3
DmraidDevices: no block devices found
DmraidSets: no block devices found
MachineType: LENOVO 20KH001UKP
MemoryUsage:
 total used free shared buff/cache available
 Mem: 16274436 2293624 178196 1346504 13802616 12294188
 Swap: 21423100 1772 21421328
Package: debian-installer (not installed)
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-41-generic root=UUID=65538fc8-e344-42ac-94f4-2751b5bf7f76 ro cpuidle.governor=teo i915.enable_fbc=1 i915.fastboot=1 mitigations=off psmouse.synaptics_intertouch=1 quiet reboot=w splash msr.allow_writes=on nosgx acpi_backlight=video
ProcVersionSignature: Ubuntu 5.15.0-41.44~20.04.1-generic 5.15.39
Tags: una
Uname: Linux 5.15.0-41-generic x86_64
UnreportableReason: This is not an official Linux package. Please remove any third party package and try again.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: _chrony adm cdrom clamav davfs2 dialout dip input lpadmin netdev plugdev postfix sambashare sudo systemd-network vboxusers
_MarkForUpload: True
dmi.bios.date: 11/16/2021
dmi.bios.release: 1.55
dmi.bios.vendor: LENOVO
dmi.bios.version: N23ET80W (1.55 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20KH001UKP
dmi.board.vendor: LENOVO
dmi.board.version: 0B98417 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.22
dmi.modalias: dmi:bvnLENOVO:bvrN23ET80W(1.55):bd11/16/2021:br1.55:efr1.22:svnLENOVO:pn20KH001UKP:pvrThinkPadX1Carbon6th:rvnLENOVO:rn20KH001UKP:rvr0B98417WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20KH_BU_Think_FM_ThinkPadX1Carbon6th:
dmi.product.family: ThinkPad X1 Carbon 6th
dmi.product.name: 20KH001UKP
dmi.product.sku: LENOVO_MT_20KH_BU_Think_FM_ThinkPad X1 Carbon 6th
dmi.product.version: ThinkPad X1 Carbon 6th
dmi.sys.vendor: LENOVO

Revision history for this message
ALinuxUser (buntulongername-new) wrote :
Revision history for this message
Chris Guiver (guiverc) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Please execute the following command only once, as it will automatically gather debugging information, in a terminal:

apport-collect 1982660

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Please note: `ubuntu-bug`, `apport` & bug reporting tools are provided with Ubuntu by default, many require manual addition for some releases of downstream OSes based on Ubuntu (eg. Linux Mint). You should check with your distribution first.

Also be aware the Debian Installer is deprecated in recent releases, being replaced by `subiquity` (server installs) and `calamares` (flavor installs no long offer alternate ISOs which is where di was used). It was supported in focal & earlier but may not be used in future ISOs having been replaced by subiquity.

Changed in debian-installer (Ubuntu):
status: New → Incomplete
Revision history for this message
ALinuxUser (buntulongername-new) wrote : CurrentDmesg.txt

apport information

tags: added: apport-collected una
description: updated
Revision history for this message
ALinuxUser (buntulongername-new) wrote : DISyslog.gz

apport information

Revision history for this message
ALinuxUser (buntulongername-new) wrote : DiskUsage.txt

apport information

Revision history for this message
ALinuxUser (buntulongername-new) wrote : Lspci.txt

apport information

Revision history for this message
ALinuxUser (buntulongername-new) wrote : Lspci-vt.txt

apport information

Revision history for this message
ALinuxUser (buntulongername-new) wrote : Lsusb.txt

apport information

Revision history for this message
ALinuxUser (buntulongername-new) wrote : Lsusb-t.txt

apport information

Revision history for this message
ALinuxUser (buntulongername-new) wrote : Lsusb-v.txt

apport information

Revision history for this message
ALinuxUser (buntulongername-new) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
ALinuxUser (buntulongername-new) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
ALinuxUser (buntulongername-new) wrote : ProcEnviron.txt

apport information

Revision history for this message
ALinuxUser (buntulongername-new) wrote : ProcInterrupts.txt

apport information

Revision history for this message
ALinuxUser (buntulongername-new) wrote : ProcModules.txt

apport information

Revision history for this message
ALinuxUser (buntulongername-new) wrote : UdevDb.txt

apport information

Revision history for this message
ALinuxUser (buntulongername-new) wrote : acpidump.txt

apport information

Revision history for this message
ALinuxUser (buntulongername-new) wrote :

'[B]e aware the Debian Installer is deprecated in recent releases, being replaced by `subiquity': so have I reported this bug against the right package, please?

I was unsure what you wished me to do with the apport information. In the menu that the program offered me I chose 'send'. Nothing happened for a while and then I got a prompt back. (That is not good UI, if I may say so.) I presume that the information got sent.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for debian-installer (Ubuntu) because there has been no activity for 60 days.]

Changed in debian-installer (Ubuntu):
status: Incomplete → Expired
Revision history for this message
ALinuxUser (buntulongername-new) wrote :

It would be unfortunate were this problem to continue to blight the installer.

Benjamin Drung (bdrung)
affects: debian-installer (Ubuntu) → ubiquity (Ubuntu)
Changed in ubiquity (Ubuntu):
status: Expired → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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