Repository navigation
Conversation
Member
|
Can we instead set electron/shell/browser/electron_browser_main_parts_linux.cc Lines 56 to 110 in 730d918 --ozone-platform takes precedence over --ozone-platform-hint which still gives applications control over the default behavior of Electron for any edge cases they encounter. Seems like a default of --ozone-platform-hint=auto in Electron would cover all use cases mentioned in the linked issue.
|
3 tasks done
Contributor
Author
Member
|
I think I'd prefer #35630 over this PR and from #35614 (comment) it sounds like @deepak1556 would lean in the same direction |
Member
|
Since #35630 looks premature until Chromium changes the default ozone platform value, could we please reopen this pull request? |
|
This feels way overdue considering chromium seems nowhere close to enabling their default ozone platform hint. |
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Change
Add support for the
ELECTRON_OZONE_PLATFORM_HINTenvironment variable in order to make it easier for users to enable Wayland support for all Electron apps without having to manually patch application.desktopfiles (or other similar workarounds #30897).The accepted values are the same as upstream, with the special
autovalue being recommended for most users (especially for those switching between X11 and Wayland environments).When both the
--ozone-platform-hintcommand line flag and theELECTRON_OZONE_PLATFORM_HINTenvironment variable are specified, the command line flag has higher priority.Fixes #30897
Checklist
npm testpassesRelease Notes
Notes: Added support for
ELECTRON_OZONE_PLATFORM_HINTenvironment variable on Linux.