Draft: Issue #7270: Warn about no transparency in JPEGs on export
This is an attempt to solve issue #7270, and to avoid confusion for people who don't know that JPEGs lack transparency. If the layer has an alpha channel, a warning label is added to the export dialogue informing the user that the transparency will be lost.
The feature request also recommended providing options for the color used to replace the alpha channel. This was previously discussed for transparent PDFs and seems to have been decided against; I'm not sure if the same would be true for JPEGs.
On IRC, @barefootliam also suggested a checkbox to use the background color to replace transparency (with the warning as a tooltip). After thinking about it more, my concern was that users might think "Oh, if I don't click the checkbox then it will export with transparency!".
Feedback and suggestions welcome!