From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: fullcreen = fullboth yields undesirable behavior Date: Sat, 22 Sep 2007 07:56:28 -0600 Message-ID: References: <46F51867.4080101@swipnet.se> Reply-To: tromey@redhat.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1190470794 12849 80.91.229.12 (22 Sep 2007 14:19:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 22 Sep 2007 14:19:54 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: Jan =?utf-8?Q?Dj=C3=A4rv?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 22 16:19:48 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IZ5pg-0001No-Jy for ged-emacs-devel@m.gmane.org; Sat, 22 Sep 2007 16:19:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IZ5pe-0002MY-3M for ged-emacs-devel@m.gmane.org; Sat, 22 Sep 2007 10:19:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IZ5pa-0002MT-47 for emacs-devel@gnu.org; Sat, 22 Sep 2007 10:19:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IZ5pY-0002MG-M1 for emacs-devel@gnu.org; Sat, 22 Sep 2007 10:19:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IZ5pY-0002MD-Gs for emacs-devel@gnu.org; Sat, 22 Sep 2007 10:19:36 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IZ5pY-0000h1-A0 for emacs-devel@gnu.org; Sat, 22 Sep 2007 10:19:36 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IZ5ow-00015s-Hk for emacs-pretest-bug@gnu.org; Sat, 22 Sep 2007 10:18:58 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1IZ5pV-0000g9-7r for emacs-pretest-bug@gnu.org; Sat, 22 Sep 2007 10:19:35 -0400 Original-Received: from mx1.redhat.com ([66.187.233.31]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IZ5pU-0000g5-Vj for emacs-pretest-bug@gnu.org; Sat, 22 Sep 2007 10:19:33 -0400 Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l8MEJWRr030977 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 22 Sep 2007 10:19:32 -0400 Original-Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l8MEJWk9024739; Sat, 22 Sep 2007 10:19:32 -0400 Original-Received: from opsy.redhat.com (ton.toronto.redhat.com [172.16.14.15]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l8MEJVSl012249; Sat, 22 Sep 2007 10:19:31 -0400 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id AC565378AD9; Sat, 22 Sep 2007 07:56:28 -0600 (MDT) X-Attribution: Tom In-Reply-To: <46F51867.4080101@swipnet.se> ("Jan =?utf-8?Q?Dj=C3=A4rv=22's?= message of "Sat\, 22 Sep 2007 15\:28\:07 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:79497 gmane.emacs.pretest.bugs:19971 Archived-At: >>>>> "Jan" =3D=3D Jan Dj=C3=A4rv writes: Jan> Fullscreen on Gnome is done as specified by the extended window Jan> manager hints. Thst is, Emacs just tells the window manager, "make me Jan> fullscreen/height/width", and the windowmanager does what it sees fit. Yeah, that much I still remember from my X days :-) Jan> However, you can request fullscreen or fullwidth+height. These may be Jan> interpreted differently by the window manager, even if the spec says Jan> it should not. Jan> gtk_window_maximize does what Emacs already does. It can't be used Jan> when Emacs is not compiled with Gtk+, so there is no point in doing Jan> so. There is still a difference in behavior between Emacs and other Gtk apps. If I eval (make-frame '((fullscreen . fullboth))), it takes up the entire screen, hiding the panel. However, when I run the roughly equivalent pygtk program which calls 'window.maximize()', I get the results I expect -- a maximized window where I can see the wm decorations and which does not hide the panel. So, even if calling gtk_window_maximize is pointless, there is still an Emacs bug. Or, at the very least, a missing Emacs feature. I did manage to think of a reason that the current behavior might be desirable: if I was using a presentation tool in Emacs (EPT), I might want this behavior. However, that is a specialized use; more frequently I would want plain Gtk-style "maximize". Tom