Slow context menu on Linux

Steps to reproduce

Click the right mouse button when hovering with the cursor over a word in an open tab. (selected or not)

Expected result

Opens the context menu in non-notable time (<100ms maybe?)

Actual result

It takes about 1-2 seconds to show the context menu.
My System is quite fast otherwise and I don’t have any other performance issues in Obsidian.

Environment

SYSTEM INFO:
	Obsidian version: v1.7.7
	Installer version: v1.7.7
	Operating system: #1 SMP PREEMPT_DYNAMIC Sun Oct 20 15:04:22 UTC 2024 6.11.4-201.fc40.x86_64
	Login status: not logged in
	Language: en
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 3
	Plugins enabled: 3
		1: Remotely Save v0.5.24
		2: Footnote Shortcut v0.1.3
		3: PDF++ v0.40.13

RECOMMENDATIONS:
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Installed via Flatpak 1.15.10
md.obsidian.Obsidian 1.7.7 stable flathub system

Additional information

My vault contains not only markdowns but also a few PDF files
#files: 54
size on disk: 442M

Did you try the snap or appimage as asked in bug report template?

Did you try the sandbox vault as asked in bug report template?

Regarding snap: I would like to have it working in Flatpak, I would not get snap or appimage just for Obsidian.

restikted mode: sorry yes, I missed that part: it works smoothly with the sandbox vault.

ok, have you tried you own vault with restricted mode on and default theme and restart obsidian?

Yes, I tried now also with restricted mode for my own vault, restarted obsidian and the issue persists

I’m through my fourth Linux installs these last couple of months and it never crossed my mind to use Flatpak. Debian first and if I cannot install that (Arch Linux), Appimage. Never seen UI problems of the sort.