Problem: 1615635

Title: (Printing) Disable checkbox, radio button & popup aren't printed

Received: Dec 27 1996 10:10AM


I've found a problem with printing in MacApp 3.3.2 (System 7.5.5 LaserWriter 8.4.1). I was able to reproduce this in the DemoDialogs Example.

I edited only some views in it: disabled and dimmed a checkbox, a radiobutton and a Popup for the Views by Template window. If I print this Window, in color/grayscale, the disabled items don't show up on the printout.

Select Dialogs Menu-> Views by Template, next select print.


Fix:

The problem exists on both GX printing and non-GX installation. The gray text isn't printed. Only square frame of checkbox, circle frame of radio button and rectangle frame of popup menu are printed. To reproduce the bug:

The cause of the problem is that the toolbox uses grayishTextOr as the transfer mode for dimmed items now. To fix it I check for gprinting when drawing toolbox controls and then draw them undimmed and apply standard TControl::Dim to dim them.
Files affected:
UView.cp/.h
UControl.cp/.h
// HOWEVER, controls are often drawn dimmed with grayisTextOR and I quote from IM Text on TextMode:
// "The grayishTextOr transfer mode draws dimmed text on the screen. You can use it for black-and-white
// or color graphics ports. The grayishTextOr transfer mode is not considered a standard transfer mode
// because currently it is not stored in pictures, and printing with it is undefined. (It does not pass
// through the QuickDraw bottleneck routines.)"