Recent

Author Topic: Pixie: A lightweight HTML/CSS rendering engine for Free Pascal and Lazarus 🌟  (Read 13166 times)

dsiders

  • Hero Member
  • *****
  • Posts: 1615
Minor nits...

Potentially long-running operations should change the cursor to indicate that something is in progress. Like LoadString, LoadFromFile, LoadFromStream, RebuildDocument.

Vertical scrollbars on QT6 are way too narrow to be clicked or dragged using a mouse (1920x1080).

AlexTP

  • Hero Member
  • *****
  • Posts: 2709
    • UVviewsoft
I requested (at Gitlab) the property for scrollbar width.

And saved there your wish for wait-cursor.

AlexTP

  • Hero Member
  • *****
  • Posts: 2709
    • UVviewsoft
@dsiders,
Quote
Potentially long-running operations should change the cursor

Author replied in the Gitlab:
https://gitlab.com/retrofoxed/pixie/-/work_items/47#note_3185005569
Declined!

Wallaby

  • Guest
is it written by an AI or a human?

Blend  8) Aka AI under human guidance.

ginoo

  • Full Member
  • ***
  • Posts: 163
I have a dream, to put LCL controls inside a pixie document

AlexTP

  • Hero Member
  • *****
  • Posts: 2709
    • UVviewsoft
Hey guys, I have found about 40-55 issues in Pixie. Reported to Gitlab, almost all are fixed. Thanks to the author! I have tested almost all my local webpages in pixie. Now you should test on your webpages.

dsiders

  • Hero Member
  • *****
  • Posts: 1615
Hey guys, I have found about 40-55 issues in Pixie. Reported to Gitlab, almost all are fixed. Thanks to the author! I have tested almost all my local webpages in pixie. Now you should test on your webpages.

I used the HTML test document located at https://github.com/cbracco/html5-test-page/blob/master/index.html to compare rendering in Pixie to Chrome. The document contains all of the HTML5-supported elements and NO CSS styling. It gives you an easy way to compare HTML5 support and the default styles for elements in Pixie. HTML5 support is very good. Anything that is not implemented yet is documented in the Pixie markdown docs. The default element styles are decidedly different though. Most differences are line-height, margin, or padding-related.

You can decide for yourself whether it is currently usable or not.

Still looking for a comprehensive CSS test suite.

mdalacu

  • Full Member
  • ***
  • Posts: 245
    • dmSimpleApps
@retrofoxed Please, as many others stated, enroll it in OPM. It will be much easier for us to use it . :-*
Thank you again for you great effort!

AlexTP

  • Hero Member
  • *****
  • Posts: 2709
    • UVviewsoft
@dsiders
I guess 'your HTML5 test' page is ok but for a bugreport, we need to compare look of an element, and prove (by screenshot) that Pixie's rendering is not ok. You did not make such comparing. I repeat, comparing of all elements (lists, bullets, buttons etc). 'your' page may potentially give us several bugreports. But comparing is needed.

dsiders

  • Hero Member
  • *****
  • Posts: 1615
@dsiders
'your' page may potentially give us several bugreports. But comparing is needed.

It's not my page. It's a tool. My goal was not to produce bug reports - but to evaluate whether the library is useful. I made my comparison. If you feel compelled to file bug reports, then go ahead. The component author can access this tools too to push it forward. I just wanted to see where it's at.

AlexTP

  • Hero Member
  • *****
  • Posts: 2709
    • UVviewsoft
I start the comparing of Firefox work and Pixie work on that page.
First bugreport
https://gitlab.com/retrofoxed/pixie/-/work_items/65
I arranged 2 apps side by side and began to compare.

Wallaby

  • Guest
I have a dream, to put LCL controls inside a pixie document

That's not really possible - a completely different architecture.

What you want is probably the Fresnel project, but it's in early stages of development.

zeljko

  • Hero Member
  • *****
  • Posts: 1929
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Will you add support for Lazarus Qt (qt4) there shuold be no to much diff between qt4 and qt5 ?

dsiders

  • Hero Member
  • *****
  • Posts: 1615
Recent commits have addressed any problems I had with excessive vertical spacing. See attached.

Good job!

Wallaby

  • Guest
Will you add support for Lazarus Qt (qt4) there shuold be no to much diff between qt4 and qt5 ?

It's not hard, just a few defines, but Qt4 reached EOL 10 years ago - anyone still using it?

 

TinyPortal © 2005-2018