emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#50413: closed (28.0.50; Top of window gets cut off on macOS)


From: GNU bug Tracking System
Subject: bug#50413: closed (28.0.50; Top of window gets cut off on macOS)
Date: Mon, 27 Sep 2021 12:41:02 +0000

Your message dated Mon, 27 Sep 2021 13:40:45 +0100
with message-id <YVG7zWTJB2cnUrT0@breton.holly.idiocy.org>
and subject line Re: bug#50413: 28.0.50; Top of window gets cut off on macOS
has caused the debbugs.gnu.org bug report #50413,
regarding 28.0.50; Top of window gets cut off on macOS
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
50413: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=50413
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 28.0.50; Top of window gets cut off on macOS Date: Sun, 5 Sep 2021 17:51:56 -0500
1. Start Emacs -Q

2. Eval this progn form in *scratch* with C-x C-e at the end of the
   form:

      (progn
        (setq ns-use-native-fullscreen nil)
        (tool-bar-mode -1)
        (set-frame-parameter nil 'fullscreen 'fullheight)
        (dotimes (_ 6)
          (toggle-frame-fullscreen)
          (sit-for 1)))

Expected behavior: Top line of the *scratch* buffer is visible

Observed behavior: Top line of the *scratch* buffer is cut off and
hidden under the window title bar

Other information:

I think tool-bar-mode can be left on if you wish, but repeated
invocations of toggle-frame-fullscreen seem to toggle between
demonstrating this bug and then fixing it.

6 for the number of times you have to toggle full screen was arrived at
empirically.  You may need more or less.

If you (setq header-line-format "foo") this might be even easier to
observe.


In GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin20.6.0, NS appkit-2022.60 
Version 11.5.2 (Build 20G95))
of 2021-09-05 built on dale
Repository revision: 1560a63bf1cbdd28d46c6570dfb65e3a413ffa3f
Repository branch: master
Windowing system distributor 'Apple', version 10.3.2022
System Description:  macOS 11.5.2

Configured using:
'configure --without-x --with-modules --with-threads --with-xwidgets
--with-zlib --with-xml2 --with-json --with-cairo --with-gnutls
--with-xpm --with-jpeg --with-tiff --with-gif --with-png --with-rsvg
--with-native-compilation --with-ns --enable-ns-self-contained
'CFLAGS=-O2 -I/opt/local/include/gcc10' LDFLAGS=-L/opt/local/lib/gcc10'

Configured features:
ACL GLIB GNUTLS JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS
PDUMPER PNG RSVG THREADS TOOLKIT_SCROLL_BARS XIM XWIDGETS ZLIB

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

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-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
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail
rmail-loaddefs auth-source eieio eieio-core eieio-loaddefs
password-cache json map text-property-search time-date mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils comp
comp-cstr warnings subr-x rx cl-seq cl-macs cl-extra help-mode seq
byte-opt gv cl-loaddefs cl-lib bytecomp byte-compile cconv iso-transl
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
tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar
mouse jit-lock font-lock syntax font-core term/tty-colors frame
minibuffer 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 cl-preloaded nadvice button loaddefs faces
cus-face macroexp files window text-properties overlay sha1 md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote threads xwidget-internal kqueue cocoa ns lcms2 multi-tty
make-network-process native-compile emacs)

Memory information:
((conses 16 82396 8153)
(symbols 48 7759 1)
(strings 32 22464 4320)
(string-bytes 1 787990)
(vectors 16 18266)
(vector-slots 8 331864 11673)
(floats 8 28 25)
(intervals 56 239 0)
(buffers 992 13))



--- End Message ---
--- Begin Message --- Subject: Re: bug#50413: 28.0.50; Top of window gets cut off on macOS Date: Mon, 27 Sep 2021 13:40:45 +0100
On Sun, Sep 05, 2021 at 05:51:56PM -0500, Dale Sedivec wrote:
> 1. Start Emacs -Q
> 
> 2. Eval this progn form in *scratch* with C-x C-e at the end of the
>    form:
> 
>       (progn
>         (setq ns-use-native-fullscreen nil)
>         (tool-bar-mode -1)
>         (set-frame-parameter nil 'fullscreen 'fullheight)
>         (dotimes (_ 6)
>           (toggle-frame-fullscreen)
>           (sit-for 1)))
> 
> Expected behavior: Top line of the *scratch* buffer is visible
> 
> Observed behavior: Top line of the *scratch* buffer is cut off and
> hidden under the window title bar

I believe I've fixed this on the master branch now. If you're still
seeing the problem, please reply to this email and I'll reopen the bug
report.
-- 
Alan Third


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]