unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#28872: 26.0.90; non-native-fullscreen does not play well with ns-transparent-titlebar on macOS
@ 2017-10-17  3:00 Aaron Jensen
  2017-10-17 14:25 ` Alan Third
  0 siblings, 1 reply; 13+ messages in thread
From: Aaron Jensen @ 2017-10-17  3:00 UTC (permalink / raw)
  To: 28872


From emacs -Q:

(ns-toggle-toolbar)
(set-frame-parameter nil 'ns-transparent-titlebar t)
(setq ns-use-native-fullscreen nil)
(toggle-frame-fullscreen)
(toggle-frame-fullscreen)

This leaves you in a situation where the frame moves up into where the
title bar should be. Resizing the frame manually fixes it.

Here's a screenshot: https://screenshots-dx37.s3.amazonaws.com/20171016-195851-kfuhu.png


In GNU Emacs 26.0.90 (build 1, x86_64-apple-darwin17.0.0, NS appkit-1561.00 Version 10.13 (Build 17A405))
 of 2017-10-12 built on aaron-mbpt.local
Repository revision: 59b5dc60d660f81f8b781068d13727ed812ad555
Windowing system distributor 'Apple', version 10.3.1561
Recent messages:
Indentation variables are now local.
Indentation setup for shell type zsh
Appointment reminders enabled (no diary file found)
Added 4 events for today
Saving file /Users/aaronjensen/.emacs.d/.cache/work.org...
Wrote /Users/aaronjensen/.emacs.d/.cache/work.org
Fetched data overwrote
/Users/aaronjensen/.emacs.d/.cache/work.org
Added 4 events for today
Quit

Configured using:
 'configure --disable-dependency-tracking --disable-silent-rules
 --enable-locallisppath=/usr/local/share/emacs/site-lisp
 --infodir=/usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/info/emacs
 --prefix=/usr/local/Cellar/emacs-plus/HEAD-59b5dc6 --with-xml2
 --without-dbus --with-gnutls --with-imagemagick --with-modules
 --with-rsvg --with-ns --disable-ns-self-contained'

Configured features:
JPEG RSVG IMAGEMAGICK NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS
NS MODULES LCMS2

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Emacs-Lisp

Minor modes in effect:
  magit-auto-revert-mode: t
  company-mode: t
  auto-compile-mode: t
  elisp-slime-nav-mode: t
  eros-mode: t
  lispyville-mode: t
  lispy-mode: t
  nameless-mode: t
  goto-address-prog-mode: t
  bug-reference-prog-mode: t
  auto-highlight-symbol-mode: t
  highlight-numbers-mode: t
  highlight-parentheses-mode: t
  rainbow-delimiters-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  global-git-gutter+-mode: t
  git-gutter+-mode: t
  global-git-commit-mode: t
  async-bytecomp-package-mode: t
  recentf-mode: t
  evil-mc-mode: t
  hl-todo-mode: t
  global-spacemacs-whitespace-cleanup-mode: t
  spacemacs-whitespace-cleanup-mode: t
  ws-butler-global-mode: t
  ws-butler-mode: t
  winum-mode: t
  winner-mode: t
  pupo-mode: t
  purpose-mode: t
  volatile-highlights-mode: t
  global-vi-tilde-fringe-mode: t
  vi-tilde-fringe-mode: t
  spaceline-info-mode: t
  spaceline-helm-mode: t
  save-place-mode: t
  savehist-mode: t
  projectile-rails-global-mode: t
  projectile-mode: t
  persp-mode: t
  global-origami-mode: t
  origami-mode: t
  Info-breadcrumbs-in-mode-line-mode: t
  flycheck-pos-tip-mode: t
  global-flycheck-mode: t
  flx-ido-mode: t
  eyebrowse-mode: t
  global-evil-surround-mode: t
  evil-surround-mode: t
  global-evil-search-highlight-persist: t
  evil-search-highlight-persist: t
  show-smartparens-global-mode: t
  show-smartparens-mode: t
  evil-lion-mode: t
  evil-escape-mode: t
  global-anzu-mode: t
  anzu-mode: t
  eval-sexp-fu-flash-mode: t
  editorconfig-mode: t
  global-edit-server-edit-mode: t
  dtrt-indent-mode: t
  diff-auto-refine-mode: t
  counsel-mode: t
  ivy-mode: t
  clean-aindent-mode: t
  hybrid-mode: t
  which-key-mode: t
  override-global-mode: t
  global-undo-tree-mode: t
  undo-tree-mode: t
  evil-mode: t
  evil-local-mode: t
  spacemacs-leader-override-mode: t
  global-spacemacs-leader-override-mode: t
  global-hl-line-mode: t
  xterm-mouse-mode: t
  global-auto-revert-mode: t
  auto-revert-mode: t
  shell-dirtrack-mode: t
  ido-vertical-mode: t
  global-page-break-lines-mode: t
  page-break-lines-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t
  hs-minor-mode: t

Load-path shadows:
/Users/aaronjensen/.emacs.d/elpa/26.0/org-mac-link-20170105.1723/org-mac-link hides /Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-mac-link
/Users/aaronjensen/.emacs.d/elpa/26.0/ht-20161015.1945/ht hides /Users/aaronjensen/.emacs.d/core/libs/ht
/Users/aaronjensen/.emacs.d/elpa/26.0/less-css-mode-20160930.2153/less-css-mode hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/textmodes/less-css-mode
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-stan hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-stan
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-exp hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-exp
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-J hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-J
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-eshell hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-eshell
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-emacs-lisp hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-emacs-lisp
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-gnus hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-gnus
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-css hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-css
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-lob hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-lob
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-forth hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-forth
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-macs hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-macs
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-version hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-version
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-scheme hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-scheme
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ox hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ox
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-abc hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-abc
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-C hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-C
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-capture hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-capture
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-ref hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-ref
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-clojure hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-clojure
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-mouse hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-mouse
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-ledger hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-ledger
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-ctags hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-ctags
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-entities hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-entities
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-archive hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-archive
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-screen hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-screen
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-haskell hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-haskell
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-asymptote hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-asymptote
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-mhe hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-mhe
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-table hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-table
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-keys hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-keys
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ox-org hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ox-org
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-plot hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-plot
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-awk hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-awk
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-groovy hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-groovy
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-octave hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-octave
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-faces hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-faces
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-colview hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-colview
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-R hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-R
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-timer hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-timer
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-ebnf hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-ebnf
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-mobile hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-mobile
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-fortran hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-fortran
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-shell hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-shell
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-perl hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-perl
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-sqlite hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-sqlite
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-sed hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-sed
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-list hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-list
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-ruby hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-ruby
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-eval hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-eval
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-habit hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-habit
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-clock hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-clock
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ox-html hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ox-html
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-src hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-src
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-lisp hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-lisp
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-ditaa hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-ditaa
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-pcomplete hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-pcomplete
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-lint hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-lint
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-rmail hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-rmail
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ox-latex hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ox-latex
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-sass hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-sass
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-io hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-io
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-tangle hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-tangle
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-calc hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-calc
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-java hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-java
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ox-icalendar hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ox-icalendar
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-eww hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-eww
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ox-md hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ox-md
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ox-beamer hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ox-beamer
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-element hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-element
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-protocol hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-protocol
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-mscgen hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-mscgen
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-gnuplot hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-gnuplot
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-latex hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-latex
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-id hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-id
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-vala hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-vala
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ox-man hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ox-man
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-feed hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-feed
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-lua hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-lua
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-table hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-table
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-ocaml hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-ocaml
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-coq hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-coq
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-picolisp hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-picolisp
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-indent hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-indent
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-lilypond hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-lilypond
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-matlab hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-matlab
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-datetree hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-datetree
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-python hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-python
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-bbdb hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-bbdb
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-makefile hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-makefile
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-duration hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-duration
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-agenda hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-agenda
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-dot hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-dot
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-js hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-js
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ox-publish hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ox-publish
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-inlinetask hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-inlinetask
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-org hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-org
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-core hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-core
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-compat hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-compat
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-docview hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-docview
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ox-odt hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ox-odt
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-plantuml hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-plantuml
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ox-ascii hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ox-ascii
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-loaddefs hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-loaddefs
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-w3m hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-w3m
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-bibtex hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-bibtex
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-info hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-info
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-hledger hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-hledger
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-maxima hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-maxima
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-macro hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-macro
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-sql hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-sql
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-attach hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-attach
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-processing hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-processing
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ox-texinfo hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ox-texinfo
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-irc hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-irc
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-crypt hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-crypt
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-footnote hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-footnote
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/org-install hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/org-install
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-comint hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-comint
/Users/aaronjensen/.emacs.d/elpa/26.0/org-plus-contrib-20171009/ob-shen hides /usr/local/Cellar/emacs-plus/HEAD-59b5dc6/share/emacs/26.0.90/lisp/org/ob-shen

Features:
(shadow sort mail-extr emacsbug sendmail appt diary-lib diary-loaddefs
org-duration smartparens-lua lua-mode alchemist alchemist-macroexpand
alchemist-company alchemist-help alchemist-complete alchemist-refcard
alchemist-phoenix alchemist-compile alchemist-iex alchemist-message
alchemist-hooks alchemist-hex alchemist-mix alchemist-info
alchemist-goto alchemist-scope alchemist-eval alchemist-interact
alchemist-server alchemist-execute alchemist-report alchemist-test-mode
alchemist-project alchemist-file alchemist-key alchemist-utils
smartparens-elixir flycheck-dialyxir flycheck-credo flycheck-dogma
elixir-mode pkg-info epl elixir-smie sh-script org-agenda executable pp
emoji-cheat-sheet-plus helm helm-source helm-multi-match helm-lib
company-emoji company-emoji-list org-eldoc evil-org org-table ob-ruby
ob-shell org-bullets org-download toc-org org-indent image-file
org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view
org-bibtex bibtex org-bbdb org-w3m org-gcal org-archive org-inlinetask
ob-elixir ob-http ob-http-mode ob-restclient restclient ox-gfm ox-md
ox-reveal ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util
rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex
ox-icalendar ox-html table ox-ascii ox-publish ox orgit org-element
avl-tree generator magithub magithub-orgs magithub-issue-tricks
magithub-issue-post magithub-issue-status magithub-label magithub-proxy
magithub-ci magithub-pr magithub-issue ghub+ apiwrap magithub-core ghub
git-rebase magit-gh-pulls gh gh-users gh-issues gh-pulls gh-repos
gh-comments gh-gist gh-oauth gh-api logito gh-cache gh-auth gh-url
url-http tls gnutls url-auth url-gw nsm evil-magit magit-obsolete
magit-blame magit-stash magit-bisect magit-remote magit-commit
magit-sequence magit-notes magit-worktree magit-branch magit-files
magit-refs magit-status magit magit-repos magit-apply magit-wip
magit-log magit-diff smerge-mode magit-core magit-autorevert
magit-process magit-margin magit-mode magit-git magit-section
magit-popup org org-macro org-footnote org-pcomplete org-list org-faces
org-entities org-version ob-emacs-lisp ob ob-tangle org-src ob-ref
ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat
org-macs org-loaddefs cal-menu calendar cal-loaddefs request-deferred
deferred request url url-proxy url-privacy url-expand url-methods
url-history url-cookie url-domsuf url-util mailcap alert log4e
notifications dbus xml gntp mwim colir smex misearch multi-isearch
vc-git open-junk-file company-files company-keywords
company-dabbrev-code company-dabbrev company-capf company-tng company
auto-compile packed elisp-slime-nav eros flycheck-package package-lint
finder lispyville lispy iedit iedit-lib lispy-inline avy semantic/db
semantic/util-modes semantic/util semantic semantic/tag semantic/lex
semantic/fw mode-local cedet evil-ediff ediff-merg ediff-wind ediff-diff
ediff-mult ediff-help ediff-init ediff-util ediff edebug lispy-tags
nameless goto-addr bug-reference auto-highlight-symbol highlight-numbers
parent-mode highlight-parentheses hideshow rainbow-delimiters yasnippet
elec-pair editorconfig-core editorconfig-core-handle
editorconfig-fnmatch git-gutter-fringe+ fringe-helper git-gutter+
git-commit with-editor async-bytecomp async magit-utils crm log-edit
message rmc puny rfc822 mml mml-sec epa epg gnus-util rmail
rmail-loaddefs mailabbrev mail-utils gmm-utils mailheader pcvs-util
add-log recentf tree-widget restore-frame-position contextual-menubar
quiet-emacs fill-or-unfill init-xclip init-flyspell init-terminal-cursor
evil-terminal-cursor-changer init-org init-magit evil-mc
evil-mc-command-execute evil-mc-command-record evil-mc-cursor-make
evil-mc-region evil-mc-cursor-state evil-mc-undo evil-mc-vars
evil-mc-known-commands evil-mc-common hl-todo ucs-utils persistent-soft
list-utils pcache eieio-base font-utils server zone xterm-color
spacemacs-whitespace-cleanup ws-butler winum winner
spacemacs-purpose-popwin window-purpose-x imenu-list imenu dired
dired-loaddefs window-purpose window-purpose-fixes
window-purpose-prefix-overload window-purpose-switch let-alist
window-purpose-layout window-purpose-core window-purpose-configuration
window-purpose-utils volatile-highlights vi-tilde-fringe unicode-fonts
tmux string-inflection spaceline-config spaceline-segments spaceline
powerline powerline-separators color powerline-themes smartparens-config
smartparens-text smartparens-ruby saveplace savehist ruby-test-mode
pcre2el rxt re-builder projectile-rails rake f inflections inf-ruby
ruby-mode smie projectile grep compile ibuf-ext ibuffer ibuffer-loaddefs
popwin persp-mode osx-trash origami origami-parsers linum ivy-hydra
info+ image-mode gh-common gh-profile s marshal flycheck-pos-tip pos-tip
flycheck-flow flycheck find-func flx-ido eyebrowse evil-surround
evil-search-highlight-persist evil-numbers evil-lisp-state smartparens
dash evil-lion evil-indent-plus evil-exchange evil-escape evil-args
evil-anzu anzu eval-sexp-fu highlight editorconfig edit-server noutline
outline dtrt-indent rx docker-tramp tramp-cache diff-hl vc-dir ewoc vc
vc-dispatcher diff-mode counsel jka-compr esh-util etags xref project
swiper ivy flx delsel ivy-overlay ffap clean-aindent-mode adaptive-wrap
hybrid-mode exec-path-from-shell evil-evilified-state which-key
use-package diminish bind-key hydra lv cus-edit evil evil-integration
undo-tree diff evil-maps evil-commands flyspell ispell evil-jumps
evil-command-window evil-types evil-search evil-ex evil-macros
evil-repeat evil-states evil-core evil-common windmove thingatpt rect
evil-digraphs evil-vars info bind-map quelpa help-fns radix-tree
package-build mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047
rfc2045 mm-util ietf-drums mail-prsvr json map lisp-mnt hl-line xt-mouse
autorevert filenotify cl-extra disp-table wid-edit monokai-theme
finder-inf tramp tramp-compat tramp-loaddefs trampver shell pcomplete
comint ansi-color ring parse-time format-spec cus-start cus-load
init-sass init-php init-html init-evil core-configuration-layer
eieio-compat ht cl help-mode warnings package epg-config url-handlers
url-parse auth-source cl-seq password-cache url-vars eieio eieio-core
eieio-loaddefs ido-vertical-mode ido seq byte-opt bytecomp byte-compile
cconv core-spacemacs core-use-package-ext core-transient-state
core-micro-state core-toggle core-keybindings core-fonts-support
core-spacemacs-buffer core-funcs cl-macs gv core-themes-support
core-display-init core-jump core-release-management core-custom-settings
core-dotspacemacs core-command-line pcase core-debug edmacro kmacro
derived advice profiler easymenu cl-loaddefs cl-lib page-break-lines
easy-mmode subr-x time-date tooltip eldoc electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize
mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow isearch timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote kqueue cocoa ns lcms2 multi-tty make-network-process emacs)

Memory information:
((conses 16 1575632 1054440)
 (symbols 48 91440 1)
 (miscs 40 3216 5353)
 (strings 32 391196 155737)
 (string-bytes 1 10993088)
 (vectors 16 145363)
 (vector-slots 8 4137564 486888)
 (floats 8 609 2711)
 (intervals 56 32244 4322)
 (buffers 992 71))





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#28872: 26.0.90; non-native-fullscreen does not play well with ns-transparent-titlebar on macOS
  2017-10-17  3:00 bug#28872: 26.0.90; non-native-fullscreen does not play well with ns-transparent-titlebar on macOS Aaron Jensen
@ 2017-10-17 14:25 ` Alan Third
  2017-10-19  1:08   ` Aaron Jensen
  0 siblings, 1 reply; 13+ messages in thread
From: Alan Third @ 2017-10-17 14:25 UTC (permalink / raw)
  To: Aaron Jensen; +Cc: 28872

On Mon, Oct 16, 2017 at 08:00:59PM -0700, Aaron Jensen wrote:
> 
> From emacs -Q:
> 
> (ns-toggle-toolbar)
> (set-frame-parameter nil 'ns-transparent-titlebar t)
> (setq ns-use-native-fullscreen nil)
> (toggle-frame-fullscreen)
> (toggle-frame-fullscreen)
> 
> This leaves you in a situation where the frame moves up into where the
> title bar should be. Resizing the frame manually fixes it.
> 
> Here's a screenshot: https://screenshots-dx37.s3.amazonaws.com/20171016-195851-kfuhu.png

You don’t need to invoke transparent titlebars nor remove the toolbar
to see this problem.

The issue seems to be that when switching back to the non‐fullscreen
NSWindow the toolbar height calculation fails and produces a negative
value.

We used to use a hard‐coded value for this, but the calculation works
better in every circumstance except, apparently, this one.
-- 
Alan Third





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#28872: 26.0.90; non-native-fullscreen does not play well with ns-transparent-titlebar on macOS
  2017-10-17 14:25 ` Alan Third
