Page MenuHomeSolus

bitwarden-desktop: Update Electron and use Wayland for Wayland users
ClosedPublic

Authored by ReillyBrogan on Jul 28 2022, 7:20 PM.
Tags
None
Referenced Files
F11032057: D13401.id32786.diff
Wed, Aug 9, 1:49 PM
F11032056: D13401.id32815.diff
Wed, Aug 9, 1:49 PM
F11032055: D13401.id.diff
Wed, Aug 9, 1:49 PM
F11025608: D13401.diff
Wed, Aug 9, 1:10 AM
F11007703: D13401.diff
Tue, Aug 1, 9:50 PM
F10869468: D13401.diff
Jun 18 2023, 4:15 AM
F10866221: D13401.id32786.diff
Jun 17 2023, 2:28 PM
F10862355: D13401.id32815.diff
Jun 16 2023, 8:22 PM
Subscribers

Details

Summary
  • Electron 19.0.10 added the --ozone-platform-hint=auto flag which causes Electron to automatically use Wayland if the user is currently in a Wayland session
Test Plan
  • Launched, logged in, checked a few password entries
  • Checked that it launched natively as a Wayland app in a Wayland session and under X in an X11 session

Diff Detail

Repository
R5536 bitwarden-desktop
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 4142
Build 4142: arc lint + arc unit

Event Timeline

Hmm, fails with FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory for me. Maybe I just can't build this on my PC (don't seem to run out of memory though)

This revision is now accepted and ready to land.Aug 1 2022, 2:25 PM