GNU bug report logs -
#10002
frame-visible-p reporting t instead of 'icon
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10002 in the body.
You can then email your comments to 10002 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10002
; Package
emacs
.
(Wed, 09 Nov 2011 09:43:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Antoine Levitt <antoine.levitt <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 09 Nov 2011 09:43:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10002
; Package
emacs
.
(Wed, 09 Nov 2011 10:43:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 10002 <at> debbugs.gnu.org (full text, mbox):
Antoine Levitt <antoine.levitt <at> gmail.com> writes:
> The following snippet sometimes (erratically) reports "t" when it should
> report "icon". That started happening one, maybe two weeks ago.
I get t also in 23.3, and 'icon when iconified.
Andreas.
--
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10002
; Package
emacs
.
(Wed, 09 Nov 2011 11:30:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 10002 <at> debbugs.gnu.org (full text, mbox):
09/11/11 11:42, Andreas Schwab
> Antoine Levitt <antoine.levitt <at> gmail.com> writes:
>
>> The following snippet sometimes (erratically) reports "t" when it should
>> report "icon". That started happening one, maybe two weeks ago.
>
> I get t also in 23.3, and 'icon when iconified.
>
> Andreas.
What do you mean? That's what it's supposed to do. The point is I
sometimes get t when it's iconified (different virtual desktop), and
that's recent. Can you try the code snippet on trunk a bunch of times
and see if you get t when it's iconified?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10002
; Package
emacs
.
(Wed, 09 Nov 2011 15:19:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 10002 <at> debbugs.gnu.org (full text, mbox):
Hi.
Are you running Gnome 3 or Unity by any chance?
See here: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9893.
Jan D.
Antoine Levitt skrev 2011-11-09 10:41:
> 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)
>
>
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10002
; Package
emacs
.
(Wed, 09 Nov 2011 15:34:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 10002 <at> debbugs.gnu.org (full text, mbox):
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.
Antoine
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10002
; Package
emacs
.
(Tue, 29 Nov 2011 09:41:02 GMT)
Full text and
rfc822 format available.
Message #20 received at submit <at> debbugs.gnu.org (full text, mbox):
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.
Reply sent
to
Jan Djärv <jan.h.d <at> swipnet.se>
:
You have taken responsibility.
(Tue, 29 Nov 2011 18:13:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Antoine Levitt <antoine.levitt <at> gmail.com>
:
bug acknowledged by developer.
(Tue, 29 Nov 2011 18:13:03 GMT)
Full text and
rfc822 format available.
Message #25 received at 10002-done <at> debbugs.gnu.org (full text, mbox):
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.
Message #26 received at 10002-done <at> debbugs.gnu.org (full text, mbox):
29/11/11 19:09, Jan Djärv
> 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.
Hi,
Cool, thanks!
However, at compilation, I now get:
xterm.c: In function ‘get_current_wm_state’:
xterm.c:8484:23: error: ‘struct x_display_info’ has no member named ‘Xatom_net_wm_state_hidden’
xterm.c: In function ‘x_term_init’:
xterm.c:10290:41: error: ‘struct x_display_info’ has no member named ‘Xatom_net_wm_state_hidden’
That's even after make clean.
Message #27 received at 10002-done <at> debbugs.gnu.org (full text, mbox):
Hello.
29 nov 2011 kl. 19:36 skrev Antoine Levitt:
>
> xterm.c: In function ‘get_current_wm_state’:
> xterm.c:8484:23: error: ‘struct x_display_info’ has no member named ‘Xatom_net_wm_state_hidden’
> xterm.c: In function ‘x_term_init’:
> xterm.c:10290:41: error: ‘struct x_display_info’ has no member named ‘Xatom_net_wm_state_hidden’
>
> That's even after make clean.
You probably have local modifications or there was a bad merge. Try bzr status to see what is wrong.
Also try bzr up again.
Jan D.
Message #28 received at 10002-done <at> debbugs.gnu.org (full text, mbox):
29/11/11 20:21, Jan Djärv
> Hello.
>
> 29 nov 2011 kl. 19:36 skrev Antoine Levitt:
>
>>
>> xterm.c: In function ‘get_current_wm_state’:
>> xterm.c:8484:23: error: ‘struct x_display_info’ has no member named ‘Xatom_net_wm_state_hidden’
>> xterm.c: In function ‘x_term_init’:
>> xterm.c:10290:41: error: ‘struct x_display_info’ has no member named ‘Xatom_net_wm_state_hidden’
>>
>> That's even after make clean.
>
> You probably have local modifications or there was a bad merge. Try bzr status to see what is wrong.
> Also try bzr up again.
>
> Jan D.
Hm, that's weird, I specifically did a bzr resolved --take-other --all
in the hope that it'd clear everything up by itself. Apparently, bzr
revert . was what I needed. Silly me. Thanks for the help!
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 28 Dec 2011 12:24:03 GMT)
Full text and
rfc822 format available.
bug unarchived.
Request was from
Oleh <ohwoeowho <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Mon, 21 Jul 2014 14:47:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10002
; Package
emacs
.
(Mon, 21 Jul 2014 15:00:04 GMT)
Full text and
rfc822 format available.
Message #35 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi,
This bug is still active for me, reproducible with `emacs -Q`.
Ubuntu 13.10, Emacs 24.4.50.1.
regards,
Oleh
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 19 Aug 2014 11:24:04 GMT)
Full text and
rfc822 format available.
bug unarchived.
Request was from
Jan Djärv <jan.h.d <at> swipnet.se>
to
control <at> debbugs.gnu.org
.
(Wed, 10 Sep 2014 16:48:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10002
; Package
emacs
.
(Wed, 10 Sep 2014 17:04:02 GMT)
Full text and
rfc822 format available.
Message #42 received at 10002 <at> debbugs.gnu.org (full text, mbox):
Hello.
21 jul 2014 kl. 16:58 skrev Oleh <ohwoeowho <at> gmail.com>:
> Hi,
>
> This bug is still active for me, reproducible with `emacs -Q`.
> Ubuntu 13.10, Emacs 24.4.50.1.
It is hard to detect if Emacs is not on the active desktop with Unity (Compiz really). One could try to calculate the geometries but it would probably be complicated and error prone.
It is a shame that Emacs has exposed these kind of low level details in its Lisp, it is very hard to support when the world moves on to another implementation.
Emacs did not detect iconification correctly in Unity, I fixed that at least.
Jan D.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 09 Oct 2014 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 9 years and 227 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.