On Thu, 2022-12-08 at 08:53 +0100, Tomáš Popela wrote:
> Hi Adam,
> 
> On Thu, Dec 8, 2022 at 5:30 AM Adam Williamson
> <adamw...@fedoraproject.org> wrote:
> > On Thu, 2022-12-08 at 03:28 +0000, Gary Buhrmaster wrote:
> > > On Thu, Dec 8, 2022 at 12:42 AM Adam Williamson
> > > <adamw...@fedoraproject.org> wrote:
> > > > 
> > > > Hi folks! Today I woke up and found
> > > > https://bugzilla.redhat.com/show_bug.cgi?id=2151495 , which
> > diverted me
> > > > down a bit of an "installer environment size" rabbit hole.
> > > 
> > > Does the "new and improved" web based installer help this
> > > in any way?
> > 
> > I haven't looked yet but I suspect it'll probably be a wash,
> > mostly. If
> > anything it's likely slightly negative because the new installer
> > itself
> > hard requires webkitgtk, so we can't really do anything to finesse
> > that
> > requirement any more. With the old installer, we could maybe try
> > and
> > figure out some way of being able to show the help pages without
> > needing yelp/webkitgtk. Since the new installer itself needs
> > webkitgtk,
> > seems like there's no way we're getting rid of that ~40M
> > compressed.
> > 
> 
> 
> You should also try to do this - remove webkitgtk and yelp packages
> and add firefox, because that's what the web based installer
> should/will use in the end - see
> https://bugzilla.redhat.com/show_bug.cgi?id=2142779. We already had a
> meeting with Anaconda dev and told him to use Firefox instead of
> WebKitGTK for the web installer - due to resources that are
> internally (and frankly in upstream as well) allocated to WebKitGTK.
While the currently published Web UI preview images use GTK3 WebKit to
show the Web UI locally, I did some local image build using Firefox in
kiosk mode (eq. using the --kiosk CLI option):
- generally works fine
- performance is good, does not exhibit the high CPU consumption for UI
animations GTK WebKit has on VM with no GPU acceleration
- no header bar ever shown (which is what we want at the moment)
- no right click context menu, no right click copy paste menu (this is
usable, be if possible we would like to show the web debug console
option if anaconda runs in debug mode & the missing copa paste menu
could be seen as a usability issue for users)
- adds about 80 MB to image size (so about +40 MB in comparison to GTK
WebKit as far as I can tell - *very rough/preliminary numbers*)
- the memory consumption (measured at end of the installation) seems to
be slightly higher when compared to GTK WebKit

BTW, just an idea - would a "Firefox minimal" build make sense ? I
don't think we (and other projects in need of a lightweight Web View)
would ne advanced vide playback support, Web GL, VR support and other
features that certainly make the Firefox binaries bigger than necessary
for the usecase.


> 
> Tom
> _______________________________________________
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines:
> https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
> Do not reply to spam, report it:
> https://pagure.io/fedora-infrastructure/new_issue

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to