#56 - A clearer Convert tab: the picture large, the negatives as thumbnails, the adjustments in reach #58

Merged
eliott merged 4 commits from feat/56-convert-layout into main 2026-11-22 20:17:46 +01:00
Owner

The Convert tab is laid out again so that a roll can be converted without hunting for controls. The picture takes most of the window, with its tools beside it; the negatives run in a strip of thumbnails under it; the panel on the right has two tabs, one for the negative shown and one for what serves every negative. Every control says what it does, and its key, as soon as it is pointed at. Settings can be copied from one negative to others, rotation included, and the frame can be kept to a film format's shape.

Closes #56

How it works

  • Layout. Picture in the middle; beside it, Move, Film base, Frame, Greys, Pick a grey, the two turns and the crop, as icons; under it, one line saying what a click does, the frame's shape while drawing frames, and the zoom. The negatives are a strip of thumbnails at the bottom, marked converted, adjusted or saved (the saved mark goes once something changes after the save).
  • Panel. Two tabs. This negative: As shot / Positive, a reset-all, a histogram of the frame with the share clipped to black and white, the warnings, then Tone, Colour, Curves and Details in groups that fold, keep their state, and say how many of their values are changed. All negatives: what is drawn, the colour layers, the clipping, the folder. Copy and Save stay under both.
  • Copy settings. A dialog: tick tone, colour, curves, rotation, frame (each shown with its value), then the negatives selected or every other one. The ticks are kept for next time.
  • Frame shape. Free, 3:2 (35mm, 6 × 9), 1:1 (6 × 6), 4:3 (6 × 4.5), 5:4 (6 × 7) or 35mm panoramic, from the formats the scanner already knows. Drawing, edges and corners keep it; a frame already drawn becomes the largest of the new shape inside it.
  • Selection as in a file manager: Ctrl-click, Shift-click, Ctrl+A, Esc.
  • Keys in Convert: Left/Right go through the negatives, Y converts, C crops, B held shows the negative as shot, S saves, H/1/2/3 pick the tools, G picks a grey, [ ] turn, + - 0 zoom. ? lists the keys of the view shown.
  • Tooltips replace every title in the app: shown at once on hover or keyboard focus, beside the control and away from the sliders, hidden by a press, a drag or a scroll.
  • Density. 12 and 11 px type in Convert, controls of 22 to 28 px, number fields without arrows, small checkboxes, flat buttons; the explanations moved from paragraphs into the tooltips. Scan is unchanged.
  • The zoom of the Scan view became a small function both views use; nothing changes in Scan.

Before, one negative converted, 1600 × 1000 (from the issue):

Before

After, the same size:

After

Tested

  • cargo test: 320 passed. cargo fmt --check and cargo clippy --all-targets clean. Website build passes.
  • In a headless browser (WebKit) against the app, at 1600 × 1000 and 1280 × 800, with six RAW files of a black-and-white roll shot on the Fujifilm X-T5: converting, drawing the base and the frame, the frame's shape (1:1 drawn square; 3:2 kept through an edge and a corner), sliders, curves, turns, crop, holding B, copying adjustments and rotation to five negatives, Ctrl/Shift-click selection, Ctrl+A and Esc, the tooltips, the histogram after a dialog and a resize.
  • The picture of a converted negative is 765 px tall at 1600 × 1000 (640 before) and 565 px at 1280 × 800; at 1280 × 800 the whole Tone group and most of Colour are in view without scrolling.
  • Earlier builds of this branch, installed as the AppImage and used on Linux while the layout was shaped; the last build not tried there yet.

Not tested

  • A whole roll converted before and after, timed and counted in clicks.
  • Colour negatives: only six black-and-white negatives were used.
  • Saving TIFFs from this branch.
  • Windows and macOS windows; Linux only.

Changes in behaviour

  • Convert's controls moved: the clipping, colour layers, crop and folder are under All negatives; Rotate and Crop on the screen are beside the picture; Convert / Show the negative again became As shot / Positive.
  • Move is the tool picked at first: a click on the picture draws nothing until Film base, Frame or Greys is picked.
  • The Soft / Standard / Hard contrast buttons are gone; the Contrast slider stays.
  • Keyboard shortcuts now work in Convert (before, only ? did).
