You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When starting Spacemacs via emacsclient, Spacemacs does not receive focus from the window manager, i.e. the Spacemacs window (or "frame", I think, in Emacs terminology) is not brought to the front.
Anton Tarasenko reported a similar issue affecting Emacs in 2011, as did Gyom on EmacsWiki in 2010, so perhaps this is an upstream bug.
Reproduction guide
In Bash on Debian 8 "Jessie" GNU/Linux with Gnome 3, open Spacemacs (GUI rather than terminal). Then open Terminal, maximise the Terminal window, and do as follows:
$ touch foo.txt
$ emacsclient -a "" foo.txt
Observed behaviour:
Spacemacs is not brought to the front, so because Terminal is maximised, the Spacemacs window (i.e. "frame" in Emacs terminology) is not visible. That is, Spacemacs does not receive display focus.
However, Spacemacs does get input focus. For example, if I next type ifoo<Esc> then "foo" is inserted at the beginning of the buffer. I can't actually see that it has been inserted, because Spacemacs is still hidden behind the Terminal, but if I Alt-Tab to Spacemacs, then I can see Spacemacs and can see the inserted text.
Expected behaviour:
The Spacemacs window (i.e. "frame" in Emacs terminology) would receive both display focus and window focus. That is:
it would be brought to the front, so that any other windows are behind it, and
key-presses from the keyboard would be sent to it.
As described above, the second of these two things happens as desired, but the first does not.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!
Description
When starting Spacemacs via
emacsclient
, Spacemacs does not receive focus from the window manager, i.e. the Spacemacs window (or "frame", I think, in Emacs terminology) is not brought to the front.Anton Tarasenko reported a similar issue affecting Emacs in 2011, as did Gyom on EmacsWiki in 2010, so perhaps this is an upstream bug.
Reproduction guide
In Bash on Debian 8 "Jessie" GNU/Linux with Gnome 3, open Spacemacs (GUI rather than terminal). Then open Terminal, maximise the Terminal window, and do as follows:
Observed behaviour:
Spacemacs is not brought to the front, so because Terminal is maximised, the Spacemacs window (i.e. "frame" in Emacs terminology) is not visible. That is, Spacemacs does not receive display focus.
However, Spacemacs does get input focus. For example, if I next type
ifoo<Esc>
then "foo" is inserted at the beginning of the buffer. I can't actually see that it has been inserted, because Spacemacs is still hidden behind the Terminal, but if I Alt-Tab to Spacemacs, then I can see Spacemacs and can see the inserted text.Expected behaviour:
The Spacemacs window (i.e. "frame" in Emacs terminology) would receive both display focus and window focus. That is:
As described above, the second of these two things happens as desired, but the first does not.
System Info
(emacs-lisp finance html markdown org)
The text was updated successfully, but these errors were encountered: