Jump to content

Cristian Peța

Members
  • Content Count

    437
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by Cristian Peța


  1. 3 hours ago, Lars Fosdal said:

    We chose GitKraken as GUI, but Fork was runner up. I can't remember what pulled us in direction of GitKraken. 

    I think your last statement here:

    "We've spent today testing Fork and GitKraken and landed on GitKraken Pro due to the issue tracker integrations and built in GitFlow support - which really simplify doing proper branching for features, fixes and releases. "

    • Thanks 1

  2. @Rafael Dipold have you done something different than in that article? It isn't working for me.

    I didn't used Delphi IDE because it's calling makeappx.exe with /f (mapping file) and I used /d (content directory)

    I have the same file with two names in Assets: Logo44x44.png and Logo44x44.targetsize-44_altform-unplated.png

    The Root folder is every time new created and filled with all necessary files then:

     

    C:\Delphi\WA15\WinArhi\!Executabil Showroom\UWP\Root>"C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x86\makepri.exe" createconfig /cf priconfig.xml /dq en-US       
    'Platform (pv)' not specified. Default is Windows 10.

    Writing PRI config file to priconfig.xml ...

    Successfully Completed


    C:\Delphi\WA15\WinArhi\!Executabil Showroom\UWP\Root>"C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x86\makepri.exe" new /pr "C:\Delphi\WA15\WinArhi\!Executabil Showroom\UWP\Root" /cf priconfig.xml
    Output location of PRI file(s) is detected to be under the project root. If previously generated PRI file(s) are present, these may be re-indexed and lead to unexpected results.

    Index Pass Completed.

    AlternateForm Qualifiers: UNPLATED

    TargetSize Qualifiers: 150,44

     

    Finished building

    Version: 1.0

    Resource Map Name: winarhi.winarhi15s

    Named Resources: 27

     

    Resource File: resources.pri

    Version: 1.0

    Resource Candidates: 29

    AlternateForm Qualifiers: UNPLATED

    TargetSize Qualifiers: 150,44

     

    Successfully Completed

     

    C:\Delphi\WA15\WinArhi\!Executabil Showroom\UWP\Root>"C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x86\makeappx.exe" pack /d "C:\Delphi\WA15\WinArhi\!Executabil Showroom\UWP\Root" /p "C:\Delphi\WA15\WinArhi\!Executabil Showroom\!FINAL\WinArhi_15_Showroom.msix"
    Microsoft (R) MakeAppx Tool

    Copyright (C) 2013 Microsoft.  All rights reserved.

     

    The path (/p) parameter is: "\\?\C:\Delphi\WA15\WinArhi\!Executabil Showroom\!FINAL\WinArhi_15_Showroom.msix"

    The content directory (/d) parameter is: "\\?\C:\Delphi\WA15\WinArhi\!Executabil Showroom\UWP\Root"

    Enumerating files from directory "\\?\C:\Delphi\WA15\WinArhi\!Executabil Showroom\UWP\Root"

    Packing 30 file(s) in "\\?\C:\Delphi\WA15\WinArhi\!Executabil Showroom\UWP\Root" (content directory) to "\\?\C:\Delphi\WA15\WinArhi\!Executabil Showroom\!FINAL\WinArhi_15_Showroom.msix" (output file name).

    Memory limit defaulting to 5368131584 bytes.

    Memory limit defaulting to 4294967296 bytes.

    Using "\\?\C:\Delphi\WA15\WinArhi\!Executabil Showroom\UWP\Root\AppxManifest.xml" as the manifest for the package.

    .......

    .......

    Package creation succeeded.

     

     


  3. 16 hours ago, Wagner Landgraf said:

    All the transaction-related code has the usually pattern try..except, having a Rollback in the except block followed by a raise.

    I use this construct and this will go well with any exceptions but there is a weakness if the library will not set InTransaction how it should.

    try
      StartTransaction;
      ....
      Commit;
    finally
      if InTransaction then
        Rollback;
    end;

     


  4. 2 hours ago, softtouch said:

    Delphi 11.3 always rearrange its toolbars with every start. 

    The first attached image shows how it should look after I move them to their positions, the second image shows what Delphi 11.3 makes out of it. With every restart of the IDE, I have to rearrange the top toolbars 😞

    I am using a 4K monitor with a scaling of 125%.

    When I use Delphi DPI unaware, it stays always the same, when I use a monitor scaling of 100%, it always stays the same, but when I use a monitor scaling of 125% on my 4K display, it rearrange the toolbars.

    That did not happen in any version below 11.3 (11.0, 11.1, 11.2).

     

    Delphi_11_2023-02-28_08-33-04.png

    Delphi_11_2023-02-28_08-33-36.png

    I can't reproduce but I didn't touched the default positions. Scaling 150%, DPI Unaware, Light theme.

    image.thumb.png.001223f896fcccc1c10d165fb0ca40fc.png

     

    PS. Now I see that issues are only with monitor scaling between 124% and 130%.....


  5. On 2/12/2023 at 2:32 PM, Keesver said:

    Nowadays we let Windows handle this using an MSIX installer accompanied by an .appinstaller file

    But this doesn't work for Windows 7 from what I understand.

     

    On 2/12/2023 at 2:32 PM, Keesver said:

    This works as long as the the application is installed inside the user profile, not when it gets installed in 'Program files'. 

    We used Chrome approach for this and avoided elevation to write in 'Program files'. Elevation is necessary only first time at installation when we create a task in scheduler on the SYSTEM account.

    Actually two tasks: one with a day trigger and one with a trigger that can be started from our app at demand.

    • Like 1

  6. 2 hours ago, Attila Kovacs said:

    I'm running my Berlin and even my D2007 in HDPI mode -with some custom expert along- to get a crisp picture and you are using the latest HDPI aware IDE in blurry mode?

    What about VCL form designer? There are not things too small?


  7. On 12/16/2021 at 10:37 AM, A.M. Hoornweg said:

    - The encryption key contains information of the host machine. The drives will only decrypt on the same host machine.

    - So if my notebook dies, I'm basically scr##ed because the VM won't run anywhere else.

    Just tried in latest VMware 16 Workstation and my Win 11 VM with Delphi works on other machine.

    No workarounds. TPM installed and VM password encrypted.


  8. 20 hours ago, Celso Henrique said:

    Now, when I call the Use Unit form by keyboard shortcut, the focus is not set on the name field, so I have to use mouse to click there. 

    This doesn't affect my workflow so I will not report this issue in quality portal.
    You can either report it or you will have to live with it.

×