unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9893: gtk3, emacs 24 and gnome shell
       [not found]         ` <8762jaqi2d.fsf@gmail.com>
@ 2011-10-27 22:01           ` Paul Eggert
       [not found]           ` <4EA9D4B7.1070809@cs.ucla.edu>
  1 sibling, 0 replies; 5+ messages in thread
From: Paul Eggert @ 2011-10-27 22:01 UTC (permalink / raw)
  To: emacs-devel; +Cc: Tassilo Horn, Rasmus, 9893

I can reproduce the problem on Fedora 15 x86-64
when running under the Gnome shell.
I filed a bug report <http://debbugs.gnu.org/9893>.





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

* bug#9893: gtk3, emacs 24 and gnome shell
       [not found]           ` <4EA9D4B7.1070809@cs.ucla.edu>
@ 2011-10-27 22:42             ` Paul Eggert
  2011-10-28 21:02               ` Jan Djärv
  2011-10-30 17:26               ` Jan Djärv
  0 siblings, 2 replies; 5+ messages in thread
From: Paul Eggert @ 2011-10-27 22:42 UTC (permalink / raw)
  To: 9893

One more thing: the problem is not new to Emacs 24, as it
occurs with the bundled Fedora 15 emacs ("GNU Emacs 23.2.1
(x86_64-redhat-linux-gnu, GTK+ Version 2.24.4) of 2011-05-23
on x86-12.phx2.fedoraproject.org").

There has been a bug report about this for Fedora since June
<https://bugzilla.redhat.com/show_bug.cgi?id=711739>.





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

* bug#9893: gtk3, emacs 24 and gnome shell
  2011-10-27 22:42             ` Paul Eggert
@ 2011-10-28 21:02               ` Jan Djärv
  2011-10-30 17:26               ` Jan Djärv
  1 sibling, 0 replies; 5+ messages in thread
From: Jan Djärv @ 2011-10-28 21:02 UTC (permalink / raw)
  To: Paul Eggert; +Cc: 9893


28 okt 2011 kl. 00:42 skrev Paul Eggert:

> One more thing: the problem is not new to Emacs 24, as it
> occurs with the bundled Fedora 15 emacs ("GNU Emacs 23.2.1
> (x86_64-redhat-linux-gnu, GTK+ Version 2.24.4) of 2011-05-23
> on x86-12.phx2.fedoraproject.org").
> 
> There has been a bug report about this for Fedora since June
> <https://bugzilla.redhat.com/show_bug.cgi?id=711739>.
> 
> 

I'm looking in to it now.  There is no Map event when emacs is uniconified, so Emacs thinks it is still iconified.  Either Gtk swallows it or gnome-shell doesn't send any.  The former is unlikely as this also happens with Gtk 2.24.4 which works fine with other window managers.  It is most likely gnome-shell specific.
 I'll see if there is any other way Emacs can detect when it becomes uniconified.

	Jan D.






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

* bug#9893: gtk3, emacs 24 and gnome shell
  2011-10-27 22:42             ` Paul Eggert
  2011-10-28 21:02               ` Jan Djärv
@ 2011-10-30 17:26               ` Jan Djärv
  2011-10-31 20:13                 ` Paul Eggert
  1 sibling, 1 reply; 5+ messages in thread
From: Jan Djärv @ 2011-10-30 17:26 UTC (permalink / raw)
  To: Paul Eggert; +Cc: 9893-done


28 okt 2011 kl. 00:42 skrev Paul Eggert:

> One more thing: the problem is not new to Emacs 24, as it
> occurs with the bundled Fedora 15 emacs ("GNU Emacs 23.2.1
> (x86_64-redhat-linux-gnu, GTK+ Version 2.24.4) of 2011-05-23
> on x86-12.phx2.fedoraproject.org").
> 
> There has been a bug report about this for Fedora since June
> <https://bugzilla.redhat.com/show_bug.cgi?id=711739>.
> 
> 

Emacs expects MapNotify to arrive when it is deiconfified.  But this doesn't seem to happen when we have iconfied us with gtk_window_iconfiy.  So we now check for _NET_WM_STATE_HIDDEN changes also.

But I don't really understand why Emacs does not process keypresses as normal when it is iconified or why Emacs even cares if it is iconfified or not.

	Jan D.






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

* bug#9893: gtk3, emacs 24 and gnome shell
  2011-10-30 17:26               ` Jan Djärv
@ 2011-10-31 20:13                 ` Paul Eggert
  0 siblings, 0 replies; 5+ messages in thread
From: Paul Eggert @ 2011-10-31 20:13 UTC (permalink / raw)
  To: 9893

Thanks for fixing that.  I checked, and it works for my environment too
(Fedora 15 x86-64, Emacs compiled with GCC 4.6.2).





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

end of thread, other threads:[~2011-10-31 20:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <4EA554D1.1040000@gmail.com>
     [not found] ` <878voaf05x.fsf@gmail.com>
     [not found]   ` <87ty6xczz2.fsf@thinkpad.tsdh.de>
     [not found]     ` <8739ehfpia.fsf@gmail.com>
     [not found]       ` <87hb2x5u7g.fsf@thinkpad.tsdh.de>
     [not found]         ` <8762jaqi2d.fsf@gmail.com>
2011-10-27 22:01           ` bug#9893: gtk3, emacs 24 and gnome shell Paul Eggert
     [not found]           ` <4EA9D4B7.1070809@cs.ucla.edu>
2011-10-27 22:42             ` Paul Eggert
2011-10-28 21:02               ` Jan Djärv
2011-10-30 17:26               ` Jan Djärv
2011-10-31 20:13                 ` Paul Eggert

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