Interestingly, doing the same with Sublime Text leads to the same
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-shell in Ubuntu.
System freeze when going back and forth fullscreen mode with Firefox
To manage notifications about this bug go to:
desktop-bugs mailing list