unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#16540: 24.3.50; emacs started on tty has frame focus problems with frames on X display
@ 2014-01-24 20:08 Noah Friedman
  2014-01-24 21:32 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Noah Friedman @ 2014-01-24 20:08 UTC (permalink / raw)
  To: 16540

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)





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#16540: 24.3.50; emacs started on tty has frame focus problems with frames on X display
  2014-01-24 20:08 bug#16540: 24.3.50; emacs started on tty has frame focus problems with frames on X display Noah Friedman
@ 2014-01-24 21:32 ` Eli Zaretskii
  2014-01-24 22:46   ` Noah Friedman
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2014-01-24 21:32 UTC (permalink / raw)
  To: Noah Friedman; +Cc: 16540

> From: Noah Friedman <friedman@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?





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#16540: 24.3.50; emacs started on tty has frame focus problems with frames on X display
  2014-01-24 21:32 ` Eli Zaretskii
@ 2014-01-24 22:46   ` Noah Friedman
  2014-01-25  7:29     ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Noah Friedman @ 2014-01-24 22:46 UTC (permalink / raw)
  To: eliz; +Cc: 16540

In <83iot9cbgz.fsf@gnu.org>, Eli Zaretskii writes:
>> From: Noah Friedman <friedman@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.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#16540: 24.3.50; emacs started on tty has frame focus problems with frames on X display
  2014-01-24 22:46   ` Noah Friedman
@ 2014-01-25  7:29     ` Eli Zaretskii
  2014-01-26 12:18       ` Jan Djärv
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2014-01-25  7:29 UTC (permalink / raw)
  To: Noah Friedman, Jan D.; +Cc: 16540

> From: Noah Friedman <friedman@splode.com>
> Cc: 16540@debbugs.gnu.org
> Date: Fri, 24 Jan 2014 14:46:47 -0800 (PST)
> 
> In <83iot9cbgz.fsf@gnu.org>, Eli Zaretskii writes:
> >> From: Noah Friedman <friedman@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?





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#16540: 24.3.50; emacs started on tty has frame focus problems with frames on X display
  2014-01-25  7:29     ` Eli Zaretskii
@ 2014-01-26 12:18       ` Jan Djärv
  2014-01-26 17:32         ` Noah Friedman
  0 siblings, 1 reply; 7+ messages in thread
From: Jan Djärv @ 2014-01-26 12:18 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 16540, Noah Friedman

Hi.

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

>> From: Noah Friedman <friedman@splode.com>
>> Cc: 16540@debbugs.gnu.org
>> Date: Fri, 24 Jan 2014 14:46:47 -0800 (PST)
>> 
>> In <83iot9cbgz.fsf@gnu.org>, Eli Zaretskii writes:
>>>> From: Noah Friedman <friedman@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.






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#16540: 24.3.50; emacs started on tty has frame focus problems with frames on X display
  2014-01-26 12:18       ` Jan Djärv
@ 2014-01-26 17:32         ` Noah Friedman
  2014-01-26 19:42           ` Jan D.
  0 siblings, 1 reply; 7+ messages in thread
From: Noah Friedman @ 2014-01-26 17:32 UTC (permalink / raw)
  To: jan.h.d; +Cc: 16540

In <E31EA189-0850-4DAF-937B-7A9A3CA5BF09@swipnet.se>, Jan Djärv writes:
>25 jan 2014 kl. 08:29 skrev Eli Zaretskii <eliz@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!





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#16540: 24.3.50; emacs started on tty has frame focus problems with frames on X display
  2014-01-26 17:32         ` Noah Friedman
@ 2014-01-26 19:42           ` Jan D.
  0 siblings, 0 replies; 7+ messages in thread
From: Jan D. @ 2014-01-26 19:42 UTC (permalink / raw)
  To: Noah Friedman; +Cc: 16540-done

Hello.

Noah Friedman skrev 2014-01-26 18:32:
> In <E31EA189-0850-4DAF-937B-7A9A3CA5BF09@swipnet.se>, Jan Djärv writes:
>> 25 jan 2014 kl. 08:29 skrev Eli Zaretskii <eliz@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.






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-01-26 19:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-24 20:08 bug#16540: 24.3.50; emacs started on tty has frame focus problems with frames on X display Noah Friedman
2014-01-24 21:32 ` Eli Zaretskii
2014-01-24 22:46   ` Noah Friedman
2014-01-25  7:29     ` Eli Zaretskii
2014-01-26 12:18       ` Jan Djärv
2014-01-26 17:32         ` Noah Friedman
2014-01-26 19:42           ` Jan D.

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).