GNU bug report logs - #19413
24.4; (desktop-save-mode 1) save frame as page and desktop sticky (_NET_WM_STATE_STICKY) when close Emacs shaded, (setq desktop-restore-frames nil) fix issue.

Previous Next

Package: emacs;

Reported by: Oleksandr Gavenko <gavenkoa <at> gmail.com>

Date: Fri, 19 Dec 2014 21:47:01 UTC

Severity: normal

Tags: moreinfo

Found in version 24.4

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 19413 <at> debbugs.gnu.org (full text, mbox):

From: Jan Djärv <jan.h.d <at> swipnet.se>
To: Oleksandr Gavenko <gavenkoa <at> gmail.com>, martin rudalics <rudalics <at> gmx.at>
Cc: 19413 <at> debbugs.gnu.org
Subject: Re: bug#19413: 24.4; (desktop-save-mode 1) save frame as page and
 desktop sticky (_NET_WM_STATE_STICKY) when close Emacs shaded,
 (setq desktop-restore-frames nil) fix issue.
Date: Mon, 22 Dec 2014 09:52:24 +0100
Den 2014-12-20 18:33, Oleksandr Gavenko skrev:
>
> I just can summarise investigation:
>
>   * (set-frame-parameter nil 'sticky ...) doesn't work, it always set
>     _NET_WM_STATE(ATOM) to _NET_WM_STATE_STICKY regardless passed value.

(set-frame-parameter nil 'sticky nil) does the right thing on non-buggy window 
managers.  Yours is not onw of them it seems.

>
>   * Emacs code base know nothing about _NET_WM_STATE_SHADED value of
>     _NET_WM_STATE(ATOM).

No.

>
>   * There are no "shaded" (info "(elisp)Window Frame Parameters"). I see:
>     ‘sticky’, ‘visibility’, ‘fullscreen’ (maximized, fullboth, fullwidth,
>     fullheight).

We don't support shaded.

>
>   * Closing shaded Emacs with "(desktop-save-mode 1)" add (stick) parameter to
>     ~/.emacs.desktop
>

This is the same as (set-frame-parameter nil 'sticky nil), which triggers a 
bug in your window manager.  Thats the whole problem.

	Jan D.





This bug report was last modified 3 years and 137 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.