* bug#50413: 28.0.50; Top of window gets cut off on macOS
@ 2021-09-05 22:51 Dale Sedivec
2021-09-27 12:40 ` Alan Third
0 siblings, 1 reply; 2+ messages in thread
From: Dale Sedivec @ 2021-09-05 22:51 UTC (permalink / raw)
To: 50413
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))
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#50413: 28.0.50; Top of window gets cut off on macOS
2021-09-05 22:51 bug#50413: 28.0.50; Top of window gets cut off on macOS Dale Sedivec
@ 2021-09-27 12:40 ` Alan Third
0 siblings, 0 replies; 2+ messages in thread
From: Alan Third @ 2021-09-27 12:40 UTC (permalink / raw)
To: Dale Sedivec; +Cc: 50413-done
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-27 12:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-05 22:51 bug#50413: 28.0.50; Top of window gets cut off on macOS Dale Sedivec
2021-09-27 12:40 ` Alan Third
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).