News for hackers. Stuff that matters.
Re:Ladybird: A new cross-platform browser project by sprash on Monday September 12, 2022 @09:39AM (#32810049)
It's great that this Browser is now independently developed from Serenity OS. But I'm not a huge fan of the QT dependency. You might as well use Qt WebEngine Widgets at this point.
Re:Ladybird: A new cross-platform browser project by Deukhoofd on Monday September 12, 2022 @10:00AM (#32810373)
It doesn't look too hard to remove that dependency, but then you'd have to write your own cross-platform GUI software, which might be out of scope. Might be a fun exercise though.
Re:Ladybird: A new cross-platform browser project by sprash on Monday September 12, 2022 @10:05AM (#32810438)
Why does it have to be cross platform? At this point Ladybug does not compile on Windows anyways. Also the target audience is probably mostly using Linux.
Re:Ladybird: A new cross-platform browser project by account42 on Monday September 12, 2022 @10:44AM (#32811094)
And what windowing toolkit do you think it sould use on Linux? GTK? Meh. Qt is fine and using QtWidgets is pretty far from depending on QtWebEngine.
Re:Ladybird: A new cross-platform browser project by sprash on Monday September 12, 2022 @04:41PM (#32816630)
None? Talking to bare X11 is actually pretty simple.
Re:Ladybird: A new cross-platform browser project by Deukhoofd on Monday September 12, 2022 @05:44PM (#32817435)
Don't forget that you're also expected to support Wayland nowadays on Linux.
Re:Ladybird: A new cross-platform browser project by sprash on Tuesday September 13, 2022 @03:02AM (#32821413)
Who is expecting Wayland support besides Redhat and Collabora?

And yes, talking to Wayland directly is extremely cumbersome and unnecessary complex. That's why nobody uses it.

Re:Ladybird: A new cross-platform browser project by smoldesu on Monday September 12, 2022 @07:07PM (#32818510)
Talking to bare x11 is one of the worst ways to conform to XDG desktop spec.
Re:Ladybird: A new cross-platform browser project by Deukhoofd on Monday September 12, 2022 @10:11AM (#32810538)
Well, the goal from the article is obviously to make it cross-platform, it's even in the title ;). To achieve that they just wrapped it in Qt. To replace that you'd have to achieve parity for the (admittedly smallish) subset of Qt that is being used. Starting with Linux for that would be a good start, but I'd assume the eventual goal would be to expand to other platforms as well.
Re:Ladybird: A new cross-platform browser project by zamadatix on Monday September 12, 2022 @10:46AM (#32811127)
It seems to compile on MacOS and Android already so not being on Windows (yet) doesn't really sidestep having a cross platform GUI/events library.
Re:Ladybird: A new cross-platform browser project by nottorp on Monday September 12, 2022 @10:51AM (#32811196)
Yep. Not sure what Qt is at now, technically. But that's because when you go download it you have to click through 5 screens that threaten you that you shouldn't use the LGPL version and pay instead. I don't like being threatened so I don't check out Qt.

To the point that it's banned at my job because we're too small to have lawyers on retainer to protect us if we use the LGPL version and do too few GUI jobs to justify the licensing model for the commercial version...

Re:Ladybird: A new cross-platform browser project by diath on Monday September 12, 2022 @02:40PM (#32814841)
If your framework of choice can implement a network request manager, a timer, and has an event loop, it's quite trivial to make it run within that framework, especially after the recent changes done by Andreas in this video: https://www.youtube.com/watch?v=S8lXroxngYo
Re:Ladybird: A new cross-platform browser project by jonas-w on Monday September 12, 2022 @01:13PM (#32813378)
I was at first excited, a new browser that isn't firefox or chrome. But then it said QT and this made me loose interest immediately.
Re:Ladybird: A new cross-platform browser project by Beyley on Monday September 12, 2022 @01:35PM (#32813819)
They only use QT to display onto the screen and get user inputs (also for network requests but that's subject to change)