The Convert tab is laid out again so that a roll can be converted without hunting for controls. The picture takes most of the window, with its tools beside it; the negatives run in a strip of thumbnails under it; the panel on the right has two tabs, one for the negative shown and one for what serves every negative. Every control says what it does, and its key, as soon as it is pointed at. Settings can be copied from one negative to others, rotation included, and the frame can be kept to a film format's shape. Closes #56 ## How it works - **Layout.** Picture in the middle; beside it, Move, Film base, Frame, Greys, Pick a grey, the two turns and the crop, as icons; under it, one line saying what a click does, the frame's shape while drawing frames, and the zoom. The negatives are a strip of thumbnails at the bottom, marked converted, adjusted or saved (the saved mark goes once something changes after the save). - **Panel.** Two tabs. *This negative*: As shot / Positive, a reset-all, a histogram of the frame with the share clipped to black and white, the warnings, then Tone, Colour, Curves and Details in groups that fold, keep their state, and say how many of their values are changed. *All negatives*: what is drawn, the colour layers, the clipping, the folder. Copy and Save stay under both. - **Copy settings.** A dialog: tick tone, colour, curves, rotation, frame (each shown with its value), then the negatives selected or every other one. The ticks are kept for next time. - **Frame shape.** Free, 3:2 (35mm, 6 × 9), 1:1 (6 × 6), 4:3 (6 × 4.5), 5:4 (6 × 7) or 35mm panoramic, from the formats the scanner already knows. Drawing, edges and corners keep it; a frame already drawn becomes the largest of the new shape inside it. - **Selection** as in a file manager: Ctrl-click, Shift-click, Ctrl+A, Esc. - **Keys** in Convert: Left/Right go through the negatives, Y converts, C crops, B held shows the negative as shot, S saves, H/1/2/3 pick the tools, G picks a grey, [ ] turn, + - 0 zoom. `?` lists the keys of the view shown. - **Tooltips** replace every `title` in the app: shown at once on hover or keyboard focus, beside the control and away from the sliders, hidden by a press, a drag or a scroll. - **Density.** 12 and 11 px type in Convert, controls of 22 to 28 px, number fields without arrows, small checkboxes, flat buttons; the explanations moved from paragraphs into the tooltips. Scan is unchanged. - The zoom of the Scan view became a small function both views use; nothing changes in Scan. Before, one negative converted, 1600 × 1000 (from the issue): ![Before](https://forgejo.eliottbidault.fr/attachments/5a4b2286-1f63-4e8b-aea5-1f33ddaa49d4) After, the same size: ![After](https://forgejo.eliottbidault.fr/RollNote/rollscan/raw/branch/feat/56-convert-layout/docs/images/app-convert.png) ## Tested - `cargo test`: 320 passed. `cargo fmt --check` and `cargo clippy --all-targets` clean. Website build passes. - In a headless browser (WebKit) against the app, at 1600 × 1000 and 1280 × 800, with six RAW files of a black-and-white roll shot on the Fujifilm X-T5: converting, drawing the base and the frame, the frame's shape (1:1 drawn square; 3:2 kept through an edge and a corner), sliders, curves, turns, crop, holding B, copying adjustments and rotation to five negatives, Ctrl/Shift-click selection, Ctrl+A and Esc, the tooltips, the histogram after a dialog and a resize. - The picture of a converted negative is 765 px tall at 1600 × 1000 (640 before) and 565 px at 1280 × 800; at 1280 × 800 the whole Tone group and most of Colour are in view without scrolling. - Earlier builds of this branch, installed as the AppImage and used on Linux while the layout was shaped; the last build not tried there yet. ## Not tested - A whole roll converted before and after, timed and counted in clicks. - Colour negatives: only six black-and-white negatives were used. - Saving TIFFs from this branch. - Windows and macOS windows; Linux only. ## Changes in behaviour - Convert's controls moved: the clipping, colour layers, crop and folder are under *All negatives*; Rotate and Crop on the screen are beside the picture; **Convert** / **Show the negative again** became **As shot** / **Positive**. - Move is the tool picked at first: a click on the picture draws nothing until Film base, Frame or Greys is picked. - The Soft / Standard / Hard contrast buttons are gone; the Contrast slider stays. - Keyboard shortcuts now work in Convert (before, only `?` did).
- The picture takes the middle, with its tools beside it (Move, film base, frame, greys,
  pick a grey, turns, crop) and a line under it saying what a click does.
- The negatives run in a strip of thumbnails, marked converted, adjusted or saved;
  Ctrl-click and Shift-click select them as in a file manager.
- The panel has two tabs: the negative shown (as shot or positive, histogram, tone,
  colour, curves, details, in groups that fold) and all negatives (what is drawn, the
  colour layers, the clipping, the folder).
- Copy settings to others: tone, colour, curves, rotation, frame, to the negatives
  selected or every other one.
- The frame can be kept to a film format's shape: 3:2, 1:1, 4:3, 5:4, panoramic.
- Hold B to see the negative as shot; keys to go through the negatives, convert, crop,
  turn, save and pick the tools.
- Tooltips show at once on every control; 12 px type and controls of 22 to 28 px.

Part of #56
- negative-conversion.md walks through the new tab, the copy and the frame's shape.
- using-the-app.md: what is where in Convert, and its keyboard shortcuts.
- New screenshots of the three pictures of Convert.
docs(app): new screenshots of the Convert tab
All checks were successful
app / linux (pull_request) Successful in 5m51s
app / windows (pull_request) Successful in 2m52s
parity / parity (pull_request) Successful in 6m52s
website / build (pull_request) Successful in 40s
0ce91cda21
eliott merged commit 5d5941296b into main 2026-11-22 20:17:46 +01:00
eliott deleted branch feat/56-convert-layout 2026-11-22 20:17:46 +01:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
RollNote/rollscan!58
No description provided.