@DjDiabolik

You may also like this solution (autohiding the top-panel) :
https://fostips.com/auto-hide-top-panel-debian-ubuntu-fedora/
I used it for my VM.

Sadly, I run into a lot more issues with Ubuntu 22.04 :
my post about issues with Ubuntu 22.04