Zum Inhalt springen
HZBench
Alle Artikel

Anleitungen

How to test a touchscreen for dead zones, broken paths and multi-touch

A grid you trace with a finger shows dead zones. Pointer events also reveal breaks in a path, touches the system cancelled and how many fingers are tracked at once.

Von HZBench-RedaktionVeröffentlicht:

Dieser Artikel ist nur auf Englisch verfügbar.

Browsers report touches as pointer events: one stream per finger, with a position and a pointer ID. A touchscreen test listens to those events, marks where your finger has been and counts how many fingers are on the screen. Everything below uses data the browser already exposes; nothing is installed.

What to look for

ReadingWhat it meansHow HZBench measures it
Cells coveredAreas that never light up while you trace them do not register touches.A 12 × 8 grid; a cell lights up when a touch lands in it.
Edge cellsEdges are where screen protectors, curved glass and system gestures cause most trouble.Covered cells in the outer row and column.
Breaks in a finger pathThe finger moved continuously but the reported position jumped.A jump of more than 8% of the field width after a pause longer than 40 ms.
Touches cancelled by the systemThe browser stopped tracking a finger, usually because a system gesture took over.The pointercancel event [1].
Most touch points at onceHow many fingers the screen tracked together in your test.Highest number of active pointers.

The browser also reports navigator.maxTouchPoints, the maximum number of simultaneous touch contact points the device supports [2]. It is the number the browser declares, not a measured hardware limit, and a screen can track more fingers than it. Compare it with the number you actually reach: a lower result usually means the fingers were too close together, not that the screen is faulty; a higher result means the declared value is not the real limit. HZBench shows both numbers and flags the difference.

Step by step

  1. Clean the screen and dry your fingers. Moisture and dirt cause breaks that look like hardware faults.
  2. Open the test and switch to full screen, so system gestures at the edges interfere less.
  3. Drag one finger slowly over every cell, including the outermost rows. Then put two, three, four and five fingers down, spread apart.
  4. Repeat any area that stays dark. If it stays dark with a different finger and after removing the protector, note its position.
  5. Save the result to compare after a repair or a new screen protector.

Touch events in the browser

Browsers merge several pointer updates into one event to save work; getCoalescedEvents() returns the individual updates that were merged [3]. HZBench counts how many finger positions per second the browser hands to the page while one finger moves, stroke by stroke, and shows the range across strokes. That is not the screen's hardware sampling rate: the system and the browser can merge or resample positions before the page sees them, and no browser API reports the digitizer's own rate. If the browser only gives one position per frame, HZBench shows the value as a lower bound and does not save it.

Limits

  • A browser sees touches after the system has processed them; it cannot test the digitizer directly.
  • Edge swipes may be taken by the system before the page sees them. Full screen reduces this, but does not remove it on every phone.
  • A single dark cell is a lead, not a diagnosis. Repeat the test before deciding anything.

Quellen

  1. [1] Element: pointercancel event, MDN Web Docs (abgerufen )
  2. [2] Navigator: maxTouchPoints property, MDN Web Docs (abgerufen )
  3. [3] PointerEvent: getCoalescedEvents() method, MDN Web Docs (abgerufen )

Korrekturen

  • : The touch rate was described as how often the screen reports the finger position. It is how often the browser hands positions to the page, not the hardware sampling rate; the declared touch-point limit is the browser's figure and can be lower than what the screen tracks.

Wie wir Artikel schreiben und korrigierenFehler melden