unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Meine, Hans" <hans.meine@mevis.fraunhofer.de>
To: Stefan Kangas <stefan@marxist.se>
Cc: "11682@debbugs.gnu.org" <11682@debbugs.gnu.org>
Subject: bug#11682: I believe this is an X server bug
Date: Mon, 25 Nov 2019 14:23:53 +0000	[thread overview]
Message-ID: <B73E9F16-5CD4-4EC5-87C7-5676D078CECA@mevis.fraunhofer.de> (raw)
In-Reply-To: <87ftj7ih6y.fsf@skangas.se>

Hi Stefan,

thanks for following up. I must admit that after this long time, my setup has changed too much to try to reproduce the problem.

I agree that it looks like this issue can be closed.

Have a nice day
  Hans

-- 
Hans Meine • Fraunhofer MEVIS • Am Fallturm 1 • 28359 Bremen
Tel.: +49 421/218-59255  (Fax: +49 421/218-98 59255)

> Am 01.11.2019 um 19:29 schrieb Stefan Kangas <stefan@marxist.se>:
> 
> Simon Tatham <anakin@pobox.com> writes:
> 
>> Hi,
>> 
>> I found this bug report a few months ago when I was looking to see if
>> anyone had had the same problem as me. I too found that if VMware
>> Player had input focus when emacs started up, then emacs would never
>> recognise the Alt key.
>> 
>> Debugging with xtruss suggested that the reason for this was that
>> emacs queried the modifier map at startup, found it empty, and
>> thereafter listened for MappingNotify in order to know when to reload
>> the mod map but for some reason it never received any MappingNotify
>> events. (But it did receive the similar XkbMapNotify when vmware lost
>> or gained focus.)
>> 
>> That was on Ubuntu 10.04. The machine where I was seeing the problem
>> has recently been upgraded to 12.04, and now the problem has stopped
>> happening - on the same version of emacs. Debugging with xtruss shows
>> that now emacs _is_ receiving MappingNotify, suggesting that the X
>> server has changed its behaviour.
>> 
>> I suspect, in fact, that the following X.Org commit is the fix:
>> 
>>  http://cgit.freedesktop.org/xorg/xserver/commit/?id=3231962db826f5efd431596a309c96e907a191d1
>> 
>> which appeared in xorg-server 1.11, which would indeed be consistent
>> with me having this problem in Ubuntu 10.04 but not 12.04 (which use
>> xorg-server versions 1.7.6 and 1.11.4 respectively).
>> 
>> So if anyone else still has this problem, it might be worth letting
>> them know to check the version of their X server.
>> 
>> Hope this is helpful!
> 
> Thanks, that is helpful.  It seems like this is not a bug in Emacs then?
> Hans, can you confirm if using a newer version of xorg-server fixes the
> problem?
> 
> If I don't hear back from you within a couple of weeks, Ill just assume
> that this has been fixed and close this bug.
> 
> Best regards,
> Stefan Kangas


  reply	other threads:[~2019-11-25 14:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-12 16:18 bug#11682: 23.3; meta key stops working if X modifier map becomes (temporarily) empty Hans Meine
2012-11-07  9:00 ` bug#11682: Problem remains Hans Meine
2012-11-07 14:38 ` bug#11682: Correction about previous Emacs versions Hans Meine
2014-07-24 14:12 ` bug#11682: I believe this is an X server bug Simon Tatham
2019-11-01 18:29   ` Stefan Kangas
2019-11-25 14:23     ` Meine, Hans [this message]
2019-11-25 15:25       ` Stefan Kangas

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=B73E9F16-5CD4-4EC5-87C7-5676D078CECA@mevis.fraunhofer.de \
    --to=hans.meine@mevis.fraunhofer.de \
    --cc=11682@debbugs.gnu.org \
    --cc=stefan@marxist.se \
    /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).