Unfortunately, from the view of interectual property, codes/patches generated by AIs has too many unclear zones to use publicly.With the help of ChatGPT, I was able to get rid of this problem. It wrote patches for the plasma6-kwin port, and now if I start hopping between TTYs while the plasma wayland DE is running, I will be able to return to the DE's TTY and the DE will remain visible.
(Using only in home and single organization internals "could" be OK, though, but it's just MY current understanding and non official).
Using AI to determine where the root cause of the problem exists "could" be OK (again, just "MY current" understanding), but coding fixes should be better done purely by "actual human being" until the IP issues become clear and allowed by international law.