Print preview shows GUI elements

Description

When clicking the button Print Thread, a print preview window pops up. This window displays some GUI elements that shouldn’t be there.

  1. The find-in-thread bar shows in the print preview, i.e., the bar that appears when pressing CTRL+F in a message.
  2. The send-reminder-header shows in the print preview. This is the case for messages that resurfaced in the inbox after the reminder triggered. The header for reminders that are yet to be triggered is different and does not show in a print preview.

Expected Behavior

These are GUI elements and shouldn’t appear in the print preview.

Screenshots

Setup

  • OS and Version: Ubuntu 20.04
  • Mailspring Version: 1.7.8

(Originally posted by asparc on GitHub.)