QA 11 — Emacs Bars
- How to run
- Checklist
- 11.1 Mode-line — content and colors correct
- 11.2 Mode-line — inactive window uses mode-line-inactive
- 11.3 Mode-line — mouse-face highlight on buttons
- 11.4 Header-line — visible above text area
- 11.5 Tab-bar — tabs switch buffers cleanly
- 11.6 Tab-bar — hover highlight on tabs
- 11.7 Tool-bar — icons visible with raised relief
- 11.8 Scroll-bar — tracks buffer position
How to run
emacs --no-init-file -l qa/11-bars/test.el EMACS_GPU_DISABLE=1 emacs --no-init-file -l qa/11-bars/test.el
Checklist
TODO 11.1 Mode-line — content and colors correct
The mode-line must show buffer name, major mode, and position. Background/foreground must match the mode-line face. Failure: mode-line is blank, wrong colors, or overlapping text.
TODO 11.2 Mode-line — inactive window uses mode-line-inactive
Click on the mode-line area of a different split (after C-x 2). The active window's mode-line must be brighter than the inactive one. Failure: both mode-lines have identical appearance.
TODO 11.3 Mode-line — mouse-face highlight on buttons
Move the mouse over the major-mode name or buffer-name area. A highlight must appear while the mouse is over the button. Failure: no mouse-face change, or highlight flickers off immediately.
TODO 11.4 Header-line — visible above text area
The header-line set in the test must appear between the tab-bar and the text area. Failure: header-line is missing or overlaps the first text line.
TODO 11.5 Tab-bar — tabs switch buffers cleanly
Click each tab in the tab-bar. The content area must update without any flash or residual content from the previous tab. Failure: flash of old content, or a blank frame between tabs.
TODO 11.6 Tab-bar — hover highlight on tabs
Hover the mouse over individual tabs. Each tab must highlight on hover. Failure: no hover effect, or highlight persists after mouse leaves.
TODO 11.7 Tool-bar — icons visible with raised relief
The tool-bar must show icons with correct relief (raised = clickable). Failure: icons are missing, icons appear flat (no relief), or tool-bar area is blank.
TODO 11.8 Scroll-bar — tracks buffer position
Drag the scroll-bar thumb. The buffer must scroll to the corresponding position. Failure: thumb position does not reflect the buffer position, or the scroll-bar background is rendered incorrectly.