Skip to main content

When a Tablet Window Shrinks, Which Pane Should Survive?

Follow a repair ticket from a wide tablet workspace into a narrow window. Learn how to preserve the draft, the selected ticket and the way back.

R
Written by Reiko

A technician has two jobs open on a tablet. Ticket 417 needs a replacement seal. Ticket 471 needs a new valve. She opens 417, types “seal ordered,” and drags the divider to make room for a parts catalogue. When she widens the repair app again, the note is still there, above the heading for ticket 471. Nothing crashed. Every control fits. Yet pressing Save would put a plausible note on the wrong job. This is the failure to look for when bringing a phone interface to a tablet.

A repair queue is a useful design exercise because it forces three questions. Which record is the technician working on? Which records can she currently see? Where did she come from? A phone screen often answers all three through its navigation stack. A tablet can show the queue and a ticket side by side, while another app occupies half the display. Those three answers now have different lifetimes.

Fit the work to the window

Start with a queue row drawn at the largest text size the product supports. Give it a long customer name, a priority label and a two-line address. Beside it, lay out a ticket with a date field, a parts table and a Save button. Shrink the window slowly. Write down the width at which someone can still tell two customers apart and edit a part quantity without horizontal scrolling. This measurement supplies a reason to switch layouts. A diagonal screen measurement supplies very little information about the space left for that parts table.

For a worked example, suppose the queue needs 288 logical units, the editor needs 416, the divider takes 1 and the design reserves 24 at each outer edge. Side by side, the pieces require 753 units. A window 740 units wide misses the mark even on a large tablet. Add a persistent 72-unit navigation rail inside that same content area and the requirement rises to 825. These figures are a budget for this specimen. Use a common coordinate system and subtract each inset once before comparing the budget with the measured window.

On Android, window size classes provide a vocabulary for broad layout decisions. The detail pane can still be too narrow inside a window class that usually accommodates both panes. Measure the actual child area if a permanent inspector, hinge exclusion or optional rail consumes space. A common failure is to ask for the physical display width in a utility function. That utility returns the same answer when the user gives half of the display to the catalogue. To catch it, keep the device stationary throughout a resize test.

Give selection an owner

Represent the active ticket with its durable identifier. Keep the queue query, sort order and scroll anchor alongside it as separate values. A typical editing session might contain ticket 417, the Open jobs filter, a sort by last update and an anchor on ticket 409. A draft needs an explicit ticket identifier of its own. On Save, the command should carry that identifier through to storage. Deriving the destination from whichever row happens to be highlighted at the instant of the tap invites a race with the next queue refresh.

Try the following sequence on paper before wiring up a view. Ticket 417 occupies row three. A dispatcher creates a higher-priority job; the queue inserts a row at the top. The selected ticket is now in row four. Any design that stores the integer 3 and looks up the record again can silently switch jobs. An identifier-based design can ask whether 417 still exists. If the record has actually been deleted, the editor can preserve the unsent note and offer to copy it. Substituting the next row conceals the deletion.

A filter change needs its own product decision. Suppose a technician is editing a job when a dispatcher marks it closed, removing it from Open jobs. One defensible behavior is to leave its detail visible with a short “Closed by dispatcher” label and refresh the list. Another is to return to the queue after the technician resolves the draft. Choose one policy with the people who do the work. A list refresh should have no authority to invent that policy by triggering the first row’s click handler.

Describe the transition from the user’s side

Imagine starting in a wide window with the queue and ticket detail visible. Narrow the window while the cursor sits in the note. The technician expects to continue typing into the ticket. In a different session she may be browsing the queue with an old ticket displayed beside it. If both cases collapse to the old ticket, shrinking the window interrupts browsing. Track which task has the user’s attention. A deliberate row activation is stronger evidence than the mere presence of a selected identifier.

