-
Content Count
348 -
Joined
-
Last visited
-
Days Won
10
Patrick PREMARTIN last won the day on July 14
Patrick PREMARTIN had the most liked content!
Community Reputation
144 ExcellentAbout Patrick PREMARTIN
- Birthday January 12
Technical Information
-
Delphi-Version
Delphi 12 Athens
Recent Profile Visitors
-
It's the DPROJ file of your project which is maintained by the IDE in Project/Options dialog
-
shareware Some open sourced tools for Delphi developers
Patrick PREMARTIN replied to Patrick PREMARTIN's topic in I made this
SVG Folder To Delphi Unit has been released in version 2.0 today with FR/EN user interface, dark/light styles, the possibility to import SVG files from more than one folder in a Pascal unit. Now I allow to generate multilines (Delphi 12 Athens) or classic strings in the exported units. The generated units should work with previous Delphi releases, Lazarus and others Pascal environments. As an option I've added the export of a "GetBitmapFromSVG" method which I use in my games and the FMX games starter kit. If you want to use SVG files in a Pascal project this tool can help you. A sample of use of the generated unit is available at https://github.com/DeveloppeurPascal/SVG-cards/tree/main/lib-Delphi/SVG-Skia4Delphi The program is distributed as a shareware. It asks for a license number on startup but you can use it even if you don't buy for one. The v2.0 installer is only available for Windows. You can download it from https://github.com/DeveloppeurPascal/SVGFolder2DelphiUnit/releases -
Object Pascal Card Framework
Patrick PREMARTIN replied to Gustavo 'Gus' Carreno's topic in I made this
I don't have installed Lazarus on my VM but I didn't see where you store the cards images in your source files. If you need some I've just created this repository from David Bellot SVG Cards with individual SVG images, PNG images and Delphi samples of use : https://github.com/DeveloppeurPascal/SVG-cards -
Hi Good to see it working. Do you have an antivirus on Windows ? (I've already seen strange behaviors with McAfee which locked files or blocked some network calls)
-
Extreme slow-down in Windows FMX app UI since upgrading to 12.1
Patrick PREMARTIN replied to domus's topic in FMX
It's probably done on the commit comment with an internal ticket number. No reason to put it in the source file on the comment visible by the public (= us). -
Extreme slow-down in Windows FMX app UI since upgrading to 12.1
Patrick PREMARTIN replied to domus's topic in FMX
Thanks @Cristian Peța I've updated my sample project on https://embt.atlassian.net/servicedesk/customer/portal/1/RSS-3711 Hope they found a way to optimize this for 13. -
Extreme slow-down in Windows FMX app UI since upgrading to 12.1
Patrick PREMARTIN replied to domus's topic in FMX
I open the issue https://embt.atlassian.net/servicedesk/customer/portal/1/RSS-3711 You can follow it by enabling the notifications after login on this URL (quality.embarcadero.com). The difference between TThread.Queue() and TThread.ForceQueue() happens in the main thread : in the first case the code is executed, in the second it's delayed to next message processing iteration. Unfortunately, the behavior is not the same on Mac and Windows and in this project the form is only refreshed on macOS, for Windows it's done at the end. -
Extreme slow-down in Windows FMX app UI since upgrading to 12.1
Patrick PREMARTIN replied to domus's topic in FMX
Ok, in that case I confirm the big speed loss between 11.3 Alexandria and 12.3 Athens for this project, even with my changes. Did you opened an issue on QP or can I open it ? -
Extreme slow-down in Windows FMX app UI since upgrading to 12.1
Patrick PREMARTIN replied to domus's topic in FMX
And to remove the Application.ProcessMessages, you can do that : I know the TThread.ForceQueue() has its detractors, but in this context it works very well. PS : it works for Mac, but the display is not done on Windows... -
Extreme slow-down in Windows FMX app UI since upgrading to 12.1
Patrick PREMARTIN replied to domus's topic in FMX
Even if using visual components in threads is a real bad idea, in your case (because you stop the refresh), you can use Parallel.For() loop from System.Threading. It's a simple case where it works well. -
Extreme slow-down in Windows FMX app UI since upgrading to 12.1
Patrick PREMARTIN replied to domus's topic in FMX
Hi @domus Just to be sure: do you really need TRectangle instances or is it only to draw cubes "falling" (to the right) on the screen ? In your loop, if they are outside the screen, do you need to change their Position.x value ? I understand why you used the Application.ProcessMessages, but for me it's like FreeAndNil() for Nick H. : never use it, find an other way. 🙂 I'll try your code, but i'm on an ARM Windows on Mac, it's "slow" by design. -
Extreme slow-down in Windows FMX app UI since upgrading to 12.1
Patrick PREMARTIN replied to domus's topic in FMX
If you use Skia and have any things to draw on screen, enable other graphic libraries on other platforms and disable the raster by adding unit FMX.Types in your program and this after the GlobalUseSkia: PS : the "add code" tool don't work on my browser (latest Safari), I used QUOTE instead of it -
Extreme slow-down in Windows FMX app UI since upgrading to 12.1
Patrick PREMARTIN replied to domus's topic in FMX
Very strange. I didn't see this on my apps (but I mainly use them on macOS except for developers tools). Windows 24H2 (in a VM) had an bad effect under Parallels (and sometimes on "real" PC) but nothing seen linked to FireMonkey itself. Are you using the BringToFront often in your app ? Have the screens many layers of visual components? Do you use animations ? Do you use BeginUpdate/EndUpdate when you fill or draw things ? -
It's not what I read there : the splash screen images have been changes as some icons but not all. You should have all images like there :
-
Thanks. In this file you only changed the splash screen images. i see nothing wrong in it.