unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Abrahams <dave@boost-consulting.com>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.60; Odd behavior of maximized windows
Date: Tue, 01 Apr 2008 10:43:26 -0400	[thread overview]
Message-ID: <47F24A0E.9050603@boost-consulting.com> (raw)
In-Reply-To: <47F1F483.8070709@swipnet.se>

Jan Djärv wrote:
> 
>> Jan Djärv wrote:
>>>
>>> David Abrahams skrev:
>>>> on Sun Mar 30 2008, Jan Djärv <jan.h.d-AT-swipnet.se> wrote:
>>>>
>>>>> I also run Emerald, Gnome, Compiz and alse see Emerald crashes.  I
>>>>> don't have
>>>>> maximized Emacs:es.  But I see that sometimes compiz maximizes
>>>>> windows by
>>>>> itself when the become "too large" (exactly what that means I don't
>>>>> know).
>>>>>
>>>>> Do you have other maximized windows that don't cover the entire
>>>>> screen after a
>>>>> restart?  
>>>> Yes.
>>>>
>>>>> Window manager decorations is really up to the window manager, Emacs
>>>>> doesn't do anything about this by itself.
>>>> I figured as much, but it must be doing something differently from,
>>>> e.g., Thunderbird, or I wouldn't be seeing this effect.
>>>>
>>> I will run some tests.  I guess there is some property one should set
>>> which Emacs doesn't.  Stay tuned...
> 
> I have run several tests and killed Emerald manually, but my Emacs
> always comes back with window decorations.
> 
> When Emacs is maximized, the window manager sets _NET_WM_STATE, usually to
>  _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_STATE_MAXIMIZED_HORZ.
> 
> When it is restarted it shall look at the NET_WM_STATE and restore it as
> it was before the crash.  If WM_STATE is set to _NET_WM_STATE_FULLSCREEN
> however, you would see the behaviour you are seeing.
> 
> Can you do
> % xprop | grep NET_WM_STATE
> 
> and then click in the maximized Emacs window?  What is the output?

_NET_WM_STATE(ATOM) = _NET_WM_STATE_MAXIMIZED_VERT,
_NET_WM_STATE_MAXIMIZED_HORZ

> Do you know what version of Emerald you have?  

Here's the package info:

  Package: emerald
  Priority: optional
  Section: universe/x11
  Installed-Size: 956
  Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>
  Original-Maintainer: Nicholas Thomas <lupine@beryl-project.org>
  Architecture: i386
  Version: 0.3~git20070717-0ubuntu1

> If you run this with for
> example Metacity, do you see the same effect?

I don't know how to duplicate the dying window decorator effect with
Metacity, so it's hard to tell you.

Thanks again for going to such lengths on this one.

-- 
Dave Abrahams
Boost Consulting
http://boost-consulting.com




  reply	other threads:[~2008-04-01 14:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-28 17:53 23.0.60; Odd behavior of maximized windows David Abrahams
2008-03-30 17:59 ` Jan Djärv
2008-03-30 18:51   ` David Abrahams
2008-03-31  6:21     ` Jan Djärv
2008-03-31 18:37       ` David Abrahams
2008-04-01  8:38         ` Jan Djärv
2008-04-01 14:43           ` David Abrahams [this message]
2008-04-01 15:35             ` Jan Djärv
2008-04-01 15:48               ` David Abrahams
2008-04-03  6:49             ` Jan Djärv
2008-04-04 15:44               ` David Abrahams
2008-04-06 14:06                 ` Jan Djärv
2008-04-11 23:53                   ` David Abrahams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47F24A0E.9050603@boost-consulting.com \
    --to=dave@boost-consulting.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=jan.h.d@swipnet.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).