unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan D." <jan.h.d@swipnet.se>
To: Stephen Berman <stephen.berman@gmx.net>
Cc: Chong Yidong <cyd@stupidchicken.com>,
	1405@emacsbugs.donarmstrong.com, emacs-devel@gnu.org
Subject: Re: bug#1405: detached GTK+ tool bar
Date: Mon, 24 Nov 2008 09:03:29 +0100	[thread overview]
Message-ID: <492A5FD1.5040606@swipnet.se> (raw)
In-Reply-To: <87ej12m1ar.fsf@escher.local.home>

Stephen Berman skrev:
> On Sun, 23 Nov 2008 12:01:09 +0100 Jan Djärv <jan.h.d@swipnet.se> 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.




  reply	other threads:[~2008-11-24  8:03 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-22 21:38 detached GTK+ tool bar Chong Yidong
2008-11-23 11:01 ` Jan Djärv
2008-11-23 11:02 ` Jan Djärv
     [not found] ` <492937F5.1040301__9972.48901189796$1227438707$gmane$org@swipnet.se>
2008-11-24  0:10   ` bug#1405: " Stephen Berman
2008-11-24  8:03     ` Jan D. [this message]
2008-11-24 15:58       ` Chong Yidong
2008-11-24 21:41         ` Jan Djärv
2008-12-18 18:50     ` Jan Djärv
     [not found]     ` <494A9B6E.6060307__43219.0094412819$1229627215$gmane$org@swipnet.se>
2008-12-18 20:46       ` Stephen Berman
2008-12-19  7:38         ` Jan D.
     [not found]       ` <87tz91ky8s.fsf__3258.61482783711$1229634381$gmane$org@escher.local.home>
2009-01-17 20:24         ` Stephen Berman
     [not found]         ` <87d4el4r59.fsf__38436.7469735027$1232225105$gmane$org@escher.local.home>
2009-03-01 17:43           ` Stephen Berman
2009-03-02  7:01             ` Jan D.
     [not found]             ` <5CDF1AA3-F4F1-4A9E-A789-C4436898E5EF__16363.0212926821$1235978742$gmane$org@swipnet.se>
2009-03-02  8:30               ` Stephen Berman
2009-03-14 15:12                 ` Jan Djärv
     [not found] <87hc5zcug7.fsf__14536.3282565542$1227390743$gmane$org@cyd.mit.edu>
2008-11-22 23:08 ` Stephen Berman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=492A5FD1.5040606@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=1405@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=stephen.berman@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).