Files
andros e669744e16 runner: harden captures and fix the 11-bars scenario
- Crop captures for real: import ignores -crop when capturing, so every
  comparison ran on full root screenshots and any frame-geometry
  difference between the two sides dominated the diff.  Capture the
  root and crop in a separate convert step (+repage).
- Wait for buffer-switch cross-fades to finish before the shot (via
  gpu-transition-active-p when the backend provides it): under load the
  fade could start late and the capture landed mid-blend.
- Retry set-frame-size until the frame really is 100 columns: on PGTK,
  GTK's size renegotiation can drop the request when the scenario just
  toggled bars, leaving the two sides at different sizes.
- Capture with grim on native Wayland (no global window coordinates;
  both sides share the compositor's tile geometry).
- 11-bars/test.el: remove a stray paren that aborted the scenario load
  midway since its introduction.
2026-07-24 18:02:16 +02:00
..

QA 11 — Emacs Bars

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.