Skip to content

ExifTool section: a Key tab, category tabs, a filter, and honest calculated values - #306

Merged
charpy4n6 merged 3 commits into
mainfrom
feat/exiftool-usability
Oct 21, 2026
Merged

charpy4n6 merged 3 commits into
mainfrom
feat/exiftool-usability

Conversation

@charpy4n6

Copy link
Copy Markdown
Collaborator

Follow-up to #304. It makes the ExifTool metadata easier to read, and stops presenting ExifTool's calculated values as if the file stored them.

What changes

The details-pane Metadata (ExifTool) section went from nested collapsible groups to:

  • A filter box. It searches every field by name or value across all tabs at once, and tags each hit with its tab.
  • A Key tab, first, in plain words: Camera, Lens, Taken (with its time offset), Software, Serial, GPS, Altitude, Artist and Copyright, showing whichever the file has. Only stored values are used, never a calculated one.
  • One tab per category the file has: EXIF, GPS, Maker, XMP, IPTC, Video, Calc, File, Other. Each is a flat table, with ExifTool's exact group on hover and the category's meaning on the tab's hover. The last tab used is remembered.

Honest calculated values. ExifTool's Composite values are worked out from other fields and aren't in the file:

  • They now always sit in their own category, Calculated by ExifTool (not in the file). Before, a Composite GPSPosition was filed under GPS next to the stored GPS fields.
  • In the pane, the Calc tab says so and shows them in italics. The report and the export menu use the same category name.

Smaller changes:

  • Category headings in the HTML report and the export menu explain what they hold on hover.
  • The "not available" message says how to get ExifTool.

How to try it

  1. Build with ExifTool bundled: GLEAPP_EXIFTOOL_DIR=<folder holding exiftool.exe and exiftool_files>, then python packaging/build.py exe. Or have exiftool on PATH.
  2. Open a photo with camera EXIF and GPS, then expand Metadata (ExifTool) in the details pane.
  3. Check the Key tab, switch tabs, try the Calc tab, and type serial in the filter.

One decision needed

Should release builds include ExifTool? Today they don't: the spec bundles it only when GLEAPP_EXIFTOOL_DIR is set, and the release workflow doesn't set it. So as things stand, most users see "ExifTool is not available" unless they install ExifTool themselves.

Bundling would add about 35 MB unpacked (Windows package with Strawberry Perl, GPL v3 and Perl license texts included), plus a second executable inside the signed single-file build. This PR doesn't change bundling either way.

Testing

  • tests/test_exiftool_metadata.py: Composite is always its own category; every category has help text; highlights are stored fields only, in a fixed order; the report shows 8 category sections and the new Composite name.
  • Checked in the browser on a synthetic Canon photo with full EXIF and GPS: the Key rows, tab switching, the Calc note with italics, and the filter tagging hits by tab and restoring the tab when cleared. One fix came from that: "Canon Canon EOS…" now reads "Canon EOS…".
  • Full suite: 1,080 passed locally on Windows, excluding one test that needs symlink privileges this machine lacks.
  • Lint: no new warnings. Line endings: LF.

Docs: MANUAL §6 and the in-app help.

🤖 Generated with Claude Code

charpy4n6 and others added 3 commits October 21, 2026 14:06
…bels

- Highlights at the top of the details-pane section: the stored fields
  examiners look for first (make, model, lens, original date and offset,
  software, serial numbers, GPS). A Composite value is never a highlight.
- "Filter fields" narrows every category to fields whose name or value
  matches, opening the sections that hold a match.
- ExifTool's calculated (Composite) values now always sit in their own
  category, renamed "Calculated by ExifTool (not in the file)", instead of
  Composite GPS fields being filed under GPS beside the stored ones; each
  such row says so on hover.
- Every category heading, in the pane, the report and the export menu,
  explains what it holds on hover.
- The "not available" message says how to get ExifTool.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The details-pane section now opens on a "Key" tab: camera, lens, taken
(with its offset), software, serial number, GPS, altitude, artist and
copyright in plain words, as stored in the file. One tab per category
present follows (EXIF, GPS, Maker, XMP, IPTC, Video, Calc, File, Other),
each a flat table, with ExifTool's group on hover. The filter searches
every tab at once and tags each hit with its tab; clearing it returns to
the tab you were on, which is remembered for the next file. The Calc tab
says its values are calculated, not stored, and shows them in italics.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@charpy4n6
charpy4n6 merged commit bc1db6a into main Oct 21, 2026
8 checks passed
@charpy4n6
charpy4n6 deleted the feat/exiftool-usability branch October 21, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant