From owner-freebsd-ports@FreeBSD.ORG Sat Apr 2 13:31:18 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5D4116A4CE; Sat, 2 Apr 2005 13:31:18 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id E261143D41; Sat, 2 Apr 2005 13:31:15 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.21] (rat.samsco.home [192.168.254.21]) (authenticated bits=0) by pooker.samsco.org (8.13.1/8.13.1) with ESMTP id j32DYYF6029522; Sat, 2 Apr 2005 06:34:37 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <424E9E24.5020705@samsco.org> Date: Sat, 02 Apr 2005 06:29:08 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.5) Gecko/20050321 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Francois Tigeot References: <438054D63A8B35F8E2F49504@palle.girgensohn.se> <20050401063637.GB72973@aoi.wolfpond.org> <424D7980.8030405@spymac.com> <20050401191032.GC11491@aoi.wolfpond.org> <424DD199.5060804@FreeBSD.org> <20050402065307.GA38154@aoi.wolfpond.org> In-Reply-To: <20050402065307.GA38154@aoi.wolfpond.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on pooker.samsco.org cc: ports@freebsd.org cc: Bruno Van Den Bossche cc: Doug Barton cc: scottl@freebsd.org Subject: Re: Windowmaker crashes when kplayer is finished X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Apr 2005 13:31:18 -0000 Francois Tigeot wrote: > On Fri, Apr 01, 2005 at 07:56:25PM -0300, Doug Barton wrote: > >>Francois Tigeot wrote: > > > [problems with windowmaker-0.91.0 and QT dialog boxes] > > >>>I can howewer confirm, the problem is exactly as you described it: >>>applications do not freeze, but they do not receive keyboard and mouse >>>input. >>> >>>I have configured a key shortcut to maximize the current window with >>>wmpref. File/Open Location still reliably "freezed" konqueror as described >>>in the PR. I then activated the shortcut and the Open dialog appeared >>>fullscreen. I could then close it and continue to interact with konqueror >>>normally. >>> >>>Thanks for your insight, now I know this is a real bug :) >> >>Unfortunately it's not my insight, it's scottl's. I'm not nearly as smart >>as he is. :) > > > Actually, I was thinking about Bruno ;-) > > I just found this message on the wm-devel list: > > http://article.gmane.org/gmane.compw.window-managers.windowmaker.devel/749 > "64bit bug in WindowMaker" > > Vladimir Nadvornik from Suse had submitted a patch to fix this bug back in > january. I have tested it on my amd64 machine and the dialog boxes now appear > correctly on the screen. > > IMHO, this should be included in the windowmaker port before 5.4-RELEASE. > Ah, and Bruno kind of names the problem specifically, but skirts around it in the end. The problem is that XChangeProperty and XGetWindowProperty simply don't work right with 32 bit data on 64 bit platforms. I guess it comes from years and years of X and application developers assuming that a 'long' would always be 32 bits. Instead of fixing this assumption, the X authors decided to permanently break it and make the format value of 32 mean 'platform-specific long' not '32 bits'. Grrr. Now that I understand the bug, I can probably whip up a "more appropriate" patch for windowmaker. Scott