Button flashing with Delphi 10.4.2 and SkinEngine 15.23

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #70006
    Robert Crandall
    Participant

    I finally upgraded from Delphi 10.3.3 and SkinEngine 14.37 to Delphi 10.4.2 and SkinEngine 15.23 and I’m seeing a problem with my button presses.

    When I press a button I get a distinct flicker or flash of it in white before it gets repainted. The times vary and can be up to 0.1 seconds I estimate. The program (64-bits) works but it cannot be released like this. There was no flicker at all before.

    As a test, I swapped out our skin for the “Cold” skin. The Cold skin has the same button flashing artifact as I saw with our own skin.

    What can I try next? I’m stumped. Is there some new property somewhere I can adjust?

    Thanks in advance, Rob Crandall

    #70008
    Support
    Keymaster

    Hello, Rob!
    Manifest is enabled in this project?
    Such behavior is possible if application was built without manifest.

    #70010
    Robert Crandall
    Participant

    Thank you for the speedy reply! That gives me something to Google now.

    I was doing some tests this morning and found that the behaviour changed from 15.13 to 15.14. Up to ver 15.13 there was no flicker, after 15.14 it flickers for me.

    I will read up on manifests now!

    Thanks again, Rob C

    #70011
    Robert Crandall
    Participant

    OK, checking “Enable Runtime Themes” seemed to fix the problem for me. Is this the correct answer? I ask only because I ended up poking things at random until something worked and that is not always the best way to go, lol.

    Cheers, Rob C

    Attachments:
    You must be logged in to view attached files.
    #70018
    Support
    Keymaster

    If manifest is not used then old API used for drawing and some useful features are not available for application. The application works in mode of compatibility with Windows Vista if I’m not wrong. So, I recommend to use a default manifest there. And I will check buttons without manifest, maybe I will find a solution.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.