@ 2017-10-19  1:08   ` Aaron Jensen
  2017-10-19 11:17     ` Alan Third
  0 siblings, 1 reply; 13+ messages in thread
From: Aaron Jensen @ 2017-10-19  1:08 UTC (permalink / raw)
  To: Alan Third; +Cc: 28872

On October 17, 2017 at 7:26:01 AM, Alan Third
(alan@idiocy.org(mailto:alan@idiocy.org)) wrote:

> The issue seems to be that when switching back to the non‐fullscreen
> NSWindow the toolbar height calculation fails and produces a negative
> value.
>
> We used to use a hard‐coded value for this, but the calculation works
> better in every circumstance except, apparently, this one.

Would it be possible to use a hard-coded 0 for the case when there is
no toolbar at least? Or do you have a proper fix in mind?

Aaron





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#28872: 26.0.90; non-native-fullscreen does not play well with ns-transparent-titlebar on macOS
  2017-10-19  1:08   ` Aaron Jensen
@ 2017-10-19 11:17     ` Alan Third
       [not found]       ` <CAHyO48y5jy7L7E+BZTtTAtd5eGcUb-W54FQXhfEh444WPx4j3A@mail.gmail.com>
  0 siblings, 1 reply; 13+ messages in thread
From: Alan Third @ 2017-10-19 11:17 UTC (permalink / raw)
  To: Aaron Jensen; +Cc: 28872

On Wed, Oct 18, 2017 at 08:08:25PM -0500, Aaron Jensen wrote:
> On October 17, 2017 at 7:26:01 AM, Alan Third
> (alan@idiocy.org(mailto:alan@idiocy.org)) wrote:
> 
> > The issue seems to be that when switching back to the non‐fullscreen
> > NSWindow the toolbar height calculation fails and produces a negative
> > value.
> >
> > We used to use a hard‐coded value for this, but the calculation works
> > better in every circumstance except, apparently, this one.
> 
> Would it be possible to use a hard-coded 0 for the case when there is
> no toolbar at least? Or do you have a proper fix in mind?

No, I was pretty much just thinking of returning a hard‐coded value
when it’s negative.

The toolbar size calculation takes the size of the actual contentView,
which should be the space below the toolbar, and subtracts that from
the size of a calculated contentView that doesn’t have a toolbar.

This is how apple recommend you calculate the size of the toolbar.

Non‐native fullscreen uses another NSWindow (like we were discussing
for undecorated frames), so when it switches back out of fullscreen it
changes back to the original NSWindow.

At this point, the calculated contentView is correctly sized, but the
actual contentView seems to take up the ENTIRE NSWindow, including the
titlebar.

I imagine we need to somehow force the NSWindow to recalculate its
sizes, but I’ve no idea how.
-- 
Alan Third





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#28872: 26.0.90; non-native-fullscreen does not play well with ns-transparent-titlebar on macOS
       [not found]       ` <CAHyO48y5jy7L7E+BZTtTAtd5eGcUb-W54FQXhfEh444WPx4j3A@mail.gmail.com>
