Skip to content

fix: use app name as a part of tray id on Linux - #48675

Merged
ckerr merged 9 commits into
electron:mainfrom
Damglador:main
Nov 3, 2025
Merged

ckerr merged 9 commits into
electron:mainfrom
Damglador:main

Conversation

@Damglador

@Damglador Damglador commented Oct 27, 2025 •

Copy link
Copy Markdown
Contributor

Description of Change

Sets org.freedesktop.StatusNotifierItem.Id of tray icons to the name of the app + _status_icon_ + counter instead of chrome_status_icon_ + counter.

Closes #40936

Relevant issue on KDE Plasma https://bugs.kde.org/show_bug.cgi?id=470840

Checklist

Release Notes

Notes: Fixed ID of tray icons on Linux

@Damglador
Damglador requested a review from a team as a code owner October 27, 2025 15:40
@welcome

welcome Bot commented Oct 27, 2025

Copy link
Copy Markdown

💖 Thanks for opening this pull request! 💖

Semantic PR titles

We use semantic commit messages to streamline the release process. Before your pull request can be merged, you should update your pull request title to start with a semantic prefix.

Examples of commit messages with semantic prefixes:

  • fix: don't overwrite prevent_default if default wasn't prevented
  • feat: add app.isPackaged() method
  • docs: app.isDefaultProtocolClient is now available on Linux

Commit signing

This repo enforces commit signatures for all incoming PRs.
To sign your commits, see GitHub's documentation on Telling Git about your signing key.

PR tips

Things that will help get your PR across the finish line:

  • Follow the JavaScript, C++, and Python coding style.
  • Run npm run lint locally to catch formatting errors earlier.
  • Document any user-facing changes you've made following the documentation styleguide.
  • Include tests when adding/changing behavior.
  • Include screenshots and animated GIFs whenever possible.

We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can.

@ckerr

ckerr commented Oct 27, 2025 •

Copy link
Copy Markdown
Member

@Damglador thanks for the PR!

Some background context for other reviewers: the approach PR'ed here is what Electron used to do in 2016, added by @zcbenz by #6145. That code was migrated to a Chromium patch in 2018 by #15536, and that patch was removed in 2019 by #16334 because Jeremy upstreamed the patch at https://chromium-review.googlesource.com/c/chromium/src/+/1315840. Sadly, that feature was lost as a side-effect of upstream migrating from libappindicator to DBus StatusNotifier, specifically in 2019 by this commit.

tldr: we used to do this, then upstreamed it, and then the upstream change got lost in a refactor.

IMO we should accept this as a patch to fix existing Electron releases + try to upstream the patch. Chromium has accepted this feature before and probably would do so again?

@ckerr ckerr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had a handful of nitpicks, but the idea LGTM. I'd be happy to approve once the nitpicks get resolved, and thanks for submitting this PR 👍

Comment thread shell/browser/ui/tray_icon_linux.cc Resolved
@ckerr ckerr added the semver/patch backwards-compatible bug fixes label Oct 27, 2025
@ckerr

ckerr commented Oct 27, 2025

