OK thanks for this, bug reported [at least, I think it is. I
couldn't see it on trac].
No
Here is a workaround. It's not ideal, but does work.sage: sage: solve((sin(x)+cos(x)==cos(2*x)).trig_expand(),x,to_poly_solve=True)[sin(x) == cos(x) - 1, x == -1/4*pi + 2*pi*z571, x == 3/4*pi + 2*pi*z569]