GNU bug report logs - #16540
24.3.50; emacs started on tty has frame focus problems with frames on X display

Previous Next

Package: emacs;

Reported by: Noah Friedman <friedman <at> splode.com>

Date: Fri, 24 Jan 2014 20:40:02 UTC

Severity: normal

Found in version 24.3.50

Done: "Jan D." <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 16540 in the body.
You can then email your comments to 16540 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#16540; Package emacs. (Fri, 24 Jan 2014 20:40:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Noah Friedman <friedman <at> splode.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 24 Jan 2014 20:40:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Noah Friedman <friedman <at> splode.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50;
 emacs started on tty has frame focus problems with frames on X display
Date: Fri, 24 Jan 2014 12:08:49 -0800 (PST)
I'm using focus-follows-mouse in my X window manager.

If I start emacs in an xterm:

	$ ./emacs -nw -Q

And then create an X frame:

	M-x create-frame-on-display RET :0.0 RET

and move the mouse to the new X frame, when I try to type or issue extended
commands with M-x, the text and commands appear in the text frame.

If I hit C-g or click on the window inside the X frame, it will finally
change focus to the new window (but clicking on the window manager
decoration around the frame will not work).

I have similar problems switching between multiple X frames, but ONLY when
emacs was started on a tty.  If the initial frame was an X frame,
focus-follows-mouse works as intended.

This problem started sometime between 2013-07-01 and 2013-08-01, but that's
as far as I've narrowed it down so far.  Since I recently read that the
tree is in feature freeze, I figured I better report this now.




In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2014-01-24 on unexploded-cow.prv.splode.com
Windowing system distributor `Fedora Project', version 11.0.11204000
Configured using:
 `configure --with-x-toolkit=lucid 'CFLAGS=-O3 -march=corei7
 -mtune=corei7 -momit-leaf-frame-pointer -m64 -g2 -pipe' 'LDFLAGS=-O3
 -march=corei7 -mtune=corei7 -momit-leaf-frame-pointer -m64 -g2 -pipe''

Important settings:
  value of $XMODIFIERS: @im=none
  locale-coding-system: nil

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
ESC [ > 4 1 ; 2 9 8 ; 0 c ESC x m a k e - f r a m e
- o n - d i s p l TAB RET : 0 . 0 RET C-x b f o o RET
f s d f s f s d f <help-echo> s d f s d f s d f s d
f <help-echo> <help-echo> C-s C-d f s d f s d f <help-echo>
<help-echo> <help-echo> <help-echo> M-x C-g <switch-frame>
C-g <switch-frame> M-x <down-mouse-1> <mouse-1> M-x
<help-echo> C-g C-g M-x C-g <switch-frame> C-g C-g
C-g C-g g f g d f g <down-mouse-1> <mouse-1> <double-down-mouse-1>
<double-mouse-1> f g d f g M-x e m a c s - r e p o
r t <tab> C-a C-k r e p o r t - e m <tab> <return>

Recent messages:
("./emacs")
For information about GNU Emacs and the GNU system, type C-h C-a.
call-interactively: End of buffer
Quit [2 times]
completing-read-default: Command attempted to use minibuffer while in minibuffer
Quit [11 times]

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util help-fns mail-prsvr mail-utils misearch multi-isearch xterm
time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment lisp-mode prog-mode register page menu-bar
rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax
facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak
czech european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button
faces cus-face macroexp files text-properties overlay sha1 md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind gfilenotify dynamic-setting
system-font-setting font-render-setting x-toolkit x multi-tty emacs)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16540; Package emacs. (Fri, 24 Jan 2014 21:33:02 GMT) Full text and rfc822 format available.

Message #8 received at 16540 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Noah Friedman <friedman <at> splode.com>
Cc: 16540 <at> debbugs.gnu.org
Subject: Re: bug#16540: 24.3.50;
 emacs started on tty has frame focus problems with frames on X display
Date: Fri, 24 Jan 2014 23:32:28 +0200
> From: Noah Friedman <friedman <at> splode.com>
> Date: Fri, 24 Jan 2014 12:08:49 -0800 (PST)
> 
> This problem started sometime between 2013-07-01 and 2013-08-01

Did you really mean 2013, i.e. a year ago?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16540; Package emacs. (Fri, 24 Jan 2014 22:47:01 GMT) Full text and rfc822 format available.

Message #11 received at 16540 <at> debbugs.gnu.org (full text, mbox):

From: Noah Friedman <friedman <at> splode.com>
To: eliz <at> gnu.org
Cc: 16540 <at> debbugs.gnu.org
Subject: Re: bug#16540: 24.3.50;
 emacs started on tty has frame focus problems with frames on X display
Date: Fri, 24 Jan 2014 14:46:47 -0800 (PST)
In <83iot9cbgz.fsf <at> gnu.org>, Eli Zaretskii writes:
>> From: Noah Friedman <friedman <at> splode.com>
>> Date: Fri, 24 Jan 2014 12:08:49 -0800 (PST)
>> 
>> This problem started sometime between 2013-07-01 and 2013-08-01
>
>Did you really mean 2013, i.e. a year ago?

I should have clarified that those are ISO dates.  The problem began
sometime during the month of July 2013.  Earlier snapshots are ok.
Snapshots from a month later up until today still demonstrate the behavior.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16540; Package emacs. (Sat, 25 Jan 2014 07:31:01 GMT) Full text and rfc822 format available.