Copy link
Copy Markdown
Member
The .patch file needs a nudge to make the linter happy
2025-10-27T20:47:39.2739142Z ======================================================================
2025-10-27T20:47:39.2739497Z There were changes to the patches when applying.
2025-10-27T20:47:39.2739902Z Check the CI artifacts for a patch you can apply to fix it.
2025-10-27T20:47:39.2740278Z ======================================================================
2025-10-27T20:47:39.2740495Z 
2025-10-27T20:47:39.2745466Z From 482e601e43a306701d02622a5719e0e4bce41f1c Mon Sep 17 00:00:00 2001
2025-10-27T20:47:39.2745879Z From: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2025-10-27T20:47:39.2746199Z Date: Mon, 27 Oct 2025 20:47:34 +0000
2025-10-27T20:47:39.2746440Z Subject: chore: update patches
2025-10-27T20:47:39.2746589Z 
2025-10-27T20:47:39.2746599Z 
2025-10-27T20:47:39.2746874Z diff --git a/patches/chromium/fix_linux_tray_id.patch b/patches/chromium/fix_linux_tray_id.patch
2025-10-27T20:47:39.2747438Z index fd3b863410fe1862a433c1af655708dee66717a0..5d3e246425be7d48f093b194d5d1a6a042bec433 100644
2025-10-27T20:47:39.2747880Z --- a/patches/chromium/fix_linux_tray_id.patch
2025-10-27T20:47:39.2748156Z +++ b/patches/chromium/fix_linux_tray_id.patch
2025-10-27T20:47:39.2748492Z @@ -1,9 +1,9 @@
2025-10-27T20:47:39.2748767Z  From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2025-10-27T20:47:39.2749136Z  From: Damglador <[email protected]@gmail.com>
2025-10-27T20:47:39.2749429Z -Date: Mon Oct 27 14:20:00 2025 +0100
2025-10-27T20:47:39.2749678Z +Date: Mon, 27 Oct 2025 14:20:00 +0100
2025-10-27T20:47:39.2749922Z  Subject: fix: allow setting tray id
2025-10-27T20:47:39.2750163Z  
2025-10-27T20:47:39.2750604Z -This is needed to allow setting custom tray id when initializing a tray icon. 
2025-10-27T20:47:39.2751046Z +This is needed to allow setting custom tray id when initializing a tray icon.
2025-10-27T20:47:39.2751730Z  With current behaviour all programs get chrome_status_icon_1 as their id in tray.
2025-10-27T20:47:39.2752108Z  So tray can't tell apart Electron apps,
2025-10-27T20:47:39.2752464Z  which introduces issues like https://bugs.kde.org/show_bug.cgi?id=470840.
2025-10-27T20:47:39.2752928Z @@ -13,7 +13,7 @@ https://github.com/electron/electron/pull/48675#issuecomment-3452781711
2025-10-27T20:47:39.2753335Z  for more info.
2025-10-27T20:47:39.2753493Z  
2025-10-27T20:47:39.2753968Z  diff --git a/chrome/browser/ui/views/status_icons/status_icon_linux_dbus.cc b/chrome/browser/ui/views/status_icons/status_icon_linux_dbus.cc
2025-10-27T20:47:39.2754508Z -index e268573d360b1..0efa21037e12d 100644
2025-10-27T20:47:39.2754991Z +index e268573d360b1744c739bc516e81261c3869cd23..3034ad52ab2f90e12d134eb0190e71dbd60fc105 100644
2025-10-27T20:47:39.2755477Z  --- a/chrome/browser/ui/views/status_icons/status_icon_linux_dbus.cc
2025-10-27T20:47:39.2755873Z  +++ b/chrome/browser/ui/views/status_icons/status_icon_linux_dbus.cc
2025-10-27T20:47:39.2756185Z  @@ -131,8 +131,8 @@ int NextServiceId() {
2025-10-27T20:47:39.2756443Z @@ -49,7 +49,7 @@ index e268573d360b1..0efa21037e12d 100644
2025-10-27T20:47:39.2756785Z                                   kPropertyOverlayIconName, "", false);
2025-10-27T20:47:39.2757174Z     properties_->SetProperty<"s">(kInterfaceStatusNotifierItem, kPropertyStatus,
2025-10-27T20:47:39.2757814Z  diff --git a/chrome/browser/ui/views/status_icons/status_icon_linux_dbus.h b/chrome/browser/ui/views/status_icons/status_icon_linux_dbus.h
2025-10-27T20:47:39.2758355Z -index 78c0ddf50ae6c..f8a118b6d2a49 100644
2025-10-27T20:47:39.2758788Z +index 78c0ddf50ae6cafed1badaeb951b1dab3110f095..984673954bb7f0b4c902677c70ab88c602201060 100644
2025-10-27T20:47:39.2759290Z  --- a/chrome/browser/ui/views/status_icons/status_icon_linux_dbus.h
2025-10-27T20:47:39.2759669Z  +++ b/chrome/browser/ui/views/status_icons/status_icon_linux_dbus.h
2025-10-27T20:47:39.2760068Z  @@ -35,7 +35,7 @@ class StatusIconLinuxDbus : public ui::StatusIconLinux,
2025-10-27T20:47:39.2760403Z @@ -69,4 +69,4 @@ index 78c0ddf50ae6c..f8a118b6d2a49 100644
2025-10-27T20:47:39.2760646Z  +
2025-10-27T20:47:39.2760885Z     base::WeakPtrFactory<StatusIconLinuxDbus> weak_factory_{this};
2025-10-27T20:47:39.2761168Z   };
2025-10-27T20:47:39.2761314Z -
2025-10-27T20:47:39.2761458Z + 
2025-10-27T20:47:39.2761597Z -- 
2025-10-27T20:47:39.2761747Z 2.50.1
2025-10-27T20:47:39.2761839Z 
2025-10-27T20:47:39.2776400Z ##[error]Process completed with exit code 1.