@ 2017-10-25 13:38         ` Alan Third
  2017-10-25 15:15           ` Aaron Jensen
  2017-10-26  7:56           ` martin rudalics
  0 siblings, 2 replies; 13+ messages in thread
From: Alan Third @ 2017-10-25 13:38 UTC (permalink / raw)
  To: Aaron Jensen; +Cc: 28872

On Fri, Oct 20, 2017 at 07:35:35AM -0400, Aaron Jensen wrote:
> On October 19, 2017 at 4:17:13 AM, Alan Third
> (alan@idiocy.org(mailto:alan@idiocy.org)) wrote:
> 
> > Non‐native fullscreen uses another NSWindow (like we were discussing
> > for undecorated frames), so when it switches back out of fullscreen it
> > changes back to the original NSWindow.
> 
> Oh, why is that? I believe that is the time that iTerm2 does not
> create a new window. It sets borderless and resizes to full screen. If
> that were done instead, would it help with the toolbar issue?

Yeah, we could probably do it without creating a new NSWindow for
macOS and I think it would be better behaved, but GNUstep doesn’t
allow you to change the styleMask at all so it still needs to do the
new NSWindow thing.

In order to use lisp to do the fullscreen thing we’d need to keep
track of various ‘windowed’ frame parameters, ie. undecorated, width,
height, origin, maybe others. I assume it would be OK to stick them
into the frame-parameters alist under a special key, so we know where
they are when we want to switch back.

Anyway, I’ve pushed a fix for this particular issue. It does produce
another odd bug, though:

Set non‐native fullscreen, turn off the toolbar, switch to fullscreen
then back to windowed, re‐enable the toolbar and watch a gap appear
between the top of the Emacs window and the toolbar.

It’s weird, but harder to cause than the current bad behaviour.
-- 
Alan Third





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#28872: 26.0.90; non-native-fullscreen does not play well with ns-transparent-titlebar on macOS
  2017-10-25 13:38         ` Alan Third
