Jump to content

domus

Members
  • Content Count

    32
  • Joined

  • Last visited

Posts posted by domus


  1. While the documentation site is down, would anyone know why it's a problem using an Int64 with an Sqlite database? Int64 values written to Sqlite Integer fields seem to be problematic (truncated to 32-bits). Manually changing all field properties to .AsLargeint, on the other hand, throws a "type mismatch" exception at application startup. All Sqlite integer fields are supposed to support 64-bit values.

     

    (don't bother, solved by manually using BIGINT in creation of table)


  2. That helps a lot and was more or less my inkling. I'm proceeding in that direction now. It's just a tad frustrating that it all worked fine, until that very last bit of changing SW_SHOW into SW_HIDE. :classic_rolleyes:

     

    What SO is concerned, a hundred years ago, when it took off, you could start out asking a question and then (collaboratively) polish it over time, until it became something you could put inside Encyclopedia Britannica.

    Today, if your question doesn't immediately resemble an Encyclopedia Britannica entry, you have to put on donkey ears and sit in the corner for ten minutes (or, in SO terms, get downvoted). Discouraging.


  3. (had the audacity to ask this in StackOverflow, which was a mistake, so trying here)

     

    I know, a very esoteric and specific question, but I'm spending ages trying to figure out why none of the navigation events get triggered when I'm trying to get a web page capture inside an app that was launched with ShellExecute(0, 'open', PChar('WebpageFetcher.exe'), nil, nil, SW_HIDE), while they do get triggered when using SW_SHOW.

     

    Tried using both WVBrowser1.CreateBrowser(WVWindowParent1.Handle) and WVBrowser1.CreateWindowlessBrowser(WVWindowParent1.Handle).

     

    Both work perfectly when using SW_SHOW, but I'm guessing that because the main form is hidden when using SW_HIDE, the OnNavigationCompleted and OnCapturePreviewCompleted are not triggered. However, OnDOMContentLoaded does get triggered in all cases.

    Overlooking something very basic, I'm sure. I don't need to see any form, just get the capture.

     

    Might it be that, when using SW_HIDE, the app doesn't have a proper messaging loop running and these events don't get propagated...?

     

    If anyone has any pointers, appreciated.


  4. On 3/2/2023 at 4:28 AM, programmerdelphi2k said:

    In text mode, from your form, can you see the bitmap data (in Hex)?

    Just happened again.

     

    In text mode, I thought the form looked perfectly defined, with all bitmap data present, but at a closer look, the bitmap data was a lot smaller than should be. When switching back to the form, it's all gone. Also when compiling and running. Odd.


  5. 7 hours ago, programmerdelphi2k said:

    is there any possibility that the "Kind" property is being changed at some point in the code?  

    It happens during design. When loading the project, the bitmaps are simply gone. No changes to the Kind property.

     

    7 hours ago, programmerdelphi2k said:

    In text mode, from your form, can you see the bitmap data (in Hex)?

    That's the one thing I keep forgetting to do; check the form's source. Too much in a hurry to fish them all up again. I'll check next time.

     

    Thanks for your reply.


  6. In my FMX forms, I regularly have the issue that all bitmaps have vanished from my TRectangles (Fill.Bitmap property). The odd thing is, that the correct bitmap sizes are still displayed in the property editor, but the bitmaps, themselves, are gone.

     

    Is a bit annoying to have to fish them all back from different places all the time.

     

    Is this a known issue in 10.4?

     

    Thx!


  7. On 5/8/2022 at 4:11 PM, vfbb said:

    Can you send me your lottie file?

    You can also solve all your doubts on our telegram channel: https://t.me/skia4delphi

    Sent you all the stuff over Telegram, but the day after, Telegram tells me "no messages here yet." Bliss, now I'm also raising issues with the software that I have to use to raise an issue with other software. :classic_wacko:

     

    Will try again later. This is 2022. Communication is hard. :classic_wink:


  8. 15 hours ago, vfbb said:

    Your case may have something to do with Keyframe or expressions...

    As I suspected, it had to do with the "property pick whip," linking properties of different objects. When I detached them and configured them separately, it worked.

     

    Your link, however, was kind of depressing to read;

    Quote

    Unfortunately, the Lottie library doesn’t support some of the essential functions of After Effects such as Expressions or Effects 

    Well, my test used a Gaussian blur effect and that seemed to work fine, so I hope it doesn't concern all of them...

     

    Cheers,

    Dom


  9. First test with a Lottie export from AE. Two superimposed circles with animated trim paths (connected parameters). Only one circle is animated, the other not. In the Lottie preview in the AE Plugin, all seems fine. In Delphi, only one circle is animated.

     

    Are there any limitations to the complexity of these Lottie imports (or unsupported functionality)?


  10.  

    Quote

    Skia does not support animated SVG. There are very few libs that support SVG animations and even then I believe there are no versions for delphi.

    There was one by Jason Southwell; a TSVG component in his Apesuite component set. Ten years ago, that was. Don't know if that's still active.

     

    Quote

    Lottie are also vectorized animations in json format. However it is not possible to edit it at runtime.

    So, no (truly) interactive animations possible? Only fixed animation sequences?

     

    I noticed there is a way to create SVGs in runtime. Maybe I'll experiment with that.

     

    Is the entire SKIA library exposed in Delphi, or just part of it?

×