# [NTG-context] background problem with layers

Tue Jul 23 16:51:37 CEST 2019

On Mon, 22 Jul 2019, Wolfgang Schuster wrote:

> Peter Rolf schrieb am 22.07.2019 um 13:32:
>> Hi,
>>
>> I have a problem with a not printed color background when using layers.
>> Small test file is attached.
> Below is a simpler example of your problem.
>
> The frame disappears when you repeat the layer which change how the content
> if flushed, in the example below you can test it by changing \box\scratchbox
> to \copy\scratchbox.
>
> \starttext
>
> \setbox\scratchbox\hbox{\frule width 6cm height 4cm \relax}
>
> \dontleavehmode
> \box\scratchbox % works
> %\copy\scratchbox % fails
>
> \stoptext

Is this a bug or is this a documented limitation of \copy and \frule?