@ 2017-10-25 15:15           ` Aaron Jensen
  2017-10-28 13:19             ` Alan Third
  2017-10-26  7:56           ` martin rudalics
  1 sibling, 1 reply; 13+ messages in thread
From: Aaron Jensen @ 2017-10-25 15:15 UTC (permalink / raw)
  To: Alan Third; +Cc: 28872

On October 25, 2017 at 6:38:23 AM, Alan Third
(alan@idiocy.org(mailto:alan@idiocy.org)) wrote:

> On Fri, Oct 20, 2017 at 07:35:35AM -0400, Aaron Jensen wrote:
> > Oh, why is that? I believe that is the time that iTerm2 does not
> > create a new window. It sets borderless and resizes to full screen. If
> > that were done instead, would it help with the toolbar issue?
>
> Yeah, we could probably do it without creating a new NSWindow for
> macOS and I think it would be better behaved, but GNUstep doesn’t
> allow you to change the styleMask at all so it still needs to do the
> new NSWindow thing.
>
> In order to use lisp to do the fullscreen thing we’d need to keep
> track of various ‘windowed’ frame parameters, ie. undecorated, width,
> height, origin, maybe others. I assume it would be OK to stick them
> into the frame-parameters alist under a special key, so we know where
> they are when we want to switch back.

This seems reasonable to me. I wonder if it would fix the lag when
full-screening that’s there now. That’s always bugged me.

> Anyway, I’ve pushed a fix for this particular issue.

I can confirm that it fixes the issue for me.

> It does produce
> another odd bug, though:
>
> Set non‐native fullscreen, turn off the toolbar, switch to fullscreen
> then back to windowed, re‐enable the toolbar and watch a gap appear
> between the top of the Emacs window and the toolbar.
>
> It’s weird, but harder to cause than the current bad behaviour.

I can confirm this as well. It seems that going to fullscreen and then
back removes it after turning the toolbar back off. This won’t impact
me as I don’t use the toolbar at all, but I agree that this is a weird
bug.

One other thing I notice is that when reenabling the toolbar the
window gets taller in height, causing the bottom to slide off screen
if it is already full-height. This isn’t a big deal for me, and
probably has been that way for a while, but I imagine some would find
it annoying.

Aaron





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#28872: 26.0.90; non-native-fullscreen does not play well with ns-transparent-titlebar on macOS
  2017-10-25 13:38         ` Alan Third
  2017-10-25 15:15           ` Aaron Jensen
@ 2017-10-26  7:56           ` martin rudalics
  2017-10-28 13:11             ` Alan Third
  1 sibling, 1 reply; 13+ messages in thread
From: martin rudalics @ 2017-10-26  7:56 UTC (permalink / raw)
  To: Alan Third, Aaron Jensen; +Cc: 28872

 > In order to use lisp to do the fullscreen thing we’d need to keep
 > track of various ‘windowed’ frame parameters, ie. undecorated, width,
 > height, origin, maybe others. I assume it would be OK to stick them
 > into the frame-parameters alist under a special key, so we know where
 > they are when we want to switch back.

We might need the 'original-width' and 'original-height' values for
other platforms as well.  I'm still not happy about our current
implementation of fullscreen.  But what is the 'origin' parameter?

martin






^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#28872: 26.0.90; non-native-fullscreen does not play well with ns-transparent-titlebar on macOS
  2017-10-26  7:56           ` martin rudalics
