diff --git a/apps/app-frontend/src/App.vue b/apps/app-frontend/src/App.vue
index b8ff688b7c..658480c978 100644
--- a/apps/app-frontend/src/App.vue
+++ b/apps/app-frontend/src/App.vue
@@ -214,7 +214,6 @@ window.addEventListener('online', () => {
})
const showOnboarding = ref(false)
-const nativeDecorations = ref(false)
const os = ref('')
const isDevEnvironment = ref(false)
@@ -330,8 +329,9 @@ async function setupApp() {
const version = await getVersion()
showOnboarding.value = !onboarded
- nativeDecorations.value = native_decorations
- if (os.value !== 'MacOS') await getCurrentWindow().setDecorations(native_decorations)
+ if (os.value !== 'MacOS' && os.value !== 'Linux') {
+ await getCurrentWindow().setDecorations(native_decorations)
+ }
themeStore.setThemeState(theme)
themeStore.collapsedNavigation = collapsed_navigation
diff --git a/apps/app-frontend/src/components/ui/WindowControls.vue b/apps/app-frontend/src/components/ui/WindowControls.vue
index a674e7970f..ce73e525c9 100644
--- a/apps/app-frontend/src/components/ui/WindowControls.vue
+++ b/apps/app-frontend/src/components/ui/WindowControls.vue
@@ -51,7 +51,7 @@ const alwaysShowAppControls = computed(() => themeStore.getFeatureFlag('always_s
const showControls = computed(
() =>
alwaysShowAppControls.value ||
- (!nativeDecorations.value && (os.value === 'Windows' || os.value === 'Linux')),
+ (!nativeDecorations.value && os.value !== 'MacOS' && os.value !== 'Linux'),
)
onMounted(async () => {
@@ -60,7 +60,7 @@ onMounted(async () => {
const settings = await getSettings()
nativeDecorations.value = settings.native_decorations
- if (os.value !== 'MacOS') {
+ if (os.value !== 'MacOS' && os.value !== 'Linux') {
await getCurrentWindow().setDecorations(nativeDecorations.value)
}
diff --git a/apps/app-frontend/src/components/ui/settings/AppearanceSettings.vue b/apps/app-frontend/src/components/ui/settings/AppearanceSettings.vue
index 1b28db2867..e75632e4b5 100644
--- a/apps/app-frontend/src/components/ui/settings/AppearanceSettings.vue
+++ b/apps/app-frontend/src/components/ui/settings/AppearanceSettings.vue
@@ -163,7 +163,7 @@ watch(