From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: detached GTK+ tool bar Date: Sun, 23 Nov 2008 12:01:09 +0100 Message-ID: <492937F5.1040301@swipnet.se> References: <87hc5zcug7.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1227438093 27333 80.91.229.12 (23 Nov 2008 11:01:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Nov 2008 11:01:33 +0000 (UTC) Cc: Stephen Berman , 1405@emacsbugs.donarmstrong.com, emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 23 12:02:35 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 1L4CjY-0002Cp-FW for ged-emacs-devel@m.gmane.org; Sun, 23 Nov 2008 12:02:33 +0100 Original-Received: from localhost ([127.0.0.1]:53497 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4CiP-0004ww-4J for ged-emacs-devel@m.gmane.org; Sun, 23 Nov 2008 06:01:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L4CiJ-0004wW-Gj for emacs-devel@gnu.org; Sun, 23 Nov 2008 06:01:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L4CiH-0004vt-UD for emacs-devel@gnu.org; Sun, 23 Nov 2008 06:01:15 -0500 Original-Received: from [199.232.76.173] (port=58552 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4CiH-0004vq-NL for emacs-devel@gnu.org; Sun, 23 Nov 2008 06:01:13 -0500 Original-Received: from proxy3.bredband.net ([195.54.101.73]:56866) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L4CiH-0007zE-Ea for emacs-devel@gnu.org; Sun, 23 Nov 2008 06:01:13 -0500 Original-Received: from ironport.bredband.com (195.54.101.120) by proxy3.bredband.net (7.3.127) id 48DC49FD011CFF8C for emacs-devel@gnu.org; Sun, 23 Nov 2008 12:01:11 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnZQAPbGKElV4S1uPGdsb2JhbACBbYctijgBAQEBNbpggnw Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ironport1.bredband.com with ESMTP; 23 Nov 2008 12:01:10 +0100 Original-Received: from [172.20.199.5] (winter [172.20.199.5]) by coolsville.localdomain (Postfix) with ESMTP id 045E27FA07A; Sun, 23 Nov 2008 12:01:10 +0100 (CET) User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) In-Reply-To: <87hc5zcug7.fsf@cyd.mit.edu> X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:106020 Archived-At: 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). 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)?