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 18:38:48 +0200 Message-ID: References: <594143AB.7040500@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1497458353 13479 195.159.176.226 (14 Jun 2017 16:39:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 14 Jun 2017 16:39:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 27357@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 14 18:39:09 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 1dLBK1-0003Jl-8n for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Jun 2017 18:39:09 +0200 Original-Received: from localhost ([::1]:50038 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLBK6-0001UE-IC for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Jun 2017 12:39:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLBJy-0001Rn-A8 for bug-gnu-emacs@gnu.org; Wed, 14 Jun 2017 12:39:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLBJu-0002ak-5L for bug-gnu-emacs@gnu.org; Wed, 14 Jun 2017 12:39:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45256) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dLBJu-0002Zb-2G for bug-gnu-emacs@gnu.org; Wed, 14 Jun 2017 12:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dLBJt-00024p-Ou for bug-gnu-emacs@gnu.org; Wed, 14 Jun 2017 12:39:01 -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 16:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27357 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27357-submit@debbugs.gnu.org id=B27357.14974583387974 (code B ref 27357); Wed, 14 Jun 2017 16:39:01 +0000 Original-Received: (at 27357) by debbugs.gnu.org; 14 Jun 2017 16:38:58 +0000 Original-Received: from localhost ([127.0.0.1]:47933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLBJq-00024Y-LY for submit@debbugs.gnu.org; Wed, 14 Jun 2017 12:38:58 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:55465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLBJo-00024P-90 for 27357@debbugs.gnu.org; Wed, 14 Jun 2017 12:38:56 -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 1dLBJg-0005uZ-RU; Wed, 14 Jun 2017 18:38:50 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEUCAgU6SVkBAQMCAwcD BAgBAgYGCA51OzGQAAACZ0lEQVQ4jVWTy27jMAxFCbvuXuhAa42KZJ0ppazbSvXaiKp93Aj8/0+Y SzluZ4QAdnjMxyUpalnPKz2MrzQ+kJ4RPyHmhQg/GtzgnB98P3QCOG0AaHDedUKOAJjvwDtyHQwD cQd6ziJib8BARDVRyJn5xllkNdaTHy7TtNSQKefAgXk2K4Cj6NyhusIKeiR1MKbRyWm5HGbKSe0x d2CetAhHIzw4RSVhFtitGU9a98QBQO2FOzBGVZGrNVBSUPkO7E0B1coUlBQOsoHrCRpdibxVlXJe e3LTEsqaakmqA0ryvNlXaehFLV1gP/NmN4IAGX3YQXpTqxF4qKoyqw7OIfGqLQGwADVqr3iTsZot ib3VZYw1QmAvvMBsFUmLGFZFuRUDQIFvtjuI5IpJHRamsk1vVbBaaZIvHi3pOUbkUOGI9cuKfBSM Q7ck7vOAE+ySGFMFKL2uVT3Mqh45hTzLvgyzfv6+2vUsuoI7iB1Ail3bNyi6aAnbY2xTgfYOdLuw SWfbk3QlYQNYPD8A2D5zMXJDVSLbYhKAlmu16sbdY8EiOxqQA5+LuYaeHB6MYJP3ZyNWvuSPmZEE Dl15LZc4Izk6pV7fQBG2R+RR0+BF3xWErlz/vJtHDL3JDlJv4m2Vo5WrSNs9Ipf6qdfGH6ECA9ly lMV75z8R+OWrg741KrDfxoc8hhf/W9qVY8T+ZVUOB6g/4OXojm7SjUa3aPH3U7VtPmEXJsw2URm0 i7iqGvJYIx7YhfJBz8Pucjm0onZ/QLB/Qnn3nPiC54R1y42GHzBd+nPB/UJVP+A75NTLffX/I5Sh 90b+AjgZ4dY+tlofAAAAAElFTkSuQmCC In-Reply-To: <594143AB.7040500@gmx.at> (martin rudalics's message of "Wed, 14 Jun 2017 16:09:47 +0200") 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:133582 Archived-At: martin rudalics writes: >> 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 > > Does this match the state of the window manager maximized button? What > happens when you click it? The window manager is Unity, and there's no button as such. But there is an "unmaximize" menu option, which works as it's supposed to. >> 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} > > Can you try without scaling? I don't know how to alter it. >> 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. > > It should be. Can you get a backtrace from there? I'll try later. >> I also note that Emacs has a gaggle of options to switch fullscreen mode >> on, but apparently none to switch it off? > > (set-frame-parameter nil 'fullscreen nil) > > or =E2=80=98toggle-frame-maximized=E2=80=99. I meant command line options. There's --maximized and --fullwidth and --fullscreen and --fullheight, but no "no, I don't want anything maxed". --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no