--- Begin Message ---
Subject: |
frame-visible-p reporting t instead of 'icon |
Date: |
Wed, 09 Nov 2011 10:41:41 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) |
Hi,
Has there been any recent changes to the code that detects when a frame
is visible or not on GTK? I didn't find anything in bzr log, but I can't
be sure.
The following snippet sometimes (erratically) reports "t" when it should
report "icon". That started happening one, maybe two weeks ago.
(defun blah (&rest args)
(pp(frame-visible-p (selected-frame))))
(run-with-timer 2 nil 'blah)
(eval the run-with-timer, switch virtual desktops for two seconds, come
back)
I'm using frame-visible-p to handle notifications (notify me when I
don't see what's happening in emacs), so this bug is pretty annoying.
It might be a bug in my display environment, but I haven't changed
anything in a while.
(for reference, I'm using gnome-panel with metacity on ubuntu 11.10)
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#10002: frame-visible-p reporting t instead of 'icon |
Date: |
Tue, 29 Nov 2011 19:09:56 +0100 |
Hello.
29 nov 2011 kl. 10:38 skrev Antoine Levitt:
> 09/11/11 16:33, Antoine Levitt
>> 09/11/11 16:18, Jan D.
>>> Hi.
>>>
>>> Are you running Gnome 3 or Unity by any chance?
>>> See here: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9893.
>>>
>>> Jan D.
>>
>> I'm using Gnome 3 (libgtk is 3.2.0), but with the "old" gnome desktop
>> environment (metacity and gnome-panel). My bug did start happening
>> around the time you made the fix, so your fix is probably what caused
>> the bug.
>>
>> Can you take a look as to why that would happen? If you tell me where to
>> look, I'll be happy to send you the GTK messages in the buggy case.
>
> Hi,
>
> Any news on this? It's still an issue for me, and I'm holding back on
> updating emacs because of this bug.
This has been fixed now.
Jan D.
--- End Message ---