From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luigi Rocca Newsgroups: gmane.emacs.bugs Subject: bug#16659: ns-use-native-fullscreen breaks fullscreen functionality on maverick secondary monitor when old spaces behaviour is selected, plus slow transition Date: Wed, 05 Feb 2014 18:42:25 +0100 Message-ID: <52F27801.4060000@disi.unige.it> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1391623029 23965 80.91.229.3 (5 Feb 2014 17:57:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Feb 2014 17:57:09 +0000 (UTC) To: 16659@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 05 18:57:18 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WB6ir-00044m-MC for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Feb 2014 18:57:17 +0100 Original-Received: from localhost ([::1]:60752 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WB6ir-0002d8-BC for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Feb 2014 12:57:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45437) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WB6ii-0002US-Bx for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2014 12:57:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WB6id-000850-ED for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2014 12:57:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37118) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WB6id-00084s-At for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2014 12:57:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WB6ic-0003cC-Iz for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2014 12:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Luigi Rocca Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Feb 2014 17:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16659 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.139162298113837 (code B ref -1); Wed, 05 Feb 2014 17:57:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Feb 2014 17:56:21 +0000 Original-Received: from localhost ([127.0.0.1]:51137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WB6hw-0003b6-H5 for submit@debbugs.gnu.org; Wed, 05 Feb 2014 12:56:21 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39704) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WB6Up-0003HD-Ga for submit@debbugs.gnu.org; Wed, 05 Feb 2014 12:42:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WB6Uk-0002ht-75 for submit@debbugs.gnu.org; Wed, 05 Feb 2014 12:42:47 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:49930) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WB6Uk-0002hp-47 for submit@debbugs.gnu.org; Wed, 05 Feb 2014 12:42:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41397) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WB6Uf-0001h1-Aj for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2014 12:42:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WB6UZ-0002gu-0z for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2014 12:42:37 -0500 Original-Received: from smtp2.unige.it ([130.251.21.66]:37298 helo=mailstore.studenti.unige.it) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WB6UY-0002fd-Lr for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2014 12:42:30 -0500 Original-Received: from angband.homenet.telecomitalia.it (host47-164-dynamic.15-87-r.retail.telecomitalia.it [87.15.164.47]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailstore.studenti.unige.it (Postfix) with ESMTP id CCAC76A8A0 for ; Wed, 5 Feb 2014 18:42:26 +0100 (CET) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Wed, 05 Feb 2014 12:56:19 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:84638 Archived-At: I am using the following emacs build, from http://emacsformacosx.com/ on an updated Mavericks installation: "GNU Emacs 24.3.50.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2014-01-27 on bob.porkrind.org" I'm disabling the native fullscreen functionality in my conf file (setq ns-use-native-fullscreen nil) and I have the OSX option "Displays have separate spaces" disabled. While avoiding the native fullscreen does two very welcome things (the fullscreen window remains on the current space and the other monitor, if attached, is not greyed out) there are two problems: 1) Going fullscreen works only on the primary laptop monitor (I'm using a macbook pro) but not on the secondary monitor on the display port. When the emacs frame is on the secondary monitor, "M-x toggle-frame-fullscreen" has the following results: - An animation of a small black rectangle goes out of the screen (headed to the lower right part of the screen - please note the secondary monitor is on the upper left wrt the primary one, don't know if this is related or not). - A brief macosx error sound is played. - The screen is now empty and emacs is nowhere to be seen, neither primary nor secondary monitor. - The only way to get the emacs frame back is blindly calling toggle-frame-fullscreen again - the frame then returns to its previous position. 2) Even on the working primary monitor there is still a very slow scaling transition to fullscreen (and back). I find slow animations in Maverick to be annoying and nausea-inducing. Users that are disabling native fullscreen functionality are probably trying to disable the slow transition too (most other open source apps that give the user the option to disable the native fullscreen functionality, such as VLC and iterm2, do exactly this and avoid the slow animation entirely). It seems reasonable to either disable the animation when native fullscreen is disabled or add and additional option to disable it and/or control how fast it is (if I've missed one I'm sorry, please point it out to me). I've tested one of the several unofficial osx emacs versions that were fullscreen-patched in the past (https://github.com/xajler/emacs24-macosx-lion-fullscreen) and it works as intended on both counts: it goes fullscreen on both monitors and without any animation whatsoever. If there's anything I can do to help, test etc, please do tell me. I am confortable with building software from source and it is not a problem for me to checkout and build the latest sources if necessary. Many many thanks for all the amazing work that the emacs developers have done in the past and are still doing on this amazing editor. Keep up the good work! Cheers, Luigi Rocca