NetBSD Problem Report #58446

From www@netbsd.org  Fri Jul 19 15:36:48 2024
Return-Path: <www@netbsd.org>
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)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
	 client-signature RSA-PSS (2048 bits) client-digest SHA256)
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id B066C1A9239
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 19 Jul 2024 15:36:47 +0000 (UTC)
Message-Id: <20240719153646.490761A923A@mollari.NetBSD.org>
Date: Fri, 19 Jul 2024 15:36:46 +0000 (UTC)
From: s9281723@gmail.com
Reply-To: s9281723@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Unable to type after switching workspace with mouse in ctwm
X-Send-Pr-Version: www-1.0

>Number:         58446
>Category:       misc
>Synopsis:       Unable to type after switching workspace with mouse in ctwm
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 19 15:40:00 +0000 2024
>Last-Modified:  Sun Jul 28 22:45:01 +0000 2024
>Originator:     Szymon
>Release:        9.4
>Organization:
-
>Environment:
NetBSD localhost 9.4 NetBSD 9.4 (GENERIC) #0: Sat Apr 20 13:32:22 UTC 2024  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
When I switch the workspace with the mouse, I cannot write in applications such as Firefox or Libreoffice.
>How-To-Repeat:
1. Open Firefox in second workspace.
2. Do something in the first workspace, e.g. ls command in xterm.
3. Click the second workspace icon to go to the second workspace. Do not use keyboard alt-2.
4. Click in Firefox address field and try to write something. Letters do not appear.
5. Move Firefox window a bit and you can write now.
>Fix:

>Audit-Trail:
From: RVP <rvp@SDF.ORG>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: misc/58446: Unable to type after switching workspace with mouse
 in ctwm
Date: Fri, 26 Jul 2024 07:56:11 +0000 (UTC)

 This looks like the report here:

 https://www.mail-archive.com/ctwm@ctwm.org/msg01257.html

 but that doesn't specify the CTWM version; and I'm unable to
 reproduce this on 4.1.0. Does the latest version work:

 https://pkgsrc.se/wm/ctwm

 -RVP

From: szymon <s9281723@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: misc/58446: Unable to type after switching workspace with mouse
 in ctwm
Date: Sat, 27 Jul 2024 22:08:57 +0200

 This problem is different than the one described in:
 https://www.mail-archive.com/ctwm@ctwm.org/msg01257.html

 and it occurs in NetBSD 9.4, NetBSD 10.0 with ctwm 4.0.3.

 I can switch between workspaces but when I go back to a workspace I
 can't sometimes type in it. This problem happens randomly and goes
 away when I move the app window a bit with the mouse by grabbing the
 title bar and I can type again.

From: RVP <rvp@SDF.ORG>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: misc/58446: Unable to type after switching workspace with mouse
 in ctwm
Date: Sun, 28 Jul 2024 22:44:45 +0000 (UTC)

 On Sat, 27 Jul 2024, szymon wrote:

 > and it occurs in NetBSD 9.4, NetBSD 10.0 with ctwm 4.0.3.
 >
 > I can switch between workspaces but when I go back to a workspace I
 > can't sometimes type in it. This problem happens randomly and goes
 > away when I move the app window a bit with the mouse by grabbing the
 > title bar and I can type again.
 >

 I just tested ctwm-4.0.3 from 9.4_STABLE on a -HEAD system and I just can't
 reproduce this. (Apart from a bug making drop-down menus in FF disappear when
 you move into them; but, that isn't seen on 4.1.0.)

 Can you try compiling ctwm-4.1.0 from pkgsrc (it's very easy) after appliying
 the patch from here as a local patch:

 https://www.mail-archive.com/ctwm@ctwm.org/msg01272.html

 The pkgsrc guide tells you how to do it. Else, just file a pkgsrc PR. Without
 that patch, the ctwm-4.1.0 in pkgsrc doesn't launch programs correctly.

 -RVP

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.