GNU bug report logs - #27357
26.0.50; Emacs starts fullscreen in Ubuntu 17.04

Previous Next

Package: emacs;

Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>

Date: Wed, 14 Jun 2017 12:34:02 UTC

Severity: normal

Tags: fixed

Merged with 20619, 21348, 22204, 23231

Found in versions 24.5, 25.0.50, 25.1.50, 26.0.50

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

Bug is archived. No further changes may be made.

Full log


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

From: martin rudalics <rudalics <at> gmx.at>
To: Lars Ingebrigtsen <larsi <at> gnus.org>, 27357 <at> debbugs.gnu.org
Subject: Re: bug#27357: 26.0.50; Emacs starts fullscreen in Ubuntu 17.04
Date: Wed, 14 Jun 2017 16:09:47 +0200
> 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?

> 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 <at> mouse:~$ dconf read /com/ubuntu/user-interface/scale-factor
> {'eDP1': 11, 'eDP-1': 12}

Can you try without scaling?

> 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.

It should be.  Can you get a backtrace from there?

> 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 ‘toggle-frame-maximized’.

martin





This bug report was last modified 7 years and 360 days ago.

Previous Next


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