Skip to content

[Bug]: *scratch* welcome text glyphs corrupted; macOS title bar missing #253

Description

@yibie

Bug summary

Two problems observed in the same session (may be independent):

  1. *scratch* initial text renders with corrupted glyphs — the default welcome message loses strokes and characters.
  2. macOS window title bar is missing — no traffic-light buttons / native title bar.

Environment

  • Neomacs 0.0.15, built with cargo xtask fresh-build --release from commit e8b875ab7 (local main was ~120 commits behind upstream 330afe3d9 at the time of the report)
  • macOS 27.0 (Build 26A5388g), Apple Silicon (arm64)
  • Started via chemacs with my Emacs config; early-init.el contains:
    (push '(ns-transparent-titlebar . t) default-frame-alist)

Problem 1: glyph corruption in scratch

Steps to reproduce

  1. Launch ./target/release/neomacs with the config above.
  2. The initial *scratch* buffer shows the default welcome text.

Expected behavior

As in GNU Emacs:

;; This buffer is for text that is not saved, and for Lisp evaluation.
;; To create a file, visit it with C-x C-f and enter text in its buffer.

Observed behavior (see screenshot)

  • The leading ;; of the first line renders as ii.
  • The second line loses its leading ;; To c entirely.
  • Many e glyphs lose their middle stroke and look like c:
    creatercatca / frcate, filefalc, evaluationcvaluation, entercnter.
  • * glyphs (buffer name, window title) render like .
  • Text typed afterwards (e.g. Chinese via IME) renders fine — so far only the initial scratch text appears affected.

Problem 2: missing title bar

Steps to reproduce

  1. Launch with (ns-transparent-titlebar . t) in default-frame-alist.

Expected behavior

GNU Emacs on macOS shows a transparent title bar with the traffic-light buttons still visible.

Observed behavior

The Neomacs window shows no title bar at all — no traffic lights, no native title bar. The screenshot shows only the title text on a white strip, with no window controls.

Runtime diagnostics

$ ./target/release/neomacs --version
Neomacs 0.0.15
Standalone Rust binary for Neomacs (no C dependency)

--help shows the standard usage; no crash or error logs.

Screenshot

scratch glyph corruption + missing title bar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions