Jump to content

Dalija Prasnikar

Members
  • Content Count

    1148
  • Joined

  • Last visited

  • Days Won

    106

Everything posted by Dalija Prasnikar

  1. Dalija Prasnikar

    Need help: Datasnap, Rest, Json and Marshalling

    This is design error in built in Delphi JSON library. Instead of working with properties it works with fields. https://quality.embarcadero.com/browse/RSP-26262 AFAIK there are some options to add custom converters , but I never used it... take a look at REST.JsonReflect and Data.DBXJSONReflect
  2. Dalija Prasnikar

    Null value for T

    Yes, there is. Result :=Default(T);
  3. I have just realized that your path is probably wrong I have it in "C:\Users\Public\Documents\Embarcadero\Studio\20.0\Styles"
  4. VCLStyle entry in registry is not the name of the file, but name of the style in Editor - without .vsf.
  5. For extracting resources Google for PE resource editor. You don't have to rebuild bpl again, just put your VCL Style in common path where IDE can find it (where other VCL Styles are located) and then change following keys in registry: Computer\HKEY_CURRENT_USER\Software\Embarcadero\BDS\20.0\Theme Key: Theme Value: Custom Key: VCLStyle Value: YourStyleName (That would be the name you give in VCL Style Editor under Name Unfortunately, VCL Styles are bitmap based and you cannot just change few RGB color values, you have to edit bitmaps. You can export complete style as one PNG and then you can edit colors in some image editing tool. After you are done, import new image back in. You will also need to go to Style -> Assign Colors to apply colors from bitmap back to Colors and SysColors. After that check if all those colors are correct (I think few were not assigned correctly) Depending on how much customizing you need and want, it can be a lot of work. I modified Light theme to grayscale, but that was rather easy as I just converted whole png to grayscale (except for the close button)
  6. There are few problems here. First, IDE themes are slightly different from general VCL Styles so you cannot use them because some parts of IDE will not be painted properly. Next VCL Style editor is rather hard to use for creating any theme from scratch. Your best option would be to extract theme resource from darktheme260.bpl (haven't checked if this is the right bpl, as I have customized light theme), and then use that resource as starting point for your customization. IDE themes are copyrighted, so you should not distribute such hacked theme.
  7. Dalija Prasnikar

    RAD Studio 10.3.3 now available

    Also there are some bugs with that circles... Stepping through debugger activates file modified icon https://quality.embarcadero.com/browse/RSP-26776
  8. Dalija Prasnikar

    Debugger in 10.3.3 is useless :'(

    I didn't either... I was told about that in one of those closed bug reports I made about LF issues.
  9. Dalija Prasnikar

    Debugger in 10.3.3 is useless :'(

    Tools -> Options -> User Interface -> Editor -> uncheck Preserve line ends
  10. Dalija Prasnikar

    Debugger in 10.3.3 is useless :'(

    Don't remember exactly... but something along the lines implementing support for <LF> would be too much work, so make sure you have correct line endings in your code. There is also option to autocorrect while saving so that helps with pasting code... where it does not help is if your VCS messes your endings.
  11. Dalija Prasnikar

    Debugger in 10.3.3 is useless :'(

    All bug reports about this issue were closed as Won't fix.
  12. Dalija Prasnikar

    Delphi 10.3.3 CE IDE issues

    It is fixed.
  13. Dalija Prasnikar

    Delphi 10.3.3 CE IDE issues

    They fiddled around with theming support in 10.3.3 and there were some changes... apparently not all were for the better. Right now, theming is my number one suspect when IDE is misbehaving... and (unfortunately) usually I am right about that
  14. Dalija Prasnikar

    Delphi 10.3.3 CE IDE issues

    @Phil J. If I may ask, what are your computer specs? CPU, screen resolution, graphics card? I would like to file issue in Quality Portal so adding those specifications might help in pinpointing and fixing the problem for the future. I don't think it can be completely fixed because using styled custom painting on top of Windows controls can never be as fast as plain Windows painting, but speed improvements might be possible.
  15. Dalija Prasnikar

    Delphi 10.3.3 CE IDE issues

    Delphi Rio introduced new IDE styling (themes) that are not exactly super performant. If you have older computer, you might have some issues. I don't think you should have as much problem as you describe, but anything is possible. You can try disabling new IDE theming and use default Windows theme. You can find how to do that at https://dalijap.blogspot.com/2019/05/disable-delphi-rio-ide-theme.html I have to mention that using Windows theme is no longer officially supported and you can run into some issues because of that. I have been using Rio with default Windows theme since it was released and I didn't have any major issues (ones I did have - crashes in GetIt package manager and Find in files) have been resolved in the meantime.
  16. Dalija Prasnikar

    Delphi 10.3.3 has been released

    I never realized Web installer also does that. I use migration tool, and I always uninstall first manually.
  17. Dalija Prasnikar

    Debugger in 10.3.3 is useless :'(

    @Clément Sometimes simply moving problematic code to the end of the unit helped. Debugging in Rio is much worse than in Tokyo.
  18. Dalija Prasnikar

    Anyone successsful with 64bit Android Debugging?

    Android 64bit debugging has issues on some devices. Debugging 64 bit Android application hangs the IDE https://quality.embarcadero.com/browse/RSP-26704 Can you please add information about your device - model and Android version to the above bug report.
  19. Dalija Prasnikar

    Delphi 10.3.3 has been released

    @PeterPanettone Have you reported issue with uninstalling from Control Panel?
  20. Dalija Prasnikar

    Delphi 10.3.3 has been released

    Reported as https://quality.embarcadero.com/browse/RSP-26321 somehow it was not Opened. I guess that IDE is fully functional only at 100% DPI. All other scaling settings are causing trouble.
  21. Dalija Prasnikar

    Debugger in 10.3.3 is useless :'(

    This sounds similar to Debugger shows blue dots at wrong lines https://quality.embarcadero.com/browse/RSP-23497 But I have been seeing such issues in all Rio versions. However, I could not create small reproducible test case. I have tried to simulate part of your problematic code and it works fine in 10.3.3 for me. It seems like trigger requires more complex code.
  22. Dalija Prasnikar

    Delphi 10.3.3 has been released

    The best options would be opening the installation support ticket https://www.embarcadero.com/support But AFAIK support only works Monday-Friday I just found someone had similar issue (read the comments) http://blog.marcocantu.com/blog/2019-november-delphi-10-3-3-available.html full Uninstall/Reinstall helped in that case. Maybe try installation without adding Microsoft SDK. Or try using the web install if downloading is not a problem for you. I am sorry that I cannot be of more help, but the last ISO installer I used was for XE4.
  23. Dalija Prasnikar

    Delphi 10.3.3 has been released

    @Erix A. @PeterPanettone @Darian Miller I haven't used ISO for a while... but Delphi updates (including web installer) always required complete uninstall and reinstall procedure. You can only use Modify/Repair if you are modifying or repairing with the same installer you originally installed. If that is 10.3.2, then you can only use it for modifying 10.3.2 features. There is a migration tool installed, accessible from Windows Start Menu that can be used for importing/exporting settings between various versions. But migration tool needs to be run before uninstalling. Also it is a bit flaky and not all settings are properly migrated. ISO installer had option to keep registry settings and that part worked better.
  24. As far as I can remember most of the work in formatter was done by XE4. I had few issues reported and I think they were all resolved by that time period (bugs, not feature requests). I cannot verify because old QC is offline. I don't think there are major differences between XE4 and Rio (including versions in between) or should I say if there are differences, chances are that it is more broken now than before because some newer language constructs are not fully supported. Anyway, I never ever use it to format whole units as it still can destroy readability. I only use it on selections.
  25. Dalija Prasnikar

    Cross-platform solution to forcefully end a thread

    -Edward A. Lee, "The Problem With Threads" All I can say to Professor Lee is good luck with creating any non trivial mobile application without using threads that will not be killed by the OS for not responding or performing network operations on main thread. Theory is one thing practice another.
×