I have a kubuntu 18.04. It works fine on the laptop. However, when the external monitor is connected the windows on the main laptop screen extend to the full screen and, on the bottom, go under the task-bar.
For example, they go from this:
Is there any way to fix this?