View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0023631||mantisbt||printing||public||2017-11-13 08:57||2019-04-17 12:47|
|Summary||0023631: Wrong status color when printing|
The status square is always black when printing.
|Tags||No tags attached.|
From my point of view, this problem occurs when the selected printer is black and white.
I don't hink so. At least the avatars are colored.
Yes, the status colors are black even with a color printer and Print to PDF in Chrome. As @atrol mentioned, the avatars are just fine. Needs a fix since 2.5!
The problem is caused by bootstrap, which forces black color for print media.
We would need to override that somehow. I'm not a CSS expert though, so not sure what the best approach would be. Since the CSS is generated dynamically, this would probably have to be done in css/status_config.php, but currently that is loaded before bootstrap so that might have to be changed.
I made some tests which lead me to think that this should be possible, but I'm confused with the results. Maybe someone more qualified than me with CSS can shed some light.
In print preview, this causes all status boxes to show in green. So far, so good. BUT:
Shows the boxes with faded colors unrelated to the defined RGB values for MantisBT status colors !
|2017-11-13 08:57||atrol||New Issue|
|2017-11-13 08:57||atrol||File Added: print-status-colors.PNG|
|2017-11-14 05:18||lexlogos||Note Added: 0058195|
|2017-11-14 07:16||atrol||File Added: PrintMyView.PNG|
|2017-11-14 07:16||atrol||Note Added: 0058196|
|2019-04-17 09:43||stevecharon||Note Added: 0061947|
|2019-04-17 10:59||dregad||Status||new => confirmed|
|2019-04-17 10:59||dregad||Note Added: 0061948|
|2019-04-17 12:42||dregad||Note Added: 0061949|
|2019-04-17 12:47||dregad||Note Edited: 0061949||View Revisions|