@ 2017-10-28 13:11             ` Alan Third
  2017-10-31  8:40               ` martin rudalics
  0 siblings, 1 reply; 13+ messages in thread
From: Alan Third @ 2017-10-28 13:11 UTC (permalink / raw)
  To: martin rudalics; +Cc: Aaron Jensen, 28872

On Thu, Oct 26, 2017 at 09:56:33AM +0200, martin rudalics wrote:
> > In order to use lisp to do the fullscreen thing we’d need to keep
> > track of various ‘windowed’ frame parameters, ie. undecorated, width,
> > height, origin, maybe others. I assume it would be OK to stick them
> > into the frame-parameters alist under a special key, so we know where
> > they are when we want to switch back.
> 
> We might need the 'original-width' and 'original-height' values for
> other platforms as well.  I'm still not happy about our current
> implementation of fullscreen.  But what is the 'origin' parameter?

The top and left parameters. I couldn’t remember what they were
called.

What are original-width and original-height used for?
-- 
Alan Third





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#28872: 26.0.90; non-native-fullscreen does not play well with ns-transparent-titlebar on macOS
  2017-10-25 15:15           ` Aaron Jensen
@ 2017-10-28 13:19             ` Alan Third
  2017-10-28 17:15               ` Aaron Jensen
  2017-11-05 18:59               ` Alan Third
  0 siblings, 2 replies; 13+ messages in thread
