webOS-ports / luneos-testing

Public testing images for LuneOS
4 stars 0 forks source link

Migrate from luna-webappmanager to WAM #12

Closed Herrie82 closed 1 year ago

Herrie82 commented 2 years ago

Is your feature request related to a problem? Please describe. For a better upgrade path (and support from pmOS for example), it's recommended to move away from our custom luna-webappmanager with patches for QtWebEngine and use LG's approach using WAM and patched Chromium.

Describe the solution you'd like Move from luna-webappmanager & patched QtWebEgine to WAM & Chromium

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

Herrie82 commented 2 years ago

WIP tree: https://github.com/webOS-ports/meta-webos-ports/tree/herrie/honister-wam

Herrie82 commented 2 years ago

With https://github.com/webOS-ports/luna-appmanager/commit/e4d7f2d75437dd1ebfaf904fbfc2c4e04ce8b985 apps get launched.

So far the following issues have been observed:

Herrie82 commented 2 years ago

Font can be set by: https://github.com/webosose/wam/blob/31924dad273542ba6a59bbd8a0258b08676fdd6e/src/core/web_page_base.cc#L442

Herrie82 commented 2 years ago

Seems things might be easier when we migrate to luna-surfacemanager as well, so that's work in progress now too.

Herrie82 commented 2 years ago

luna-surfacemanager migration in full progress. The following issues remain:

- Prelude font is not the default font (Fixed with https://github.com/webOS-ports/wam/commit/bfd9fbf682595ef267300dbf0f0133987a1d6c07) - Just Type doesn't open properly - App Menus don't work (Fixed with https://github.com/webOS-ports/luna-next-cardshell/commit/6e3eeb04c8223eaeb4cf276e943616ec59aaec3a)

Herrie82 commented 1 year ago

All were fixed before the current rebase