Recent

Author Topic: Is there a better web-browser component?  (Read 578 times)

QEnnay

  • Full Member
  • ***
  • Posts: 125
Is there a better web-browser component?
« on: September 17, 2024, 12:54:09 am »
Hi, I am running Linux-Mint-22_Cinnamon with Lazarus 3.2. I have an embedded web-browser using lpHTMLDataProvider and the associated Text and HTML Panels.

The Text is good as long as there is an incoming text version. But, the HTML is pretty poor as I generally only see about 40% of the content.

I can save the HTML to a desktop-file and then use FFx to open it and all is good.

Is there a better HTML component available? I'd like free as it is a simple project at home.
Linux-Mint 20.1 x64 + Cinnamon; Lenovo Flex 5 Ryzen 5 4500, 16GB memory
FPC: 3.2.0-1, Lazarus 2.0.12-0, all 64bit

dsiders

  • Hero Member
  • *****
  • Posts: 1238
Re: Is there a better web-browser component?
« Reply #1 on: September 17, 2024, 01:20:34 am »
Hi, I am running Linux-Mint-22_Cinnamon with Lazarus 3.2. I have an embedded web-browser using lpHTMLDataProvider and the associated Text and HTML Panels.

The Text is good as long as there is an incoming text version. But, the HTML is pretty poor as I generally only see about 40% of the content.

I can save the HTML to a desktop-file and then use FFx to open it and all is good.

Is there a better HTML component available? I'd like free as it is a simple project at home.

I generally use THtmlViewer (HtmlViewer package in OPM). But I'm using it to render HTML/CSS only - no javascript or other extraneous nonsense. The Chrome wrappers are platform (Windows) specific, aFAIK. I don't like FIrefox, so i never checked for wrappers. I hoped there would be a wrapper for the QT 6.2 WebEngine - but no luck so far.

Preview Lazarus 3.99 documentation at: https://dsiders.gitlab.io/lazdocsnext

Thaddy

  • Hero Member
  • *****
  • Posts: 15641
  • Censorship about opinions does not belong here.
Re: Is there a better web-browser component?
« Reply #2 on: September 17, 2024, 09:16:35 am »
The chromium wrappers are platform agnostic as far as I know, provided the platform supports chromium.
If I smell bad code it usually is bad code and that includes my own code.

QEnnay

  • Full Member
  • ***
  • Posts: 125
Re: Is there a better web-browser component?
« Reply #3 on: September 17, 2024, 08:54:55 pm »
Thanks to you both. What are the "chromium wrappers?" I imagine I can install anything chromium needs to make them work. How/where do I get this?

I will try the THTMViewer. I think I had tried is some years back and it was no better than I am using now. But, will give it another try just to make sure. Might put them side-by-side and see.

I don't use FFx normally, it's just all that's loaded on the programming PC and it never sees the Internet.
Linux-Mint 20.1 x64 + Cinnamon; Lenovo Flex 5 Ryzen 5 4500, 16GB memory
FPC: 3.2.0-1, Lazarus 2.0.12-0, all 64bit

dsiders

  • Hero Member
  • *****
  • Posts: 1238
Re: Is there a better web-browser component?
« Reply #4 on: September 17, 2024, 09:09:57 pm »
What are the "chromium wrappers?"

I'm referring to projects like fpCEF and CEFDelphi. Full, heavy-weight embedded browsers that were way more than I really needed.

I will try the THTMViewer. I think I had tried is some years back and it was no better than I am using now. But, will give it another try just to make sure. Might put them side-by-side and see.

I used it back in my Delphi days (long ago), and was not overly impressed. HtmlViewer has improved since then, and I started using it again a couple of years ago. Meets my requirements.
Preview Lazarus 3.99 documentation at: https://dsiders.gitlab.io/lazdocsnext

QEnnay

  • Full Member
  • ***
  • Posts: 125
Re: Is there a better web-browser component?
« Reply #5 on: September 17, 2024, 11:50:29 pm »

HtmlViewer has improved since then, and I started using it again a couple of years ago

Yup, have to agree. I installed it and the FrameViewer works better. Still jumbled text and formatting comments, but it is displaying a lot more details. Not perfect but enough for what I need too.

Thanks again for the help.
Linux-Mint 20.1 x64 + Cinnamon; Lenovo Flex 5 Ryzen 5 4500, 16GB memory
FPC: 3.2.0-1, Lazarus 2.0.12-0, all 64bit

 

TinyPortal © 2005-2018