From: Eli Zaretskii <eliz@gnu.org>
To: Kazuhiro Ito <kzhr@d1.dion.ne.jp>
Cc: 11513@debbugs.gnu.org
Subject: bug#11513: 24.1.50; raise-frame never raise the foreground window on Windows
Date: Sat, 19 May 2012 11:02:23 +0300 [thread overview]
Message-ID: <83obpkzjhs.fsf@gnu.org> (raw)
In-Reply-To: <20120518210617.D4D181E0043@msa101.auone-net.jp>
> Date: Sat, 19 May 2012 06:06:09 +0900
> From: Kazuhiro Ito <kzhr@d1.dion.ne.jp>
>
> When I start Emacs with -Q option nd evaluate the below code, I get
> unexpected result.
>
> (let ((frame (selected-frame)))
> (lower-frame frame)
> ;; If we change the foreground window while sleeping, raise-frame
> ;; correctly works.
> (sleep-for 5)
> (raise-frame frame))
>
> Result: raise-frame never raise the frame if the selected frame is the
> foreground window.
I cannot reproduce this on my Windows XP system. When I evaluate the
above, the Emacs frame is correctly lowered (i.e. goes behind the
other window(s)), and then is brought into the foreground several
seconds later.
> If other frame or application is the foreground window, raise-frame
> works as expected.
What exactly do you mean by "If other frame or application is the
foreground window"? If the Emacs frame is the only foreground window
(i.e. all the others are iconified) when I evaluate the recipe, then
the Emacs frame is neither lowered nor raised, which I think is the
expected behavior.
So please specify more precisely the conditions for reproducing this
problem, in terms of what other windows should or should not be
present on the display before evaluating the recipe code. Perhaps the
recipe lacks some specific mouse gestures to achieve the required
effect?
Also, please provide the details normally collected by
"M-x report-emacs-bug RET". They are important.
Thanks.
next prev parent reply other threads:[~2012-05-19 8:02 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-18 21:06 bug#11513: 24.1.50; raise-frame never raise the foreground window on Windows Kazuhiro Ito
2012-05-19 8:02 ` Eli Zaretskii [this message]
2012-05-19 12:02 ` Kazuhiro Ito
2012-05-19 12:42 ` Eli Zaretskii
2012-05-19 12:56 ` martin rudalics
2012-05-19 13:47 ` Eli Zaretskii
2012-05-21 19:12 ` Eli Zaretskii
2012-05-23 10:48 ` Kazuhiro Ito
2012-05-23 16:20 ` Eli Zaretskii
2012-05-23 16:38 ` Drew Adams
2012-05-24 6:04 ` Kazuhiro Ito
2012-05-24 16:01 ` Lennart Borgman
2012-05-28 17:28 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83obpkzjhs.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=11513@debbugs.gnu.org \
--cc=kzhr@d1.dion.ne.jp \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.