@Damglador
Damglador requested a review from ckerr October 27, 2025 23:06

@ckerr ckerr left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The linter still wants another patch change 🤖
2025-10-28T13:07:41.8495148Z ======================================================================
2025-10-28T13:07:41.8495614Z There were changes to the patches when applying.
2025-10-28T13:07:41.8496107Z Check the CI artifacts for a patch you can apply to fix it.
2025-10-28T13:07:41.8496548Z ======================================================================
2025-10-28T13:07:41.8496755Z 
2025-10-28T13:07:41.8502788Z From d83db6727edcbf14a29692f1351453eda78d79f7 Mon Sep 17 00:00:00 2001
2025-10-28T13:07:41.8503292Z From: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
2025-10-28T13:07:41.8503659Z Date: Tue, 28 Oct 2025 13:07:37 +0000
2025-10-28T13:07:41.8503933Z Subject: chore: update patches
2025-10-28T13:07:41.8504110Z 
2025-10-28T13:07:41.8504117Z 
2025-10-28T13:07:41.8504626Z diff --git a/patches/chromium/fix_linux_tray_id.patch b/patches/chromium/fix_linux_tray_id.patch
2025-10-28T13:07:41.8505332Z index 160b01d8ac87e7a2774bf1d39e32556bd0fe8130..4a91a36265b244d495988310d2f34b496ccf0086 100644
2025-10-28T13:07:41.8505858Z --- a/patches/chromium/fix_linux_tray_id.patch
2025-10-28T13:07:41.8506408Z +++ b/patches/chromium/fix_linux_tray_id.patch
2025-10-28T13:07:41.8506892Z @@ -13,7 +13,7 @@ https://github.com/electron/electron/pull/48675#issuecomment-3452781711
2025-10-28T13:07:41.8507305Z  for more info.
2025-10-28T13:07:41.8507512Z  
2025-10-28T13:07:41.8508082Z  diff --git a/chrome/browser/ui/views/status_icons/status_icon_linux_dbus.cc b/chrome/browser/ui/views/status_icons/status_icon_linux_dbus.cc
2025-10-28T13:07:41.8508812Z -index e268573d360b1..3034ad52ab2f9 100644
2025-10-28T13:07:41.8509311Z +index e268573d360b1744c739bc516e81261c3869cd23..3034ad52ab2f90e12d134eb0190e71dbd60fc105 100644
2025-10-28T13:07:41.8509903Z  --- a/chrome/browser/ui/views/status_icons/status_icon_linux_dbus.cc
2025-10-28T13:07:41.8510367Z  +++ b/chrome/browser/ui/views/status_icons/status_icon_linux_dbus.cc
2025-10-28T13:07:41.8510746Z  @@ -131,8 +131,8 @@ int NextServiceId() {
2025-10-28T13:07:41.8511071Z @@ -49,7 +49,7 @@ index e268573d360b1..3034ad52ab2f9 100644
2025-10-28T13:07:41.8511422Z                                   kPropertyOverlayIconName, "", false);
2025-10-28T13:07:41.8511894Z     properties_->SetProperty<"s">(kInterfaceStatusNotifierItem, kPropertyStatus,
2025-10-28T13:07:41.8512673Z  diff --git a/chrome/browser/ui/views/status_icons/status_icon_linux_dbus.h b/chrome/browser/ui/views/status_icons/status_icon_linux_dbus.h
2025-10-28T13:07:41.8513320Z -index 78c0ddf50ae6c..984673954bb7f 100644
2025-10-28T13:07:41.8513833Z +index 78c0ddf50ae6cafed1badaeb951b1dab3110f095..984673954bb7f0b4c902677c70ab88c602201060 100644
2025-10-28T13:07:41.8514440Z  --- a/chrome/browser/ui/views/status_icons/status_icon_linux_dbus.h
2025-10-28T13:07:41.8514902Z  +++ b/chrome/browser/ui/views/status_icons/status_icon_linux_dbus.h
2025-10-28T13:07:41.8515391Z  @@ -35,7 +35,7 @@ class StatusIconLinuxDbus : public ui::StatusIconLinux,
2025-10-28T13:07:41.8515798Z -- 
2025-10-28T13:07:41.8515977Z 2.50.1
2025-10-28T13:07:41.8516081Z 
2025-10-28T13:07:41.8546975Z ##[error]Process completed with exit code 1.
2025-10-28T13:07:41.8588972Z ##[group]Run while [ -f /var/.ssh-lock ]

@Damglador
Damglador requested a review from ckerr October 28, 2025 15:09
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Oct 28, 2025

@ckerr ckerr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another clang warning in CI, looks like the initialization of app_name_ needs to be moved further down to resolve a -Wreorder-ctor warning

2025-10-29T14:59:28.7448234Z ##[error]../../chrome/browser/ui/views/status_icons/status_icon_linux_dbus.cc:226:7: error: field 'app_name_' will be initialized after field 'bus_' [-Werror,-Wreorder-ctor]
2025-10-29T14:59:28.7449081Z   226 |     : app_name_(app_name),
2025-10-29T14:59:28.7449342Z       |       ^~~~~~~~~~~~~~~~~~~
2025-10-29T14:59:28.7452685Z       |       bus_(dbus_thread_linux::GetSharedSessionBus())
2025-10-29T14:59:28.7453056Z   227 |       bus_(dbus_thread_linux::GetSharedSessionBus()),
2025-10-29T14:59:28.7453379Z       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2025-10-29T14:59:28.7453707Z       |       should_write_icon_to_file_(ShouldWriteIconToFile())
2025-10-29T14:59:28.7454073Z   228 |       should_write_icon_to_file_(ShouldWriteIconToFile()),
2025-10-29T14:59:28.7454400Z       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2025-10-29T14:59:28.7454795Z   229 |       icon_task_runner_(base::ThreadPool::CreateSequencedTaskRunner(
2025-10-29T14:59:28.7455384Z       |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2025-10-29T14:59:28.7456152Z       |       app_name_(app_name)
2025-10-29T14:59:28.7456796Z   230 |           {base::MayBlock(), base::TaskPriority::USER_VISIBLE,
2025-10-29T14:59:28.7457598Z       |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2025-10-29T14:59:28.7458191Z   231 |            base::TaskShutdownBehavior::BLOCK_SHUTDOWN})) {
2025-10-29T14:59:28.7458666Z       |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2025-10-29T14:59:28.7459043Z 1 error generated.
2025-10-29T14:59:28.7459218Z 
2025-10-29T14:59:28.7459238Z 

@Damglador

Copy link
Copy Markdown
Contributor Author

I have a couple of questions. I've read the contribution guide before doing the PR and it says that

The electron/electron repo enforces commit signatures for all incoming PRs. To sign your commits, see GitHub's documentation on Telling Git about your signing key.

So I've signed the first commit, but I forgot to do that for the following commits. Do all the commits have to be signed for the PR to be accepted?

And is there anything else that has to be done?

@codebytere

Copy link
Copy Markdown
Member

@Damglador every commit needs to be signed, yes. You can just squash them into one commit and sign that if it's easier.

@Damglador

Copy link
Copy Markdown
Contributor Author

Re-signed all commits and rebased to upsteam/main

@Damglador
Damglador requested a review from ckerr November 3, 2025 16:19
@ckerr

ckerr commented Nov 3, 2025

Copy link
Copy Markdown
Member

@Damglador thanks for the PR and for the updates!

@ckerr
ckerr merged commit a88de8b into electron:main Nov 3, 2025
@welcome

welcome Bot commented Nov 3, 2025

Copy link
Copy Markdown

Congrats on merging your first pull request! 🎉🎉🎉

@release-clerk

release-clerk Bot commented Nov 3, 2025

Copy link
Copy Markdown

Release Notes Persisted

Fixed ID of tray icons on Linux

nilayarya pushed a commit to nilayarya/electron that referenced this pull request Nov 21, 2025
* fix: use browser name as tray id

* fix: remove unnecessary .c_str()

* fix: use string_view instead of string&

* fix: move app_name_ to the bottom of private: section

https://google.github.io/styleguide/cppguide.html#Declaration_Order

* fix: use base's string utils to join strings

* docs: note when to remove the patch

* fix: update patch

* fix: make linter happy

* fix: move app_name_ to the bottom of private: section
nilayarya added a commit to nilayarya/electron that referenced this pull request Nov 21, 2025
* fix: use browser name as tray id

* fix: remove unnecessary .c_str()

* fix: use string_view instead of string&

* fix: move app_name_ to the bottom of private: section

https://google.github.io/styleguide/cppguide.html#Declaration_Order

* fix: use base's string utils to join strings

* docs: note when to remove the patch

* fix: update patch

* fix: make linter happy

* fix: move app_name_ to the bottom of private: section
nilayarya added a commit to nilayarya/electron that referenced this pull request Nov 21, 2025
* fix: use browser name as tray id

* fix: remove unnecessary .c_str()

* fix: use string_view instead of string&

* fix: move app_name_ to the bottom of private: section

https://google.github.io/styleguide/cppguide.html#Declaration_Order

* fix: use base's string utils to join strings

* docs: note when to remove the patch

* fix: update patch

* fix: make linter happy

* fix: move app_name_ to the bottom of private: section
nikwen added a commit that referenced this pull request Dec 5, 2025
jkleinsc added a commit that referenced this pull request Dec 5, 2025
* chore: bump chromium in DEPS to 144.0.7543.0

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>

* Pass PipScreenCaptureCoordinatorProxy to ScreenCaptureKitDeviceMac

https://chromium-review.googlesource.com/c/chromium/src/+/7157590

Co-authored-by: John Kleinschmidt <[email protected]>

* chore: update patches

Co-authored-by: John Kleinschmidt <[email protected]>

* chore: update filenames.libcxx.gni

Co-authored-by: John Kleinschmidt <[email protected]>

* 7142359: Spanification of process_singleton_posix.cc

https: //chromium-review.googlesource.com/c/chromium/src/+/7142359
Co-Authored-By: Charles Kerr <[email protected]>

Co-authored-by: John Kleinschmidt <[email protected]>

* Move logging::LoggingSettings to base/logging/logging_settings.h

https://chromium-review.googlesource.com/c/chromium/src/+/7173024

Co-authored-by: John Kleinschmidt <[email protected]>

* chore: bump chromium in DEPS to 144.0.7545.0

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>

* 7159368: update PluginService API for sync GetPlugins

Upstream removed async PluginService APIs:
- GetPluginsAsync() removed, use synchronous GetPlugins()
- RegisterInternalPlugin() now takes single argument (remove add_at_beginning)
- RefreshPlugins() removed entirely

Updated ElectronPluginInfoHostImpl to use synchronous plugin loading and
simplified ElectronBrowserMainParts internal plugin registration.

Ref: https://chromium-review.googlesource.com/c/chromium/src/+/7159368
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/7159328
Ref: https://chromium-review.googlesource.com/c/chromium/src/+/7159056
(cherry picked from commit 88cdf50)

Co-authored-by: Samuel Attard <[email protected]>

* 7159184: add missing base/files/file_path.h include

Add explicit include for base/files/file_path.h in electron_browser_context.h.
After removal of superfluous Mojo includes from content headers, base::FilePath
is no longer transitively included via content/public/browser/browser_context.h.

Ref: https://chromium-review.googlesource.com/c/chromium/src/+/7159184
(cherry picked from commit 6ca8ea0)

Co-authored-by: Samuel Attard <[email protected]>

* 7126479: add ShouldForceRefreshTextCheckService parameter to SpellCheckClient

Upstream added a force-refresh parameter to WebTextCheckClient::RequestCheckingOfText
to bypass spell check cache. Add the new ShouldForceRefreshTextCheckService
parameter to SpellCheckClient's override (currently unused in Electron).

Ref: https://chromium-review.googlesource.com/c/chromium/src/+/7126479
(cherry picked from commit 879c040)

Co-authored-by: Samuel Attard <[email protected]>

* 7083663: remove fingerprinting_protection_ruleset_service override

Upstream deleted external references to Fingerprinting Protection Filter (FPF)
component. Remove the fingerprinting_protection_ruleset_service() override
from BrowserProcessImpl as the method no longer exists in the base class.

Ref: https://chromium-review.googlesource.com/c/chromium/src/+/7083663
(cherry picked from commit 8350d15)

Co-authored-by: Samuel Attard <[email protected]>

* 7155287: implement WebContentsView::GetSize and Resize

Upstream delegated WebContents::GetSize() and Resize() to WebContentsView,
making them pure virtual. Add const qualifier to GetSize() and implement
the Resize() override in OffScreenWebContentsView (no-op for offscreen).

Ref: https://chromium-review.googlesource.com/c/chromium/src/+/7155287
(cherry picked from commit 084eaa5)

Co-authored-by: Samuel Attard <[email protected]>

* 7184238: add OnUnconfirmedTapConvertedToTap override

Upstream added OnUnconfirmedTapConvertedToTap as a pure virtual method
to RenderWidgetHostViewBase to inform root view when child frame converts
an unconfirmed tap. Add empty override for offscreen rendering.

Ref: https://chromium-review.googlesource.com/c/chromium/src/+/7184238
(cherry picked from commit ef03400)

Co-authored-by: Samuel Attard <[email protected]>

* 7143586: add widget parameter to OnCommandsChanged

GlobalAcceleratorListener::OnCommandsChanged gained a gfx::AcceleratedWidget
parameter for window association in the GlobalShortcutListenerLinux
implementation. Pass gfx::kNullAcceleratedWidget for Electron's usage.

Ref: : Pass parent handle to GlobalAcceleratorListenerLinux::BindShortcuts | https://chromium-review.googlesource.com/c/chromium/src/+/7143586
(cherry picked from commit 38306e2)
Co-Authored-By: Samuel Attard <[email protected]>

Co-authored-by: Samuel Attard <[email protected]>

* chore: update patches

Co-Authored-By: Samuel Attard <[email protected]>

Co-authored-by: John Kleinschmidt <[email protected]>

* chore: bump chromium in DEPS to 144.0.7547.0

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>

* chore: update patches

Co-authored-by: John Kleinschmidt <[email protected]>

* 7189232: Add support for UnownedUserData in GlobalFeatures

https: //chromium-review.googlesource.com/c/chromium/src/+/7189232

Co-authored-by: John Kleinschmidt <[email protected]>

* Refactor: Use std::u16string for extension load error messages

https://chromium-review.googlesource.com/c/chromium/src/+/7185844

Co-authored-by: John Kleinschmidt <[email protected]>

* fixup Add support for UnownedUserData in GlobalFeatures

Co-authored-by: John Kleinschmidt <[email protected]>

* 7165650: Remove ResourceContext

https://chromium-review.googlesource.com/c/chromium/src/+/7165650

Co-authored-by: John Kleinschmidt <[email protected]>

* fixup BUILD.gn for lint

Co-authored-by: John Kleinschmidt <[email protected]>

* 7202164: Reland "Reland "Remove GenericScopedHandle:IsValid""

https://chromium-review.googlesource.com/c/chromium/src/+/7202164

Co-authored-by: John Kleinschmidt <[email protected]>

* advance deprecation of v8::ReturnValue<void>::Set(Local<S>).

7168624: [runtime][api] Relax requirements for setter/definer/deleter callbacks | https://chromium-review.googlesource.com/c/v8/v8/+/7168624

Co-authored-by: John Kleinschmidt <[email protected]>

* fixup advance deprecation of v8::ReturnValue<void>::Set(Local<S>)

Co-authored-by: John Kleinschmidt <[email protected]>

* chore: skip setting LPAC ACLs

Co-authored-by: John Kleinschmidt <[email protected]>

* Revert "chore: skip setting LPAC ACLs"

This reverts commit e187aec.

Co-authored-by: John Kleinschmidt <[email protected]>

* chore: revert Convert to UNSAFE_TODO in sandbox

revert https://chromium-review.googlesource.com/c/chromium/src/+/7131661 to see if it fixes the Windows sandbox issue.

Co-authored-by: John Kleinschmidt <[email protected]>

* Revert "chore: revert Convert to UNSAFE_TODO in sandbox"

This reverts commit 57afbfe.

Co-authored-by: John Kleinschmidt <[email protected]>

* chore: Revert "Enable network sandbox by default on Windows"

see if this fixes the Windows sandbox issue

Co-authored-by: John Kleinschmidt <[email protected]>

* Enable network sandbox by default on Windows

https://chromium-review.googlesource.com/c/chromium/src/+/7204292

Co-authored-by: John Kleinschmidt <[email protected]>

* Revert "chore: Revert "Enable network sandbox by default on Windows""

This reverts commit 530ab6a.

Co-authored-by: John Kleinschmidt <[email protected]>

* fixup! Enable network sandbox by default on Windows | https://chromium-review.googlesource.com/c/chromium/src/+/7204292

Co-authored-by: Keeley Hammond <[email protected]>

* fixup!: Correct flag name, add kLocalNetworkAccessChecks to all platforms

Co-authored-by: Keeley Hammond <[email protected]>

* chore: remove patch that hasn't been backported

See #48675

---------

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <[email protected]>
Co-authored-by: Samuel Attard <[email protected]>
Co-authored-by: John Kleinschmidt <[email protected]>
Co-authored-by: Keeley Hammond <[email protected]>
Co-authored-by: Niklas Wenzel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Tray icon on Linux has chome id for all Electron applications (AppIndicator/StatusNotifierItem)

3 participants