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 #11 received at 27357 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 27357 <at> debbugs.gnu.org
Subject: Re: bug#27357: 26.0.50; Emacs starts fullscreen in Ubuntu 17.04
Date: Wed, 14 Jun 2017 18:38:48 +0200
martin rudalics <rudalics <at> gmx.at> 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 <at> 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 ‘toggle-frame-maximized’.

I meant command line options.  There's --maximized and --fullwidth and
--fullscreen and --fullheight, but no "no, I don't want anything maxed".

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

Previous Next


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