You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(notifications,wayland): GNOME workaround for #2411, restore ozone x11 default (#2547)
* docs(notifications,wayland): GNOME workaround for #2411, restore ozone x11 default
Documents the GNOME notification-disappearance workaround confirmed on #2411 (notificationMethod electron plus timeoutType never), and corrects four references that claimed the shipped ozone-platform default is auto. package.json lines 102 and 146 still ship --ozone-platform=x11 on every Linux packaging format; PR #2506 is the queued migration to auto and has not landed yet.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* docs: address Gemini feedback on PR #2547
Switch "centre" to "center" to match the existing American-English
convention in the docs, and drop a redundant "X11 remains the default"
clause from the Wayland admonition.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs-site/docs/configuration.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -718,7 +718,7 @@ The configuration file can include Electron CLI flags that will be added when th
718
718
> For options that require a value, provide them as an array where the first element is the flag and the second is its value. If no value is needed, you can use a simple string.
719
719
720
720
> [!WARNING]
721
-
> The `ozone-platform` flag **cannot** be set via `electronCLIFlags` because it must be applied before the Electron process starts (before any JavaScript executes). The default is `--ozone-platform=auto`, which lets Chromium pick the backend based on the session. To force a specific backend, pass`--ozone-platform=x11` or`--ozone-platform=wayland` as a command-line argument when launching the app, or edit the `Exec=` line in your `.desktop` file. See [Troubleshooting: Wayland / Display Issues](troubleshooting.md#wayland--display-issues) for details.
721
+
> The `ozone-platform` flag **cannot** be set via `electronCLIFlags` because it must be applied before the Electron process starts (before any JavaScript executes). The current default is `--ozone-platform=x11` on all Linux packaging formats. To force a different backend, pass `--ozone-platform=wayland` as a command-line argument when launching the app, or edit the `Exec=` line in your `.desktop` file. See [Troubleshooting: Wayland / Display Issues](troubleshooting.md#wayland--display-issues) for details.
Copy file name to clipboardExpand all lines: docs-site/docs/troubleshooting.md
+28-3Lines changed: 28 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -325,10 +325,35 @@ Since v2.7.13, report-only CSP headers are automatically stripped for all non-Te
325
325
326
326
---
327
327
328
+
#### Issue: Notifications disappear from the notification center on GNOME
329
+
330
+
**Description:** On GNOME (and some other desktops), system notifications vanish from the notification center when Teams's in-page purple toast times out, before the user has had a chance to read them. The tray badge counter can also clear at the same time.
331
+
332
+
**Potential Causes:**
333
+
334
+
* On the default `web` notification method, Teams's in-page code calls `notification.close()` when its own toast times out. That call propagates through Chromium's DOM `Notification` API to libnotify, which then dismisses the system notification.
335
+
336
+
**Solutions/Workarounds:**
337
+
338
+
1. Switch to the `electron` notification method, which keeps the system notification independent of Teams's in-page lifecycle. Optionally also set `notifications.timeoutType: "never"` so notifications persist until you dismiss them:
339
+
340
+
```json
341
+
{
342
+
"notificationMethod": "electron",
343
+
"notifications": { "timeoutType": "never" }
344
+
}
345
+
```
346
+
347
+
Known caveat: on the `electron` path, notifications currently render without the sender avatar. The `web` path gets Chromium to fetch the icon URL automatically; the `electron` path expects a data URL. This is tracked as a follow-up.
Teams for Linux launches with `--ozone-platform=auto` by default on all Linux packaging formats, letting Chromium pick the best backend for your session (Wayland on a Wayland session, X11 otherwise). If you hit Wayland-specific regressions, you can override this on the command line or in your `.desktop` file with `--ozone-platform=x11`.
356
+
Teams for Linux currently launches with `--ozone-platform=x11` by default on all Linux packaging formats. If you are on a Wayland session and want native Wayland, override on the command line or in your `.desktop` file with `--ozone-platform=wayland`. (A switch to `--ozone-platform=auto` is queued via [PR #2506](https://github.com/IsmaelMartinez/teams-for-linux/pull/2506).)
332
357
:::
333
358
334
359
#### Issue: Blank or black window on Wayland
@@ -341,7 +366,7 @@ Teams for Linux launches with `--ozone-platform=auto` by default on all Linux pa
341
366
```bash
342
367
teams-for-linux --ozone-platform=x11
343
368
```
344
-
2. **Edit your `.desktop` file** to make the override permanent — replace `--ozone-platform=auto` with `--ozone-platform=x11` in the `Exec=` line.
369
+
2. **Confirm the default sticks:** `--ozone-platform=x11` is the shipped default. If you have previously edited your `.desktop` file, ensure the `Exec=` line still includes `--ozone-platform=x11`.
0 commit comments