Skip to content

fix: enable GlobalShortcutsPortalPreferredTrigger by default on Linux - #52228

Merged
jkleinsc merged 1 commit into
43-x-yfrom
trop/43-x-y-bp-fix-enable-globalshortcutsportalpreferredtrigger-by-default-on-linux-1782966860144
Jul 15, 2026
Merged

jkleinsc merged 1 commit into
43-x-yfrom
trop/43-x-y-bp-fix-enable-globalshortcutsportalpreferredtrigger-by-default-on-linux-1782966860144

Conversation

@trop

@trop trop Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Backport of #52221

See that PR for details.

Notes: Fixed globalShortcut not working on GNOME Wayland by enabling Chromium's GlobalShortcutsPortalPreferredTrigger feature by default on Linux.

Chromium gates the GlobalShortcuts portal off on GNOME behind this
feature, which makes globalShortcut a silent no-op on GNOME Wayland
unless apps discover and pass a Chromium feature flag. Enable it by
default; GNOME still consent-gates the first bind, and a user-passed
--disable-features=GlobalShortcutsPortalPreferredTrigger takes
precedence.

Co-authored-by: Keeley Hammond <[email protected]>
@trop
trop Bot requested a review from VerteDinde July 2, 2026 04:34
@trop trop Bot added 43-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Jul 2, 2026
@jkleinsc
jkleinsc merged commit edf129f into 43-x-y Jul 15, 2026
81 checks passed
@jkleinsc
jkleinsc deleted the trop/43-x-y-bp-fix-enable-globalshortcutsportalpreferredtrigger-by-default-on-linux-1782966860144 branch July 15, 2026 17:54
@release-clerk

release-clerk Bot commented Jul 15, 2026

Copy link
Copy Markdown

Release Notes Persisted

Fixed globalShortcut not working on GNOME Wayland by enabling Chromium's GlobalShortcutsPortalPreferredTrigger feature by default on Linux.

renovate Bot added a commit to cigaleapp/cigale that referenced this pull request Aug 2, 2026
##### [v43.2.0](https://github.com/electron/electron/releases/tag/v43.2.0)

### Release Notes for v43.2.0

#### Features

- Added `net.WebSocket`, a WHATWG-compatible WebSocket client for the main process that routes through Chromium's network stack. [#52344](electron/electron#52344) <sup>(Also in [42](https://github.com/electron/electron/pull/52345))</sup>

#### Fixes

- Fixed `app.disableHardwareAcceleration()` not fully disabling GPU hardware usage on Windows starting from Electron 38. [#52369](electron/electron#52369) <sup>(Also in [41](electron/electron#52368), [42](electron/electron#52371), [44](https://github.com/electron/electron/pull/52370))</sup>
- Fixed `globalShortcut` not working on GNOME Wayland by enabling Chromium's `GlobalShortcutsPortalPreferredTrigger` feature by default on Linux. [#52228](electron/electron#52228)
- Fixed a crash when showing Linux message boxes while another Linux UI implementation was active. [#52410](electron/electron#52410) <sup>(Also in [42](electron/electron#52408), [44](https://github.com/electron/electron/pull/52409))</sup>
- Fixed a window being marked hidden and background-throttled on macOS when covered by a transparent or click-through window. [#52389](electron/electron#52389) <sup>(Also in [44](https://github.com/electron/electron/pull/52391))</sup>
- Fixed unnecessary autofill popup creation for fields without datalist suggestions, which could cause input latency on macOS. [#52321](electron/electron#52321) <sup>(Also in [41](electron/electron#52320), [42](electron/electron#52319), [44](https://github.com/electron/electron/pull/52318))</sup>
- Fixed webContents.print() returning "Invalid printer settings" when print options are provided. [#52381](electron/electron#52381) <sup>(Also in [44](https://github.com/electron/electron/pull/52382))</sup>

#### Other Changes

- Updated Chromium to 150.0.7871.129. [#52355](electron/electron#52355)
renovate Bot added a commit to cigaleapp/cigale that referenced this pull request Aug 3, 2026
##### [v43.2.0](https://github.com/electron/electron/releases/tag/v43.2.0)

### Release Notes for v43.2.0

#### Features

- Added `net.WebSocket`, a WHATWG-compatible WebSocket client for the main process that routes through Chromium's network stack. [#52344](electron/electron#52344) <sup>(Also in [42](https://github.com/electron/electron/pull/52345))</sup>

#### Fixes

- Fixed `app.disableHardwareAcceleration()` not fully disabling GPU hardware usage on Windows starting from Electron 38. [#52369](electron/electron#52369) <sup>(Also in [41](electron/electron#52368), [42](electron/electron#52371), [44](https://github.com/electron/electron/pull/52370))</sup>
- Fixed `globalShortcut` not working on GNOME Wayland by enabling Chromium's `GlobalShortcutsPortalPreferredTrigger` feature by default on Linux. [#52228](electron/electron#52228)
- Fixed a crash when showing Linux message boxes while another Linux UI implementation was active. [#52410](electron/electron#52410) <sup>(Also in [42](electron/electron#52408), [44](https://github.com/electron/electron/pull/52409))</sup>
- Fixed a window being marked hidden and background-throttled on macOS when covered by a transparent or click-through window. [#52389](electron/electron#52389) <sup>(Also in [44](https://github.com/electron/electron/pull/52391))</sup>
- Fixed unnecessary autofill popup creation for fields without datalist suggestions, which could cause input latency on macOS. [#52321](electron/electron#52321) <sup>(Also in [41](electron/electron#52320), [42](electron/electron#52319), [44](https://github.com/electron/electron/pull/52318))</sup>
- Fixed webContents.print() returning "Invalid printer settings" when print options are provided. [#52381](electron/electron#52381) <sup>(Also in [44](https://github.com/electron/electron/pull/52382))</sup>

#### Other Changes

- Updated Chromium to 150.0.7871.129. [#52355](electron/electron#52355)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

43-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes

Projects

No open projects
Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant