style applying in darkroom mode discards current changes
I think it's better to explain this bug using example.
Let's say there's some style which enables vibrance plugin. So I import some picture and open it in darkroom mode. I enable vignetting plugin and switch to another picture using filmstrip (or switch to lighttable). Then I go back to this picture and enable raw denoise plugin. Now I have 2 plugins in history stack - vignetting (which was there already when I opened this picture in darkroom mode this time) and raw denoise (which is my current change). Now I apply my style. Resulting history stack is vignetting and vibrance, raw denoise got deleted, which is of course very bad.
I'm using git master.