GNU bug report logs -
#48268
28.0.50; Blank screen when switching virtual desktops or when starting exwm (regression from 483c5e9)
Previous Next
Reported by: Mauricio Collares <mauricio <at> collares.org>
Date: Thu, 6 May 2021 22:46:02 UTC
Severity: normal
Found in version 28.0.50
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48268 in the body.
You can then email your comments to 48268 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#48268
; Package
emacs
.
(Thu, 06 May 2021 22:46:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Mauricio Collares <mauricio <at> collares.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 06 May 2021 22:46:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
I use exwm as my window manager. Since commit 483c5e9, my session starts
up as a blank screen (emacs responds to keyboard shortcuts, though). I
have heard user reports (at [0]) that switching virtual desktops on
xmonad also leads to a blank screen, and I believe this is another
instance of the same bug.
The problem happens without native compilation enabled. I have verified
that reverting commit 483c5e9 fixes the problem.
Best,
Mauricio
[0] https://github.com/nix-community/emacs-overlay/issues/146
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48268
; Package
emacs
.
(Fri, 07 May 2021 07:10:02 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
> I use exwm as my window manager. Since commit 483c5e9, my session starts
> up as a blank screen (emacs responds to keyboard shortcuts, though). I
> have heard user reports (at [0]) that switching virtual desktops on
> xmonad also leads to a blank screen, and I believe this is another
> instance of the same bug.
>
> The problem happens without native compilation enabled. I have verified
> that reverting commit 483c5e9 fixes the problem.
>
> Best,
> Mauricio
>
> [0] https://github.com/nix-community/emacs-overlay/issues/146
Thank you for the report. We are investigating this problem already in
https://lists.gnu.org/archive/html/emacs-devel/2021-05/msg00217.html
and I will send you a patch as soon as we have found a working solution.
martin
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48268
; Package
emacs
.
(Wed, 12 May 2021 08:46:01 GMT)
Full text and
rfc822 format available.
Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):
> I use exwm as my window manager. Since commit 483c5e9, my session starts
> up as a blank screen (emacs responds to keyboard shortcuts, though). I
> have heard user reports (at [0]) that switching virtual desktops on
> xmonad also leads to a blank screen, and I believe this is another
> instance of the same bug.
>
> The problem happens without native compilation enabled. I have verified
> that reverting commit 483c5e9 fixes the problem.
This should have been fixed on master now. Please try again.
Thanks, martin
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48268
; Package
emacs
.
(Thu, 13 May 2021 23:55:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 48268 <at> debbugs.gnu.org (full text, mbox):
Hi,
The problem is still present (using 43701a8) with XMonad: switching to a
different virtual desktop leads to a blank screen. It still responds to (at
least) some keyboard shortcuts (I can close with C-x C-x) and if the menu
bar or the toolbar are active they also respond to some mouse clicks.
Interestingly, the problem does not show up if I launch Emacs in an XMonad
session inside XMonad using xephyr.
Best,
Ramon
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48268
; Package
emacs
.
(Fri, 14 May 2021 07:10:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 48268 <at> debbugs.gnu.org (full text, mbox):
A
> The problem is still present (using 43701a8) with XMonad: switching to a
> different virtual desktop leads to a blank screen. It still responds to (at
> least) some keyboard shortcuts (I can close with C-x C-x) and if the menu
Is that C-x C-c or is C-x C-x special for you?
> bar or the toolbar are active they also respond to some mouse clicks.
>
> Interestingly, the problem does not show up if I launch Emacs in an XMonad
> session inside XMonad using xephyr.
I'm a bit too dense to understand what you are doing and what does not
work for you. Is the behavior of Xmonad showing an Emacs frame OK as
long as you do not switch to a different virtual desktop? Are tool and
menu bar shown in the blank screen case? Does a blank screen blank out
other things besides Emacs. Does it work when Emacs is not supposed to
be shown on that "different virtual desktop"?
In either case please try to identify the commit that broke this - I
have my slight doubts that it is 483c5e9. Could it be already a190b4c?
As soon as you have done that, I would like to give you a few
instructions to make the code that broke this a NOOP and, in the worst
case, make its execution optional on tiling WMs.
Thanks, martin
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48268
; Package
emacs
.
(Fri, 14 May 2021 09:39:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 48268 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
martin rudalics <rudalics <at> gmx.at> writes:
>> The problem is still present (using 43701a8) with XMonad: switching to a
>> different virtual desktop leads to a blank screen. It still responds to (at
>> least) some keyboard shortcuts (I can close with C-x C-x) and if the menu
>
> Is that C-x C-c or is C-x C-x special for you?
>
>> bar or the toolbar are active they also respond to some mouse clicks.
>>
>> Interestingly, the problem does not show up if I launch Emacs in an XMonad
>> session inside XMonad using xephyr.
>
> I'm a bit too dense to understand what you are doing and what does not
> work for you. Is the behavior of Xmonad showing an Emacs frame OK as
> long as you do not switch to a different virtual desktop? Are tool and
> menu bar shown in the blank screen case? Does a blank screen blank out
> other things besides Emacs. Does it work when Emacs is not supposed to
> be shown on that "different virtual desktop"?
>
> In either case please try to identify the commit that broke this - I
> have my slight doubts that it is 483c5e9. Could it be already a190b4c?
Bisected the following behaviour on Xmonad to 483c5e9. In the
screenshots below a red or black border indicates which frame Xmonad
thinks is selected or unselected, respectively. Similarly a filled or
hollow box cursor shows which frame Emacs thinks is selected or
unselected, respectively.
0. emacs -Q
[0.png (image/png, inline)]
[Message part 3 (text/plain, inline)]
1. C-x 5 2
[Ignore the missing scroll bar for now.]
2. (visible-frame-list) C-j C-m
3. (mapcar #'frame-visible-p (frame-list)) C-j C-m
[3.png (image/png, inline)]
[Message part 5 (text/plain, inline)]
4. Switch to another workspace. At this point Emacs thinks neither
frame is visible (I'm guessing they're all iconified). I know this
because in my customised compilation-finish-functions I do a
notifications-notify for long-running compilations, but only if the
compilation BUF does not satisfy (get-buffer-window BUF 'visible).
5. Switch back to the workspace with Emacs.
6. Repeat steps 2-3.
[6.png (image/png, inline)]
[Message part 7 (text/plain, inline)]
Note that the unselected frame is still iconified and lacks a toolbar.
Switching to that frame using Xmonad bindings would deiconify it.
7. C-x 5 o
[Nothing changes.]
8. (select-frame (next-frame)) C-x C-e C-m
[Nothing changes.]
9. (select-frame-set-input-focus (next-frame)) C-x C-e
[9.png (image/png, inline)]
[Message part 9 (text/plain, inline)]
This deiconifies the frame on the right, which now receives input, but
Xmonad still thinks the frame on the left is selected.
10. C-s focus RET C-e C-x C-e
[AKA repeat step 9.]
[10.png (image/png, inline)]
[Message part 11 (text/plain, inline)]
Back to where we started, with both frames deiconified.
11. C-x C-e
[AKA repeat step 9.]
[11.png (image/png, inline)]
[Message part 13 (text/plain, inline)]
So to me it looks like some state/hint either on Xmonad's or Emacs' side
isn't refreshed or heeded when switching workspace.
I actually kind of like that Emacs frames on workspaces other than the
current one are considered invisible now, because of course they're not
visible :).
But switching back to that workspace should ideally make all frames
visible again. I'm certain that there are both Xmonad and Emacs hooks
that allow the user to program this, but previously this wasn't needed.
BTW, I forgot to include in the recipe above that
(mapc #'make-frame-visible (frame-list))
also changes nothing. It seems that the only thing that deiconifies
frames is giving them input focus.
[ P.S. Let me know if fullscreen inline screenshots are annoying, and
what to do instead. I passed the images through pngquant so that at
least their size is small. ]
> As soon as you have done that, I would like to give you a few
> instructions to make the code that broke this a NOOP and, in the worst
> case, make its execution optional on tiling WMs.
Thanks,
--
Basil
In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars)
of 2021-05-13 built on tia
Repository revision: 43701a84367b76ccc93ad46f89110486988eec10
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux bullseye/sid
Configured using:
'configure 'CC=ccache gcc' 'CFLAGS=-O2 -march=native' --config-cache
--prefix=/home/blc/.local --enable-checking=structs
--with-x-toolkit=lucid --with-file-notification=yes --with-x'
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS
X11 XAW3D XDBE XIM XPM LUCID ZLIB
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48268
; Package
emacs
.
(Fri, 14 May 2021 10:04:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 48268 <at> debbugs.gnu.org (full text, mbox):
"Basil L. Contovounesios" <contovob <at> tcd.ie> writes:
> martin rudalics <rudalics <at> gmx.at> writes:
>
>> In either case please try to identify the commit that broke this - I
>> have my slight doubts that it is 483c5e9. Could it be already a190b4c?
>
> Bisected the following behaviour on Xmonad to 483c5e9.
In the meantime Platon also reported the more detailed
https://bugs.gnu.org/48413.
--
Basil
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48268
; Package
emacs
.
(Sun, 16 May 2021 08:31:02 GMT)
Full text and
rfc822 format available.
Message #26 received at submit <at> debbugs.gnu.org (full text, mbox):
> I use exwm as my window manager. Since commit 483c5e9, my session starts
> up as a blank screen (emacs responds to keyboard shortcuts, though). I
> have heard user reports (at [0]) that switching virtual desktops on
> xmonad also leads to a blank screen, and I believe this is another
> instance of the same bug.
>
> The problem happens without native compilation enabled. I have verified
> that reverting commit 483c5e9 fixes the problem.
Mauricio, does this work again with latest master?
martin
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48268
; Package
emacs
.
(Sun, 16 May 2021 08:32:02 GMT)
Full text and
rfc822 format available.
Message #29 received at 48268 <at> debbugs.gnu.org (full text, mbox):
> The problem is still present (using 43701a8) with XMonad: switching to a
> different virtual desktop leads to a blank screen. It still responds to (at
> least) some keyboard shortcuts (I can close with C-x C-x) and if the menu
> bar or the toolbar are active they also respond to some mouse clicks.
Ramon, is this fixed for you as well with latest master?
martin
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48268
; Package
emacs
.
(Mon, 17 May 2021 01:45:02 GMT)
Full text and
rfc822 format available.
Message #32 received at 48268 <at> debbugs.gnu.org (full text, mbox):
Yes, it is, thanks a lot!
(I didn't know you were expecting an answer. Sorry!)
On Sun, 16-May-2021, at 10:31:17, martin rudalics <rudalics <at> gmx.at> wrote:
>> The problem is still present (using 43701a8) with XMonad: switching to a
>> different virtual desktop leads to a blank screen. It still responds to (at
>> least) some keyboard shortcuts (I can close with C-x C-x) and if the menu
>> bar or the toolbar are active they also respond to some mouse clicks.
>
> Ramon, is this fixed for you as well with latest master?
>
> martin
--
Ramon Diaz-Uriarte
Department of Biochemistry, Lab B-25
Facultad de Medicina
Universidad Autónoma de Madrid
Arzobispo Morcillo, 4
28029 Madrid
Spain
Phone: +34-91-497-2412
Email: rdiaz02 <at> gmail.com
ramon.diaz <at> iib.uam.es
https://ligarto.org/rdiaz
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48268
; Package
emacs
.
(Wed, 19 May 2021 12:52:02 GMT)
Full text and
rfc822 format available.
Message #35 received at submit <at> debbugs.gnu.org (full text, mbox):
martin rudalics <rudalics <at> gmx.at> writes:
>> I use exwm as my window manager. Since commit 483c5e9, my session starts
>> up as a blank screen (emacs responds to keyboard shortcuts, though). I
>> have heard user reports (at [0]) that switching virtual desktops on
>> xmonad also leads to a blank screen, and I believe this is another
>> instance of the same bug.
>>
>> The problem happens without native compilation enabled. I have verified
>> that reverting commit 483c5e9 fixes the problem.
>
> Mauricio, does this work again with latest master?
Hi,
Sorry for the delay in replying, last week was unusually busy for me. I
just tried latest master (567c311) and exwm works great for me. Many
thanks for the fix!
Best,
Mauricio
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#48268
; Package
emacs
.
(Fri, 01 Jul 2022 12:20:01 GMT)
Full text and
rfc822 format available.
Message #38 received at 48268 <at> debbugs.gnu.org (full text, mbox):
Mauricio Collares <mauricio <at> collares.org> writes:
> Sorry for the delay in replying, last week was unusually busy for me. I
> just tried latest master (567c311) and exwm works great for me. Many
> thanks for the fix!
(I'm going through old bug reports that unfortunately weren't resolved
at the time.)
It seems like the problem here was fixed by Martin at the time, but the
bug report was left open, so I'm closing it now.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug marked as fixed in version 28.1, send any further explanations to
48268 <at> debbugs.gnu.org and Mauricio Collares <mauricio <at> collares.org>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Fri, 01 Jul 2022 12:20:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 30 Jul 2022 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 274 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.