From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#27357: 26.0.50; Emacs starts fullscreen in Ubuntu 17.04 Date: Wed, 14 Jun 2017 14:33:31 +0200 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1497443659 13862 195.159.176.226 (14 Jun 2017 12:34:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 14 Jun 2017 12:34:19 +0000 (UTC) To: 27357@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 14 14:34:12 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dL7Uv-00036W-ND for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Jun 2017 14:34:09 +0200 Original-Received: from localhost ([::1]:48421 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dL7V0-0001mc-W6 for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Jun 2017 08:34:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dL7Us-0001mM-0k for bug-gnu-emacs@gnu.org; Wed, 14 Jun 2017 08:34:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dL7Uo-0008Bn-SV for bug-gnu-emacs@gnu.org; Wed, 14 Jun 2017 08:34:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44154) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dL7Uo-0008Bh-PG for bug-gnu-emacs@gnu.org; Wed, 14 Jun 2017 08:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dL7Uo-0000xi-GP for bug-gnu-emacs@gnu.org; Wed, 14 Jun 2017 08:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Jun 2017 12:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27357 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14974436363685 (code B ref -1); Wed, 14 Jun 2017 12:34:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Jun 2017 12:33:56 +0000 Original-Received: from localhost ([127.0.0.1]:46831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dL7Ui-0000xM-0T for submit@debbugs.gnu.org; Wed, 14 Jun 2017 08:33:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45849) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dL7Ug-0000xA-T4 for submit@debbugs.gnu.org; Wed, 14 Jun 2017 08:33:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dL7Ua-00089Z-56 for submit@debbugs.gnu.org; Wed, 14 Jun 2017 08:33:49 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:60542) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dL7Ua-00089R-1x for submit@debbugs.gnu.org; Wed, 14 Jun 2017 08:33:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dL7UY-0001m9-PJ for bug-gnu-emacs@gnu.org; Wed, 14 Jun 2017 08:33:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dL7UV-00088w-MA for bug-gnu-emacs@gnu.org; Wed, 14 Jun 2017 08:33:46 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:42963) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dL7UV-00086r-FN for bug-gnu-emacs@gnu.org; Wed, 14 Jun 2017 08:33:43 -0400 Original-Received: from cm-84.209.243.26.getinternet.no ([84.209.243.26] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1dL7UJ-0004Mx-8z for bug-gnu-emacs@gnu.org; Wed, 14 Jun 2017 14:33:33 +0200 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:133576 Archived-At: In 16.10, things worked as normal, but in Ubuntu 17.04 Emacs starts in fullscreen mode. That is, emacs -Q says: (frame-parameter nil 'fullscreen) maximized If I say "emacs -geometry 20x20 -Q", then Emacs isn't fullscreen, but instead starts with a frame that is approximately 84 characters by 46 characters. This is on a HiDPI screen: larsi@mouse:~$ dconf read /com/ubuntu/user-interface/scale-factor {'eDP1': 11, 'eDP-1': 12} Emacs 25 appears to behave the same as git Emacs, so whatever's going on isn't a new bug, I think. I tried grepping through the Emacs source code to find out what sets the `maximized' value, and it's perhaps the get_current_wm_state thing? I'm not sure. I also note that Emacs has a gaggle of options to switch fullscreen mode on, but apparently none to switch it off? In GNU Emacs 26.0.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.14.5) of 2017-06-07 built on stories Repository revision: 62523863780d3894c92f84dd474278eeddc4a0e0 Windowing system distributor 'The X.Org Foundation', version 11.0.11903000 System Description: Debian GNU/Linux 8.7 (jessie) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no