Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blank frame after virtual desktop switching on xmonad #146

Closed
psanford opened this issue May 6, 2021 · 5 comments
Closed

Blank frame after virtual desktop switching on xmonad #146

psanford opened this issue May 6, 2021 · 5 comments

Comments

@psanford
Copy link

psanford commented May 6, 2021

On xmonad, switching away from the virtual desktop emacs is on and then back, emacs shows a blank frame and does not redraw. The keyboard is still active (e.g. I can C-x C-c to exit emacs).

This is with nix on Ubuntu 20.04. I also have emacs-27 installed from nix on this system which does not have this issue.

@talyz
Copy link
Contributor

talyz commented May 6, 2021

Which package from the overlay are you using? It's quite likely an upstream bug, especially if it's one of those built from master.

@psanford
Copy link
Author

psanford commented May 6, 2021

It was for emacsGcc

@collares
Copy link
Contributor

collares commented May 6, 2021

I see a related bug: when exwm starts up, the screen is blank. It is not an emacsGcc bug, and reverting emacs-mirror/emacs@483c5e9 fixes it. You can revert it by overriding the package attribute, like so:

package = pkgs.emacsGcc.overrideAttrs(old: {
  patches = old.patches ++ [
    (pkgs.fetchpatch {
      url = "https://github.com/emacs-mirror/emacs/commit/483c5e953c12a95382bef4a3b6769a680c32fe86.patch";
      sha256 = "sha256-8GEGLqiVMwhd4HSEI306eDv988UmITBy/y1rmGXAppg=";
      revert = true;
    })
  ];
});

I have filed http://debbugs.gnu.org/cgi/bugreport.cgi?bug=48268 upstream.

@psanford
Copy link
Author

psanford commented May 7, 2021

Switching to an earlier version fixed this for me. 🙇

@collares
Copy link
Contributor

collares commented May 19, 2021

Update: I just tried emacs master and exwm is working fine for me there (I tried with emacsGcc but that should be independent of native compilation). So the revert won't be needed as soon as #150 is fixed.

cc @thomasheartman @mbroeders

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants