NetBSD Problem Report #56855

From martin@aprisoft.de  Tue May 24 14:01:10 2022
Return-Path: <martin@aprisoft.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 231511A921F
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 24 May 2022 14:01:10 +0000 (UTC)
Message-Id: <20220524140101.0FE105CC860@emmas.aprisoft.de>
Date: Tue, 24 May 2022 16:01:01 +0200 (CEST)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: xdm display broken
X-Send-Pr-Version: 3.95

>Number:         56855
>Category:       xsrc
>Synopsis:       xdm display broken
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    nia
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 24 14:05:00 +0000 2022
>Closed-Date:    Fri May 17 14:25:34 +0000 2024
>Last-Modified:  Fri May 17 14:25:34 +0000 2024
>Originator:     Martin Husemann
>Release:        NetBSD 9.99.97
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD martins.aprisoft.de 9.99.97 NetBSD 9.99.97 (GENERIC) #124: Mon May 23 20:32:00 CEST 2022 martin@martins.aprisoft.de:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:

I have

xdm=YES

in /etc/rc.conf and after a system update yesterday it now looks totaly
ugly:

 - fonts changed (not sure if that is related)
 - "Login:" and "Password:" labels are misaligned
 - input gadgets for login and password are misaligned

>How-To-Repeat:

Install current, set xdm=YES

>Fix:
n/a

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: xsrc-manager->nia
Responsible-Changed-By: nia@NetBSD.org
Responsible-Changed-When: Tue, 24 May 2022 14:34:04 +0000
Responsible-Changed-Why:
mine


From: nia <nia@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: xsrc/56855: xdm display broken
Date: Tue, 24 May 2022 14:41:07 +0000

 What can I say... the configuration 'looked good on my machine' :(

 http://ftp.netbsd.org/pub/NetBSD/misc/nia/xdm.jpg

 xdm's ability to align and resize itself for different font sizes
 is pretty limited, and it's difficult to predict exactly how
 scalable fonts will be rendered on a range of different display sizes. 

 Can you try replacing "Liberation XXX" here in
 /etc/xdm/Xresources

 xlogin*greetFace:       Liberation Sans:pixelsize=32:hintstyle=hintslight
 xlogin*face:            Liberation Mono:pixelsize=16:hintstyle=hintslight
 xlogin*promptFace:      Liberation Mono:pixelsize=16:hintstyle=hintslight
 xlogin*failFace:        Liberation Mono:pixelsize=16:hintstyle=hintslight

 with simply "Monospace"?

From: "Nia Alarie" <nia@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/56855 CVS commit: src/external/mit/xorg/bin/xdm/config
Date: Tue, 24 May 2022 14:53:15 +0000

 Module Name:	src
 Committed By:	nia
 Date:		Tue May 24 14:53:15 UTC 2022

 Modified Files:
 	src/external/mit/xorg/bin/xdm/config: Xresources.in

 Log Message:
 xdm: Revert font changes. Requested by martin.

 In addition, we must lower innerFramesWidth to prevent the new-old
 fonts from causing the two text input boxes to overlap. xdm really
 could be more clever about text layout...

 PR xsrc/56855


 To generate a diff of this commit:
 cvs rdiff -u -r1.7 -r1.8 src/external/mit/xorg/bin/xdm/config/Xresources.in

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback
State-Changed-By: nia@NetBSD.org
State-Changed-When: Fri, 17 May 2024 14:10:10 +0000
State-Changed-Why:
is it better these days?


From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: xsrc/56855 (xdm display broken)
Date: Fri, 17 May 2024 16:22:57 +0200

 Fixed by 

 xsrc/external/mit/xdm/dist/greeter/Login.c 
 ----------------------------
 revision 1.7
 date: 2022-05-25 00:47:52 +0200;  author: mlelstv;  state: Exp;  lines: +1 -1;  commitid: nxp6eZOtEbWQsmFD;
 Position input fields without overlap.

State-Changed-From-To: feedback->closed
State-Changed-By: nia@NetBSD.org
State-Changed-When: Fri, 17 May 2024 14:25:34 +0000
State-Changed-Why:


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.