trop[bot]
441e317400
fix: trafficLightPosition incorrect with customButtonsOnHover ( #48622 )
...
fix: trafficLightPosition incorrect with customButtonsOnHover
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-10-27 11:24:32 +01:00
trop[bot]
45aa5396a9
fix: crash on empty dialog extensions array on Windows ( #48659 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-10-27 09:16:59 +01:00
trop[bot]
b56d95d214
fix: broken transparent window styles on resizable change ( #48500 )
...
* fix: wrong api call
Co-authored-by: zoy <zoy-l@outlook.com>
* fix: consistency of the resize state
Co-authored-by: zoy <zoy-l@outlook.com>
* fix: edge cases
Co-authored-by: zoy <zoy-l@outlook.com>
* chore: add detailed comments
Co-authored-by: zoy <zoy-l@outlook.com>
* fix: lint
Co-authored-by: zoy <zoy-l@outlook.com>
* chore: only windows
Co-authored-by: zoy <zoy-l@outlook.com>
* chore: use transparent
Co-authored-by: zoy <zoy-l@outlook.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: zoy <zoy-l@outlook.com>
2025-10-21 07:28:55 +02:00
trop[bot]
80b1defd81
fix: background hover contrast for WCO buttons ( #48596 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-10-21 07:26:57 +02:00
trop[bot]
5a1d521a1d
fix: fixed white flash on call to BrowserWindow.show ( #48558 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Cezary Kulakowski <cezary@openfin.co>
2025-10-16 14:49:09 +02:00
trop[bot]
8265537daf
fix: auth required websocket crash ( #48540 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-10-14 14:45:16 +02:00
trop[bot]
7449f3f376
fix: dialog.showMessageBox defaultid on Windows ( #48520 )
...
* fix: dialog.showMessageBox defaultid on Windows
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* Update shell/browser/ui/message_box_win.cc
Co-authored-by: Robo <hop2deep@gmail.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-10-11 10:02:20 +02:00
trop[bot]
d3d2877b65
fix: accentColor set distinguishes the frame ( #48449 )
...
* fix: accentColor set distinguishes the frame
Co-authored-by: zoy <zoy-l@outlook.com>
* chore: invalid change
Co-authored-by: zoy <zoy-l@outlook.com>
* fix: lint
Co-authored-by: zoy <zoy-l@outlook.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: zoy <zoy-l@outlook.com>
2025-10-04 04:12:01 +02:00
trop[bot]
7059e38293
fix: snapped window restoring to correct position ( #48439 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-10-03 20:08:04 +02:00
trop[bot]
9a2b4f84be
fix: MacOS 26 Tahoe - stop overriding private cornerMask API to fix WindowServer GPU load ( #48400 )
...
fix: MacOS 26 Tahoe - stop overriding private cornerMask API to fix WindowServer GPU load (#48376 )
fix: macOS stop overriding private cornerMask API to fix WindowServer GPU load spike
Electron fetched a custom `_cornerMask` for `ElectronNSWindow` to smooth
vibrancy corners. On macOS 15 (Tahoe) that private hook forces the window
shadow to be rendered from a fully transparent surface, causing the
WindowServer GPU load regression. Remove the `cornerMask` property and
the `_cornerMask` override so we stay on Apple’s default shadow path.
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: avarayr <7735415+avarayr@users.noreply.github.com>
2025-09-27 10:30:52 -07:00
trop[bot]
b5c8dc159f
feat: add fileSystem to ses.setPermissionCheckHandler ( #48328 )
...
feat: add fileSystem to ses.setPermissionCheckHandler
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-09-26 10:23:05 -04:00
trop[bot]
e7ff3d4254
fix: showMessageDialog should center dialog to parent ( #48213 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-09-05 10:22:33 +02:00
trop[bot]
d4ac255c5a
fix: ensure dragging works again after emitting contextmenu event ( #48226 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-08-29 13:13:39 -04:00
trop[bot]
cfdd0a3640
fix: snapped restoration after minimization ( #48156 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-08-25 09:57:03 +02:00
Shelley Vohr
ce91f050d4
feat: allow macOS tray to maintain position ( #48076 )
2025-08-21 10:41:30 +02:00
Shelley Vohr
beee3737a9
fix: offscreen mode under window.open creation ( #48070 )
...
fix: offscreen mode under window.open creation
2025-08-18 16:17:22 -04:00
trop[bot]
a11d4eb03c
fix: avoid deprecated login item methods ( #48096 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Samuel Attard <sattard@anthropic.com>
2025-08-18 12:00:14 +02:00
trop[bot]
dbd11d7806
fix: app.accessibilitySupportEnabled ( #48061 )
...
fix: app.accessibilitySupportEnabled on macOS
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-08-13 16:21:20 +02:00
trop[bot]
d053f2e4f9
fix: re-entrancy issues in webContents.loadURL() ( #48045 )
2025-08-12 13:42:52 +02:00
trop[bot]
4b46b6e2f2
feat: add {get|set}AccentColor on Windows ( #48017 )
...
* feat: add setAccentColor on Windows
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* refactor: unify GetSystemAccentColor
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* refactor: remove redundant parsing
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* chore: fixup documentation
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* Update docs/api/browser-window.md
Co-authored-by: Will Anderson <andersonw@dropbox.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* Update docs/api/base-window.md
Co-authored-by: Will Anderson <andersonw@dropbox.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-08-11 11:17:43 -04:00
trop[bot]
a0a315aa7a
fix: window accentColor should adhere to native window behavior ( #48011 )
...
* fix: window accentColor should adhere to native window behavior
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* fix: address review feedback
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* chore: remove duplicate UpdateWindowAccentColor call in ctor
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* refactor: add NativeWindow::IsActive() (#47148 )
this was already present on macOS; use in NativeWindowViews too
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-08-09 09:44:16 +02:00
trop[bot]
f409eb0d7a
fix: compilation error when disabling extensions and pdf_viewer ( #47994 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Jinli Wu <wujinli@bytedance.com>
2025-08-07 17:01:43 -04:00
trop[bot]
4f426daeca
feat: Use DIR_ASSETS path to locate resource bundles ( #47951 )
...
* feat: Use DIR_ASSETS path to locate resource bundles
Co-authored-by: Will Anderson <andersonw@dropbox.com>
* Use DIR_ASSETS for calculating ASAR relative paths
Co-authored-by: Will Anderson <andersonw@dropbox.com>
* Add test to verify 'assets' matches parent dir of 'exe'
Co-authored-by: Will Anderson <andersonw@dropbox.com>
* Add Mac-specific test for assets path (but it is failing)
Co-authored-by: Will Anderson <andersonw@dropbox.com>
* test: Update app.getPath('assets') to expect an exception on Mac
Co-authored-by: Will Anderson <andersonw@dropbox.com>
* docs: Update docs for 'assets' path to indicate that it's only available on Windows + Linux
Co-authored-by: Will Anderson <andersonw@dropbox.com>
* fix: Don't define 'assets' mapping on macOS
Co-authored-by: Will Anderson <andersonw@dropbox.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Will Anderson <andersonw@dropbox.com>
2025-08-06 19:40:07 +02:00
trop[bot]
e83b0f6c23
feat: add app.getRecentDocuments() ( #47923 )
...
feat: add app.getRecentDocuments()
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-08-06 19:35:15 +02:00
Shelley Vohr
c7ae20c4f2
fix: abnormal behavior of windows background material ( #47956 )
...
* fix: abnormal behavior of windows background material
* chore: update patches
---------
Co-authored-by: patchup[bot] <73610968+patchup[bot]@users.noreply.github.com>
2025-08-04 11:17:00 -04:00
trop[bot]
99b9516a68
fix: crash on window.close() with webContents on blur ( #47954 )
...
fix: crash on window.close with WebContentsView on blur
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-08-04 14:28:03 +02:00
trop[bot]
ee8290e707
fix: webContents.downloadURL() did not support referer header ( #47865 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: xufuhang <576484918@qq.com>
2025-07-31 14:30:15 +02:00
trop[bot]
46dec46a82
fix: dark mode on Linux default themeing ( #47920 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-07-31 14:29:39 +02:00
Shelley Vohr
e17cbc96e2
fix: default to system accent color on invalid user color ( #47800 )
...
fix: default to system accent color on invalid user color"
2025-07-31 11:10:24 +02:00
trop[bot]
45899d1cd7
fix: window content protection on older Windows versions ( #47887 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-07-31 10:53:28 +02:00
trop[bot]
d49515db3e
fix: dialog file filters and macOS app bundles ( #47839 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-07-21 16:29:52 +02:00
Shelley Vohr
2e460c0ffb
refactor: reduce scope of temporaries when getting dictionary values ( #47799 )
...
refactor: reduce scale of temporaries when getting dictionary values
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-07-19 10:42:19 +02:00
trop[bot]
d5c68c2f6d
fix: handle missing NativeWindowMac in ElectronNSWindow ( #47813 )
...
fix: handle missing NativeWindowMac in ElectronNSWindow
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-07-18 10:09:35 +02:00
Calvin
e845d20789
fix: corner smoothing feature gate crash (37-x-y) ( #47792 )
...
fix: corner smoothing feature gate crash (#47759 )
2025-07-16 12:03:26 -07:00
trop[bot]
6e9a46042d
fix: fullscreen for windows without rounded corners ( #47682 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-07-08 15:22:52 +02:00
trop[bot]
f4e709c47e
refactor: avoid a few unnecessary strings ( #47654 )
...
* perf: replace string temporary with string_view in GetXdgAppId()
Co-authored-by: Charles Kerr <charles@charleskerr.com>
* perf: replace string temporary with string_view in ToV8(WindowOpenDisposition)
Co-authored-by: Charles Kerr <charles@charleskerr.com>
* perf: replace string temporary with string_view in ToV8(electron::api::WebContents::Type)
Co-authored-by: Charles Kerr <charles@charleskerr.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-07-04 10:58:45 +02:00
trop[bot]
549c73a8b4
fix: accent color should reflect system settings without restart ( #47656 )
...
fix: accentColor should reflect system settings without restart
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-07-03 22:19:26 +02:00
trop[bot]
90a0f81302
fix: crash on source capture with empty thumbnail size ( #47653 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-07-03 19:19:22 +02:00
electron-roller[bot]
cc05e5f40e
chore: bump chromium to 138.0.7204.97 (37-x-y) ( #47619 )
...
* chore: bump chromium in DEPS to 138.0.7204.51
* chore: bump chromium in DEPS to 138.0.7204.97
* Revert "Reland "FSA: Only normalize the hardcoded rules once during initialization""
https://chromium-review.googlesource.com/c/chromium/src/+/6687843
---------
Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
2025-07-02 12:12:01 +02:00
trop[bot]
fc55862138
fix: Reland "[accessibility] Platform node lifetime cleanups" ( #47611 )
...
Reland "[accessibility] Platform node lifetime cleanups"
https://chromium-review.googlesource.com/c/chromium/src/+/6462552
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-06-30 11:17:19 +02:00
trop[bot]
2856008e52
refactor: sync IsKillURL() with upstream impl in extension_tab_util.cc ( #47595 )
...
Use base::MakeFixedFlatSet()
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-06-30 11:17:04 +02:00
trop[bot]
9aedb9c1f4
perf: avoid copying a vector when calling ConvertToWeakPtrVector() ( #47601 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-06-30 10:29:14 +02:00
trop[bot]
47e927ac2b
refactor: avoid copies of large objects in range based for loops ( #47605 )
...
* Avoid copies of large objects in range-based for-loops.
Xref: https://chromium-review.googlesource.com/c/chromium/src/+/6527689
Co-authored-by: Charles Kerr <charles@charleskerr.com>
* Avoid copies of large objects in range-based for-loops in Browser::ShowAboutPanel()
Co-authored-by: Charles Kerr <charles@charleskerr.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-06-30 10:28:55 +02:00
trop[bot]
1eb8f7e705
refactor: remove stray .c_str() calls for absl::StrFormat() ( #47577 )
...
refactor: remove stray .c_str() calls for absl::StrFormat()
StrFormat() understands std::string, std::string_view
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-06-26 08:18:06 -05:00
trop[bot]
75cda9e16b
feat: support customizing window accent color on Windows ( #47537 )
...
* fix: support window accent color in frameless windows
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* refactor: allow customization
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* Update docs/api/structures/base-window-options.md
Co-authored-by: Will Anderson <andersonw@dropbox.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-06-25 20:41:42 +02:00
trop[bot]
253d49b24f
fix: ensure /dev/null fd is closed on failure ( #47543 )
...
* fix: ensure /dev/null fd is closed on failure
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* chore: ignore closehandle for windows
Co-authored-by: Robo <hop2deep@gmail.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Co-authored-by: Robo <hop2deep@gmail.com>
2025-06-24 21:12:21 +02:00
trop[bot]
285bbc560b
refactor: simplify titlebar overlay initialization ( #47524 )
...
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
2025-06-24 10:39:53 +02:00
trop[bot]
713030b21a
feat: add menu item role palette and header ( #47245 )
...
* feat: add menu item role `palette` and `header`
Co-authored-by: Gellert Hegyi <gellihegyi@gmail.com>
* adds comments
Co-authored-by: Gellert Hegyi <gellihegyi@gmail.com>
* refactors new role items to new item types
Co-authored-by: Gellert Hegyi <gellert@poolside.ai>
* docs: custom type
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>
* docs: note types only available on mac 14+
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Gellert Hegyi <gellihegyi@gmail.com>
Co-authored-by: Gellert Hegyi <gellert@poolside.ai>
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>
2025-06-23 19:54:53 -04:00
trop[bot]
2f1dfc73ac
feat: support HIDDevice.collections ( #47483 )
...
* feat: support HIDDevice.collections
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* Update docs/api/structures/hid-device.md
Co-authored-by: Erick Zhao <ezhao@slack-corp.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
2025-06-18 20:47:06 +02:00
Keeley Hammond
03c32ba3be
fix: revert moving IsClosed() and IsClosable() into NativeWindow::Close() ( #47485 )
...
fix: revert moving IsClosed() and IsClosable() into NativeWindow::Close() (#47482 )
Revert "refactor: move `IsClosed()` and `IsClosable()` tests into `NativeWindow::Close()` (#46888 )"
This reverts commit 3faddd5ae2 .
2025-06-16 21:20:53 -07:00