Opening a job from a notification takes a different route. There may be no queue query or scroll position to restore. Define where the in-app Up action goes and preserve the platform’s expected system Back behavior for the entry point. Test a notification when the app is cold and when a different job has an unfinished draft. A deep link identifying ticket 417 grants no permission to discard notes on 471. If the editor supports concurrent drafts, save and reattach them by record. Otherwise surface the decision before replacing the open editor.

In a wide window a permanent list already provides a way to choose another job. Reusing the compact screen’s navigation action for every layout change can push an extra queue or detail destination onto the stack. One symptom is that Back appears to do nothing after three cycles of widening and narrowing. Sketch the logical history for “Open queue, open 417, open attachment.” Resizing the attachment view should leave that history intact. Back closes the attachment once, regardless of how often its parent changed shape.

Treat the unfinished note as data

A narrow and a wide editor can render the same draft through different view trees. Both need a single owner for editable content. Give each local mutation a record identity and an order. An asynchronous response that was requested before the user typed must not overwrite newer input when a layout recomposes. For example, the server can supply the last saved note as a baseline and the draft can hold a separately tracked local revision. Mark the editor clean only when the acknowledgement covers that revision.

Decide how much interruption your save promise covers. A value held by a screen model can survive certain view changes. A locally committed draft can also be recovered after the operating system reclaims the process. These are different promises. If the interface says “Draft saved,” define where the draft lives, when the write completes and what happens if the write fails. Store large attachments in appropriate file storage, with a stable reference in the draft, so reconciling two pane trees never requires duplicating an entire photograph.

A text selection, scroll offset and open menu need different treatment. Restore the insertion point if the underlying text still matches. Keep an anchor on a stable part identifier in a long parts list. Dismiss a positioning menu whose anchor button disappeared. Restoring every visible detail indiscriminately can summon the keyboard on a read-only ticket or reopen a menu above another row. Reconstruct transient controls only when the new layout still has a meaningful place for them.

Handle awkward space inside the detail pane

Now bring up the on-screen keyboard while editing the last part quantity. The app may still have ample width and very little usable height. A bottom action bar can cover the active field even though the two-pane width calculation is sound. Make it possible to reach the field, read its validation message and activate Save while the keyboard is visible. Test with an unusually long error message. A design that scrolls only the input into view can hide the reason its value was rejected.

A large text setting changes more than line breaks. A segmented filter that fits three labels at ordinary size may push the last label outside the queue pane. Try a wrapping group or a compact filter menu, and keep a visible indication of the active filter. Moving the label into the detail header can break the compact queue view where that header does not exist. Check the spoken names of controls after the move too. Two buttons both announced as “Close” are ambiguous when one closes a menu and the other closes a repair ticket.

Where a vertical divider is draggable, choose meaningful minimum sizes and make the drag an enhancement. Provide an accessible route to show or hide the queue without placing a finger on a narrow line. Persist a preferred split as a preference bounded by the next window’s available space. A 500-unit queue saved on a wide display should not consume almost the whole window at the next launch. Restore the desired split after measuring the current editor’s minimum width.

A release test with evidence of the destination

Seed the test database with two visually similar tickets and distinct identifiers. Open 417, attach a small file and type a note without committing it. Reorder the queue remotely, shrink the window, inflate the text size and widen it again. Submit the note. Inspect the stored record and its attachment owner. A screenshot of the note after the resize only establishes that the characters survived. Looking up the destination record establishes that the edit reached the intended job.

Repeat with the selection empty, with the selected record removed, and with an external keyboard connected. In the empty case, a wide detail pane can invite the technician to choose a job; opening the first customer automatically can expose a record she had no reason to open. In the removal case, provide a way to recover local text. With the keyboard attached, place focus on a specific quantity cell before the transition and confirm that the next digit still belongs to that part.

For a reproducible defect report, capture the window dimensions, text scale, starting route, queue order and active ticket at each step. Record whether the view was reconstructed or the process restarted. Use synthetic ticket numbers in traces. The decisive assertion in the example is short enough to share with design, engineering and QA alike: after the catalogue closes, ticket 417 contains “seal ordered,” and ticket 471 is untouched.

Did this answer your question?