During a recent “Rocket.Chat” update (happens for me since ~3.8.15) my title-bar was gone in gnome under wayland using fedora 37. a quick search resulted in this reddit post. there is suggested to add these features to the rocket.chat startup file:

--enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform=wayland

together with my earlier post to make the desktop share work we end up in this command line addition to the normal flatpak command line:

--enable-features=WebRTCPipeWireCapturer,UseOzonePlatform,WaylandWindowDecorations --ozone-platform=wayland

for convenience i copy / pasted my instructions for the complete setup process from my earlier post here (thank me later future me, that is copy pasting this into his freshly installed fedora):

find your currently used .desktop file for rocket chat. mine was at /var/lib/flatpak/exports/share/applications/chat.rocket.RocketChat.desktop and copy it to your users local applications dir:

# cp /var/lib/flatpak/exports/share/applications/chat.rocket.RocketChat.desktop ~/.local/share/applications

fire up an editor of your choice with the freshly created file (which takes precendence over the default one):

# nano ~/.local/share/applications/chat.rocket.RocketChat.desktop

and chat the executable line to:

Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --file-forwarding chat.rocket.RocketChat @@u %U @@ --command=/app/bin/rocketchat-desktop --enable-features=WebRTCPipeWireCapturer,UseOzonePlatform,WaylandWindowDecorations --ozone-platform=wayland