From: Alan Third @ 2017-10-28 13:19 UTC (permalink / raw)
  To: Aaron Jensen; +Cc: 28872

[-- Attachment #1: Type: text/plain, Size: 1331 bytes --]

On Wed, Oct 25, 2017 at 11:15:20AM -0400, Aaron Jensen wrote:
> On October 25, 2017 at 6:38:23 AM, Alan Third
> (alan@idiocy.org(mailto:alan@idiocy.org)) wrote:
> 
> > In order to use lisp to do the fullscreen thing we’d need to keep
> > track of various ‘windowed’ frame parameters, ie. undecorated, width,
> > height, origin, maybe others. I assume it would be OK to stick them
> > into the frame-parameters alist under a special key, so we know where
> > they are when we want to switch back.
> 
> This seems reasonable to me. I wonder if it would fix the lag when
> full-screening that’s there now. That’s always bugged me.

I’ve attached a half‐assed attempt at a lisp‐powered fullscreen for
macOS. It won’t work elsewhere.

At the moment it makes the frame too wide by 35 pixels. I seem to
recall reading about that at some point, but I can’t remember if
there’s a way to do it properly. It also seems to make the frame a
little too tall.

Maximising instead of resizing would work, but once the decorations
are disabled maximise stops working, and maximising then removing
decorations leaves a gap at the top of the screen.

I guess I’ll have to look into whether maximise can work with
undecorated frames. Presumably it’s caused by the removal of the
resize bit from the styleMask.
-- 
Alan Third

[-- Attachment #2: ns-fullscreen.el --]
[-- Type: text/plain, Size: 1404 bytes --]

(setq lexical-binding t)

(setq ns-use-native-fullscreen nil)

(defun ns-toggle-frame-fullscreen ()
  "Perform non-native fullscreen neatly on macOS."
  (interactive)
  (if (frame-parameter nil 'ns-use-native-fullscreen)
      (toggle-frame-fullscreen)
    (let ((fullscreen (frame-parameter nil 'windowed-params)))
      (cond
       (fullscreen
        (let ((auto-hide-menu-bar (cdr (assq 'ns-auto-hide-menu-bar (frame-parameter nil 'windowed-params))))
              (windowed-params (cdr (frame-parameter nil 'windowed-params))))
          (set-frame-parameter nil 'windowed-params nil)
          (modify-frame-parameters nil windowed-params)
          (setq ns-auto-hide-menu-bar auto-hide-menu-bar)))
       (t
	(let ((old-params
	       (list (cons 'ns-auto-hide-menu-bar ns-auto-hide-menu-bar)
		     (assq 'undecorated (frame-parameters))
		     ;(assq 'fullscreen (frame-parameters))
		     (assq 'width (frame-parameters))
		     (assq 'height (frame-parameters))
		     (assq 'top (frame-parameters))
		     (assq 'left (frame-parameters)))))
	  (setq ns-auto-hide-menu-bar t)
	  (modify-frame-parameters nil `((undecorated . t)
                                         (top . 0)
                                         (left . 0)
                                         (windowed-params . ,old-params)))
          (set-frame-size nil (display-pixel-width) (display-pixel-height) t)))))))

^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#28872: 26.0.90; non-native-fullscreen does not play well with ns-transparent-titlebar on macOS
  2017-10-28 13:19             ` Alan Third
@ 2017-10-28 17:15               ` Aaron Jensen
  2017-10-28 17:17                 ` Aaron Jensen
  2017-11-05 18:59               ` Alan Third
  1 sibling, 1 reply; 13+ messages in thread
From: Aaron Jensen @ 2017-10-28 17:15 UTC (permalink / raw)
  To: Alan Third; +Cc: 28872

On October 28, 2017 at 6:19:31 AM, Alan Third
(alan@idiocy.org(mailto:alan@idiocy.org)) wrote:

> On Wed, Oct 25, 2017 at 11:15:20AM -0400, Aaron Jensen wrote:
> > On October 25, 2017 at 6:38:23 AM, Alan Third
> > (alan@idiocy.org(mailto:alan@idiocy.org)) wrote:
> >
> > > In order to use lisp to do the fullscreen thing we’d need to keep
> > > track of various ‘windowed’ frame parameters, ie. undecorated, width,
> > > height, origin, maybe others. I assume it would be OK to stick them
> > > into the frame-parameters alist under a special key, so we know where
> > > they are when we want to switch back.
> >
> > This seems reasonable to me. I wonder if it would fix the lag when
> > full-screening that’s there now. That’s always bugged me.
>
> I’ve attached a half‐assed attempt at a lisp‐powered fullscreen for
> macOS. It won’t work elsewhere.
>
> At the moment it makes the frame too wide by 35 pixels. I seem to
> recall reading about that at some point, but I can’t remember if
> there’s a way to do it properly. It also seems to make the frame a
> little too tall.

There are some math problems when sizing or inspecting the size of
frames on macOS afaict. I have this package that I use to restore my
frame position on restart because desktop-save-mode doesn’t work well
for me (I think because of this bug) and I have to tweak the
dimensions by 20px x 4px when restoring:

https://github.com/aaronjensen/restore-frame-position/blob/862a72c65769fa9eee6f56434a1d649a6696ce23/restore-frame-position.el#L44-L49

> Maximising instead of resizing would work, but once the decorations
> are disabled maximise stops working, and maximising then removing
> decorations leaves a gap at the top of the screen.

Have you looked into how iTerm2 handles non-native full screen? There
are some notes in there about various things one must do to handle it:

https://github.com/gnachman/iTerm2/blob/d40c14de61c1574a58780967afd3c17583b33cd8/sources/PseudoTerminalRestorer.m#L138

The exact logic seems to differ based on whether or not it’s native
fullscreen and exactly which version of macOS it is. <= 10.10 and >=
10.11 behave differently, I guess.

Aaron





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#28872: 26.0.90; non-native-fullscreen does not play well with ns-transparent-titlebar on macOS
  2017-10-28 17:15               ` Aaron Jensen
@ 2017-10-28 17:17                 ` Aaron Jensen
  0 siblings, 0 replies; 13+ messages in thread
From: Aaron Jensen @ 2017-10-28 17:17 UTC (permalink / raw)
  To: Alan Third; +Cc: 28872

> On October 28, 2017 at 6:19:31 AM, Alan Third (alan@idiocy.org(mailto:alan@idiocy.org)) wrote:
> >
> > I’ve attached a half‐assed attempt at a lisp‐powered fullscreen for
> > macOS. It won’t work elsewhere.

One other thing I noticed is that this does not respect the screen
that the frame is on, it always maximizes to the primary monitor.

Aaron





^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#28872: 26.0.90; non-native-fullscreen does not play well with ns-transparent-titlebar on macOS
  2017-10-28 13:11             ` Alan Third
@ 2017-10-31  8:40               ` martin rudalics
  0 siblings, 0 replies; 13+ messages in thread
From: martin rudalics @ 2017-10-31  8:40 UTC (permalink / raw)
  To: Alan Third; +Cc: Aaron Jensen, 28872

 > What are original-width and original-height used for?

Maybe the terms ‘normal-width’ and ‘normal-height’ would be better.
They would be used for storing the width and height of the "normal" (not
maximized, fullscreen) frame.  Currently, we store as width and height
the current size of the frame even if it is, for example, maximized.
Manipulating the width or height will then resize the frame although,
conceptually it should remain maximized.

Some window systems allow to set the normal frame size while a frame is
maximized without actually changing the frame size.  Demaximizing the
frame would then use that new size instead of restoring the frame to the
size it had before maximizing it.  I'm not sure whether we can do that
on all our platforms though.

martin






^ permalink raw reply	[flat|nested] 13+ messages in thread

* bug#28872: 26.0.90; non-native-fullscreen does not play well with ns-transparent-titlebar on macOS
  2017-10-28 13:19             ` Alan Third
  2017-10-28 17:15               ` Aaron Jensen
@ 2017-11-05 18:59               ` Alan Third
  1 sibling, 0 replies; 13+ messages in thread
From: Alan Third @ 2017-11-05 18:59 UTC (permalink / raw)
  To: Aaron Jensen; +Cc: 28872

On Sat, Oct 28, 2017 at 02:19:27PM +0100, Alan Third wrote:
> Maximising instead of resizing would work, but once the decorations
> are disabled maximise stops working, and maximising then removing
> decorations leaves a gap at the top of the screen.
> 
> I guess I’ll have to look into whether maximise can work with
> undecorated frames. Presumably it’s caused by the removal of the
> resize bit from the styleMask.

This is only an issue when ns-use-native-fullscreen is nil. I can’t
for the life of me see why.

Interestingly if you set it to nil, the third button on the titlebar
still uses native fullscreen, then hitting f11 to switch back crashes
Emacs. (macOS sometimes implicitly enables fullscreen even when you’ve
explicitly disabled it using NSWindowCollectionBehaviorFullScreenPrimary.)

I think at some point I’ll try and strip out Obj‐C non‐native
fullscreen for macOS and just leave it for GNUstep. Then perhaps a
lispy fullscreen script will work better.

I don’t think that will be before Emacs 26 is released, though.
-- 
Alan Third





^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-11-05 18:59 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-17  3:00 bug#28872: 26.0.90; non-native-fullscreen does not play well with ns-transparent-titlebar on macOS Aaron Jensen
2017-10-17 14:25 ` Alan Third
2017-10-19  1:08   ` Aaron Jensen
2017-10-19 11:17     ` Alan Third
     [not found]       ` <CAHyO48y5jy7L7E+BZTtTAtd5eGcUb-W54FQXhfEh444WPx4j3A@mail.gmail.com>
2017-10-25 13:38         ` Alan Third
2017-10-25 15:15           ` Aaron Jensen
2017-10-28 13:19             ` Alan Third
2017-10-28 17:15               ` Aaron Jensen
2017-10-28 17:17                 ` Aaron Jensen
2017-11-05 18:59               ` Alan Third
2017-10-26  7:56           ` martin rudalics
2017-10-28 13:11             ` Alan Third
2017-10-31  8:40               ` martin rudalics

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).