Yesterday I installed Deepin 20 and whenever I press (shift) to sneak, it always throws me out of the full screen and I'm then sent to the desktop. Can you fix it somehow, because if I use Gnome or Phanteon I have the problem because net. I have the same problem with my Lenovo laptop, and I don't know if it can be fixed. I don't have that with other games, I just wanted to gamble in 1.8 PVP.
Look in the Minecraft settings under controls as you can set what is controlled by which button.
Since just look after everything that has shift as a setting and then set the "switch off full screen" to another button.