Windows XP Web View Sidebar File Details Explained
In Windows XP, the Windows Explorer interface replaced traditional static file listings with an interactive dynamic pane commonly referred to as Common Tasks or Web View. This article explores the mechanics behind this sidebar, explaining how Windows XP extracted file metadata, utilized web technologies to render visual previews, and dynamically adapted the displayed details based on user selection.
The Underlying Technology
The Web View sidebar was powered by Microsoft’s Trident layout
engine, the same core engine used by Internet Explorer. Explorer windows
relied on Hypertext Template (.htt) files, dynamic HTML,
CSS, and JScript to generate the user interface. When browsing a folder,
Explorer integrated shell namespace COM objects with the Trident engine,
allowing the sidebar to communicate directly with the Windows shell to
fetch and render system data in real time.
The "Details" Section Architecture
The sidebar organized information into collapsible sections, with the lowest section specifically designated as "Details." The contents of this section changed instantly according to what the user clicked:
- No Selection: When no individual file was selected, the pane displayed information about the current folder or drive, including the folder name, file system type, and available free disk space.
- Single File Selection: Selecting a single item populated the Details section with the file name, file type, last modification date, and file size.
- Multiple File Selection: When a user selected multiple items, the sidebar aggregated the data, displaying the total count of selected items and their cumulative file size.
Metadata Extraction and Shell Properties
Windows XP extracted specialized file metadata beyond standard file
system attributes (date, time, and size). Using shell extensions and
property handlers (IPropertySetStorage and
IQueryInfo), the operating system read the internal headers
of recognized file formats:
- Images (JPEG, PNG, BMP): The sidebar displayed image dimensions (in pixels) and camera metadata (EXIF data) such as the date taken.
- Audio and Video (MP3, WMA, WMV): The pane extracted ID3 and media tags, revealing artist names, album titles, track durations, and bitrates.
- Documents (DOC, XLS, TXT): Author names, page counts, and title attributes embedded within document properties were parsed and presented.
Graphical Previews and Thumbnails
For supported media types, the Web View pane rendered an inline
visual preview directly above the text details. For graphic files, the
shell invoked the IExtractImage interface to generate a
cached thumbnail preview. For video and audio, it provided basic media
controls or file icons, allowing users to verify file contents without
opening a dedicated application.