Message #14 received at 16540 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Noah Friedman <friedman <at> splode.com>, "Jan D." <jan.h.d <at> swipnet.se>
Cc: 16540 <at> debbugs.gnu.org
Subject: Re: bug#16540: 24.3.50;
 emacs started on tty has frame focus problems with frames on X display
Date: Sat, 25 Jan 2014 09:29:55 +0200
> From: Noah Friedman <friedman <at> splode.com>
> Cc: 16540 <at> debbugs.gnu.org
> Date: Fri, 24 Jan 2014 14:46:47 -0800 (PST)
> 
> In <83iot9cbgz.fsf <at> gnu.org>, Eli Zaretskii writes:
> >> From: Noah Friedman <friedman <at> splode.com>
> >> Date: Fri, 24 Jan 2014 12:08:49 -0800 (PST)
> >> 
> >> This problem started sometime between 2013-07-01 and 2013-08-01
> >
> >Did you really mean 2013, i.e. a year ago?
> 
> I should have clarified that those are ISO dates.  The problem began
> sometime during the month of July 2013.  Earlier snapshots are ok.
> Snapshots from a month later up until today still demonstrate the behavior.

Could be focus-related changes in revision 113431.  Jan, could you
please take a look?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16540; Package emacs. (Sun, 26 Jan 2014 12:19:01 GMT) Full text and rfc822 format available.

Message #17 received at 16540 <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 16540 <at> debbugs.gnu.org, Noah Friedman <friedman <at> splode.com>
Subject: Re: bug#16540: 24.3.50;
 emacs started on tty has frame focus problems with frames on X display
Date: Sun, 26 Jan 2014 13:18:46 +0100
Hi.

25 jan 2014 kl. 08:29 skrev Eli Zaretskii <eliz <at> gnu.org>:

>> From: Noah Friedman <friedman <at> splode.com>
>> Cc: 16540 <at> debbugs.gnu.org
>> Date: Fri, 24 Jan 2014 14:46:47 -0800 (PST)
>> 
>> In <83iot9cbgz.fsf <at> gnu.org>, Eli Zaretskii writes:
>>>> From: Noah Friedman <friedman <at> splode.com>
>>>> Date: Fri, 24 Jan 2014 12:08:49 -0800 (PST)
>>>> 
>>>> This problem started sometime between 2013-07-01 and 2013-08-01
>>> 
>>> Did you really mean 2013, i.e. a year ago?
>> 
>> I should have clarified that those are ISO dates.  The problem began
>> sometime during the month of July 2013.  Earlier snapshots are ok.
>> Snapshots from a month later up until today still demonstrate the behavior.
> 
> Could be focus-related changes in revision 113431.  Jan, could you
> please take a look?

I checked in a fix in trunk, please try it.

	Jan D.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16540; Package emacs. (Sun, 26 Jan 2014 17:33:01 GMT) Full text and rfc822 format available.

Message #20 received at 16540 <at> debbugs.gnu.org (full text, mbox):

From: Noah Friedman <friedman <at> splode.com>
To: jan.h.d <at> swipnet.se
Cc: 16540 <at> debbugs.gnu.org, eliz <at> gnu.org
Subject: Re: bug#16540: 24.3.50;
 emacs started on tty has frame focus problems with frames on X display
Date: Sun, 26 Jan 2014 09:32:11 -0800 (PST)
In <E31EA189-0850-4DAF-937B-7A9A3CA5BF09 <at> swipnet.se>, Jan Djärv writes:
>25 jan 2014 kl. 08:29 skrev Eli Zaretskii <eliz <at> gnu.org>:
>> Could be focus-related changes in revision 113431.  Jan, could you
>> please take a look?
>
>I checked in a fix in trunk, please try it.
>
>	Jan D.

Looks good to me.  Thanks!




Reply sent to "Jan D." <jan.h.d <at> swipnet.se>:
You have taken responsibility. (Sun, 26 Jan 2014 19:44:02 GMT) Full text and rfc822 format available.

Notification sent to Noah Friedman <friedman <at> splode.com>:
bug acknowledged by developer. (Sun, 26 Jan 2014 19:44:03 GMT) Full text and rfc822 format available.

Message #25 received at 16540-done <at> debbugs.gnu.org (full text, mbox):

From: "Jan D." <jan.h.d <at> swipnet.se>
To: Noah Friedman <friedman <at> splode.com>
Cc: eliz <at> gnu.org, 16540-done <at> debbugs.gnu.org
Subject: Re: bug#16540: 24.3.50; emacs started on tty has frame focus problems
 with frames on X display
Date: Sun, 26 Jan 2014 20:42:56 +0100
Hello.

Noah Friedman skrev 2014-01-26 18:32:
> In <E31EA189-0850-4DAF-937B-7A9A3CA5BF09 <at> swipnet.se>, Jan Djärv writes:
>> 25 jan 2014 kl. 08:29 skrev Eli Zaretskii <eliz <at> gnu.org>:
>>> Could be focus-related changes in revision 113431.  Jan, could you
>>> please take a look?
>> I checked in a fix in trunk, please try it.
>>
>> 	Jan D.
> Looks good to me.  Thanks!

Thanks for testing, closing bug.

    Jan D.





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 24 Feb 2014 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 74 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.