After re-reading your comments, I realize that we're actually talking about slightly different things, and neither of us is being specific.
Professional graphics software is designed to work with data that is linear. This requires professional operators who maintain a carefully calibrated set of input devices and output devices. All image files that come from film or digital sources must be converted to pure linear, and only processed in linear, then converted with the gamma of the output device. In this world, 2.2 is only used when sending linear data to a CRT. A different gamma would be used for printing, but again the assumption is that everything starts with linear data in the files.
The professional world used to be the end of the story. With the explosion of the web, more non-professionals were creating image content. More importantly, the vast majority of viewers were looking at the web on monitors that were never calibrated, using an operating system (Windows) which did not have professional color management abilities. Unfortunately, the result of this is that the standard practice became to author image files with the gamma of the monitor built in, thus minimizing the errors.
So, you actually have two standards. Linear data is expected by professional software, and is used by professionals at all stages of their work flow for source images. Non-linear data is used for image files that are intended for web distribution. Thus, we're both right, because there are really two standards.
The problem is that you cannot expect to grab an image file off the web and be able to scale it in professional imaging software without accounting for the built-in gamma used for web distribution.
One happy advancement in the industry is that now images can carry around a description of their linear or non-linear status. What should happen in these cases is that image editing software should use the supplied color management tags to convert the image to linear format before any scaling is done. Theoretically, this should solve the problem of not knowing whether the image file is a professional source image (linear) or one intended for web distribution (non-linear).
I fully understand the science that you're trying to explain, as I developed commercial monitor calibration software for NEXTSTEP, the precursor to Mac OS X. The only place we disagree is whether the file "should" be linear. The answer is that it depends upon whether you're talking about files for editing or files for distribution. As I explained above, the graphics software that is being criticized is not designed to edit files authored for distribution - at least not unless they're tagged properly with their embedded gamma.