From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: bug#1405: detached GTK+ tool bar Date: Mon, 24 Nov 2008 09:03:29 +0100 Message-ID: <492A5FD1.5040606@swipnet.se> References: <87hc5zcug7.fsf@cyd.mit.edu> <492937F5.1040301__9972.48901189796$1227438707$gmane$org@swipnet.se> <87ej12m1ar.fsf@escher.local.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1227513836 26184 80.91.229.12 (24 Nov 2008 08:03:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Nov 2008 08:03:56 +0000 (UTC) Cc: Chong Yidong , 1405@emacsbugs.donarmstrong.com, emacs-devel@gnu.org To: Stephen Berman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 24 09:04:59 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L4WRF-0003lf-Ry for ged-emacs-devel@m.gmane.org; Mon, 24 Nov 2008 09:04:58 +0100 Original-Received: from localhost ([127.0.0.1]:41388 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4WQ6-0007PI-FR for ged-emacs-devel@m.gmane.org; Mon, 24 Nov 2008 03:03:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L4WQ2-0007PB-PZ for emacs-devel@gnu.org; Mon, 24 Nov 2008 03:03:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L4WQ2-0007Ow-7o for emacs-devel@gnu.org; Mon, 24 Nov 2008 03:03:42 -0500 Original-Received: from [199.232.76.173] (port=52436 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4WQ2-0007Ot-4y for emacs-devel@gnu.org; Mon, 24 Nov 2008 03:03:42 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:63569) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L4WQ1-0004uN-J8 for emacs-devel@gnu.org; Mon, 24 Nov 2008 03:03:41 -0500 Original-Received: from nf-out-0910.google.com ([64.233.182.191]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L4WPz-0003eh-Qs for emacs-devel@gnu.org; Mon, 24 Nov 2008 03:03:40 -0500 Original-Received: by nf-out-0910.google.com with SMTP id c7so1022366nfi.26 for ; Mon, 24 Nov 2008 00:03:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding:sender; bh=pLa+TciaLKIsqF1ty6RV/m5p7SnGynDXXhRs4+VRY9U=; b=AjcTR4A8Z0uP8uDuvQ2/LXOUQm2QqiOG91cHK1sW6vWeIkP+xPS+1szkPqyQVAH36x KgPlHoEPx3iNlU3o3KZz48P4VcVQsWmTyXRSberA3J3DLXPnl6vOttIfYH50oOcWlnGd yrF3dbvPl1eBatdERzpdXnpS3iTkF6Uf9zs2Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :sender; b=IhaC0sZzMnGg8/yVdX9cI9XmVy1V0e9obHFp+Oq4wzUsHSKL9MALHDtSP49AB9Rz2R bvAVwVOtFgYoC8oVrAa9PFGQLgXC86o9Z38NYZWvKxcrhrm3+1t+NbBnfF8NAoNJvA+C vEJTopFdMV51f1hGVNQRHvZ/9i3DKIglD32w4= Original-Received: by 10.210.79.14 with SMTP id c14mr3265065ebb.194.1227513816500; Mon, 24 Nov 2008 00:03:36 -0800 (PST) Original-Received: from ?10.225.40.39? ([193.45.43.33]) by mx.google.com with ESMTPS id 3sm1468045eyi.5.2008.11.24.00.03.30 (version=SSLv3 cipher=RC4-MD5); Mon, 24 Nov 2008 00:03:35 -0800 (PST) User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) In-Reply-To: <87ej12m1ar.fsf@escher.local.home> X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:106065 Archived-At: Stephen Berman skrev: > On Sun, 23 Nov 2008 12:01:09 +0100 Jan Djärv wrote: > >> Chong Yidong skrev: >>> Excerpted from bug#1405: >>> >>>> ... >>>> Perhaps this is a GTK+ bug, but I'm not aware of another GTK+ app >>>> aside from Emacs that uses a detachable tool bar to test for it. >>> When Emacs got detachable tool bars, it was the standard for GTK >>> applications to provide a detachable tool bar. Nowadays, no other GTK >>> application provides a detachable tool bar as far as I can tell. (Maybe >>> this feature was considered useless?) So maybe we should turn this off. >>> >>> Jan, what do you think? >> We can always make it un-detachable by default and have some frame parameter >> to turn it on. But since there are uses for a detachable tool bar as Stephen >> points out, I'd rather not remove it until we really need to (i.e. when Gtk+ >> removes the API for it). > > Does this mean you don't expect to come up with a fix for the "shrinking > frame" bug? (Unfortunately, I don't know enough to do more than ask...) It is first on my list of bugs to fix. Unfortunately it is a race condition and I haven't found a foolproof solution yet. I have let this issue rest for a while, I need to find a new approach I think. > >> But as for the focus bug described here, focus setting is in the >> responsibility of the window manager. If for instance you have click to >> focus, the behaviour described here is expected. >> >> I'd rather see if the focus can be kept to the frame. We can perhaps put some >> hints to the window manager. I'll look in to it. Can the OP please tell us >> what window manager he is using and what kind of focus model he has (click to >> focus, focus follows mouse)? > > I'm using KDE/kwin and click to focus. But I also see the same behavior > (i.e. focus not returning to the window/frame the tool bar was detached > from) with a focus follows mouse policy. > Thanks for the information. Jan D.