* bug#48268: 28.0.50; Blank screen when switching virtual desktops or when starting exwm (regression from 483c5e9) @ 2021-05-06 22:43 Mauricio Collares 2021-05-07 7:09 ` martin rudalics ` (3 more replies) 0 siblings, 4 replies; 12+ messages in thread From: Mauricio Collares @ 2021-05-06 22:43 UTC (permalink / raw) To: 48268 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 ^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#48268: 28.0.50; Blank screen when switching virtual desktops or when starting exwm (regression from 483c5e9) 2021-05-06 22:43 bug#48268: 28.0.50; Blank screen when switching virtual desktops or when starting exwm (regression from 483c5e9) Mauricio Collares @ 2021-05-07 7:09 ` martin rudalics 2021-05-12 8:45 ` martin rudalics ` (2 subsequent siblings) 3 siblings, 0 replies; 12+ messages in thread From: martin rudalics @ 2021-05-07 7:09 UTC (permalink / raw) To: mauricio, 48268 > 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 ^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#48268: 28.0.50; Blank screen when switching virtual desktops or when starting exwm (regression from 483c5e9) 2021-05-06 22:43 bug#48268: 28.0.50; Blank screen when switching virtual desktops or when starting exwm (regression from 483c5e9) Mauricio Collares 2021-05-07 7:09 ` martin rudalics @ 2021-05-12 8:45 ` martin rudalics 2021-05-13 21:59 ` Ramon Diaz-Uriarte 2021-05-16 8:30 ` martin rudalics 3 siblings, 0 replies; 12+ messages in thread From: martin rudalics @ 2021-05-12 8:45 UTC (permalink / raw) To: mauricio, 48268 > 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 ^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#48268: 28.0.50; Blank screen when switching virtual desktops or when starting exwm (regression from 483c5e9) 2021-05-06 22:43 bug#48268: 28.0.50; Blank screen when switching virtual desktops or when starting exwm (regression from 483c5e9) Mauricio Collares 2021-05-07 7:09 ` martin rudalics 2021-05-12 8:45 ` martin rudalics @ 2021-05-13 21:59 ` Ramon Diaz-Uriarte 2021-05-14 7:09 ` martin rudalics 2021-05-16 8:31 ` martin rudalics 2021-05-16 8:30 ` martin rudalics 3 siblings, 2 replies; 12+ messages in thread From: Ramon Diaz-Uriarte @ 2021-05-13 21:59 UTC (permalink / raw) To: 48268; +Cc: Ramon Diaz-Uriarte 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 ^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#48268: 28.0.50; Blank screen when switching virtual desktops or when starting exwm (regression from 483c5e9) 2021-05-13 21:59 ` Ramon Diaz-Uriarte @ 2021-05-14 7:09 ` martin rudalics 2021-05-14 9:38 ` Basil L. Contovounesios 2021-05-16 8:31 ` martin rudalics 1 sibling, 1 reply; 12+ messages in thread From: martin rudalics @ 2021-05-14 7:09 UTC (permalink / raw) To: Ramon Diaz-Uriarte, 48268 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 ^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#48268: 28.0.50; Blank screen when switching virtual desktops or when starting exwm (regression from 483c5e9) 2021-05-14 7:09 ` martin rudalics @ 2021-05-14 9:38 ` Basil L. Contovounesios 2021-05-14 10:02 ` Basil L. Contovounesios 0 siblings, 1 reply; 12+ messages in thread From: Basil L. Contovounesios @ 2021-05-14 9:38 UTC (permalink / raw) To: martin rudalics; +Cc: Ramon Diaz-Uriarte, 48268 [-- Attachment #1: Type: text/plain, Size: 1393 bytes --] martin rudalics <rudalics@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 [-- Attachment #2: 0.png --] [-- Type: image/png, Size: 13880 bytes --] [-- Attachment #3: Type: text/plain, Size: 142 bytes --] 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 [-- Attachment #4: 3.png --] [-- Type: image/png, Size: 28052 bytes --] [-- Attachment #5: Type: text/plain, Size: 413 bytes --] 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. [-- Attachment #6: 6.png --] [-- Type: image/png, Size: 18502 bytes --] [-- Attachment #7: Type: text/plain, Size: 295 bytes --] 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 [-- Attachment #8: 9.png --] [-- Type: image/png, Size: 27986 bytes --] [-- Attachment #9: Type: text/plain, Size: 184 bytes --] 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.] [-- Attachment #10: 10.png --] [-- Type: image/png, Size: 22696 bytes --] [-- Attachment #11: Type: text/plain, Size: 96 bytes --] Back to where we started, with both frames deiconified. 11. C-x C-e [AKA repeat step 9.] [-- Attachment #12: 11.png --] [-- Type: image/png, Size: 22899 bytes --] [-- Attachment #13: Type: text/plain, Size: 1899 bytes --] 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 ^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#48268: 28.0.50; Blank screen when switching virtual desktops or when starting exwm (regression from 483c5e9) 2021-05-14 9:38 ` Basil L. Contovounesios @ 2021-05-14 10:02 ` Basil L. Contovounesios 0 siblings, 0 replies; 12+ messages in thread From: Basil L. Contovounesios @ 2021-05-14 10:02 UTC (permalink / raw) To: martin rudalics; +Cc: Ramon Diaz-Uriarte, 48268 "Basil L. Contovounesios" <contovob@tcd.ie> writes: > martin rudalics <rudalics@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 ^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#48268: 28.0.50; Blank screen when switching virtual desktops or when starting exwm (regression from 483c5e9) 2021-05-13 21:59 ` Ramon Diaz-Uriarte 2021-05-14 7:09 ` martin rudalics @ 2021-05-16 8:31 ` martin rudalics 2021-05-16 23:09 ` Ramon Diaz-Uriarte 1 sibling, 1 reply; 12+ messages in thread From: martin rudalics @ 2021-05-16 8:31 UTC (permalink / raw) To: Ramon Diaz-Uriarte, 48268 > 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 ^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#48268: 28.0.50; Blank screen when switching virtual desktops or when starting exwm (regression from 483c5e9) 2021-05-16 8:31 ` martin rudalics @ 2021-05-16 23:09 ` Ramon Diaz-Uriarte 0 siblings, 0 replies; 12+ messages in thread From: Ramon Diaz-Uriarte @ 2021-05-16 23:09 UTC (permalink / raw) To: martin rudalics; +Cc: Ramon Diaz-Uriarte, 48268 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@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@gmail.com ramon.diaz@iib.uam.es https://ligarto.org/rdiaz ^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#48268: 28.0.50; Blank screen when switching virtual desktops or when starting exwm (regression from 483c5e9) 2021-05-06 22:43 bug#48268: 28.0.50; Blank screen when switching virtual desktops or when starting exwm (regression from 483c5e9) Mauricio Collares ` (2 preceding siblings ...) 2021-05-13 21:59 ` Ramon Diaz-Uriarte @ 2021-05-16 8:30 ` martin rudalics 2021-05-19 12:49 ` Mauricio Collares 3 siblings, 1 reply; 12+ messages in thread From: martin rudalics @ 2021-05-16 8:30 UTC (permalink / raw) To: mauricio, 48268 > 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 ^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#48268: 28.0.50; Blank screen when switching virtual desktops or when starting exwm (regression from 483c5e9) 2021-05-16 8:30 ` martin rudalics @ 2021-05-19 12:49 ` Mauricio Collares 2022-07-01 12:19 ` Lars Ingebrigtsen 0 siblings, 1 reply; 12+ messages in thread From: Mauricio Collares @ 2021-05-19 12:49 UTC (permalink / raw) To: martin rudalics; +Cc: 48268 martin rudalics <rudalics@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 ^ permalink raw reply [flat|nested] 12+ messages in thread
* bug#48268: 28.0.50; Blank screen when switching virtual desktops or when starting exwm (regression from 483c5e9) 2021-05-19 12:49 ` Mauricio Collares @ 2022-07-01 12:19 ` Lars Ingebrigtsen 0 siblings, 0 replies; 12+ messages in thread From: Lars Ingebrigtsen @ 2022-07-01 12:19 UTC (permalink / raw) To: Mauricio Collares; +Cc: martin rudalics, 48268 Mauricio Collares <mauricio@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 ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2022-07-01 12:19 UTC | newest] Thread overview: 12+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2021-05-06 22:43 bug#48268: 28.0.50; Blank screen when switching virtual desktops or when starting exwm (regression from 483c5e9) Mauricio Collares 2021-05-07 7:09 ` martin rudalics 2021-05-12 8:45 ` martin rudalics 2021-05-13 21:59 ` Ramon Diaz-Uriarte 2021-05-14 7:09 ` martin rudalics 2021-05-14 9:38 ` Basil L. Contovounesios 2021-05-14 10:02 ` Basil L. Contovounesios 2021-05-16 8:31 ` martin rudalics 2021-05-16 23:09 ` Ramon Diaz-Uriarte 2021-05-16 8:30 ` martin rudalics 2021-05-19 12:49 ` Mauricio Collares 2022-07-01 12:19 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.