Window state problem on start up

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #36439
    ozok
    Participant

    Hi,

    I noticed a bug when restoring form state in program start up, using the 9.19 version in XE7.

    You can download the program here: http://www.fosshub.com/OooPlayer.html

    It's easy to reproduce the problem.

    1. Start the program.

    2. Minimize it to the taskbar.

    3. Close it (make sure form is not shown).

    4. Restart the program. Under win 8.1 it will not be shown (I sometimes cannot reproduce it under Win7). Disabling the skin solves the problem. I use TJvFormStorage to store the form position. Full source code can be reached from here: https://github.com/ozok/OooPlayer

    Best regards.

    #53084
    Support
    Keymaster

    Hi!

    I have tried to compiled and run your application with success.

    Unfortunately, I can't reproduce the issue under Win7, but I will try to catch it later under WIn8.

    I have one trick for you now, when program is loading, you are changing a SkinName and window is blinking at this moment:

    Code:
    MainForm.sSkinManager1.SkinName := sSkinManager1.InternalSkins[LSkinIndex – 1].Name;

    So, I suggest you to add 2 lines like this:

    Code:
    MainForm.sSkinManager1.BeginUpdate;
    MainForm.sSkinManager1.SkinName := sSkinManager1.InternalSkins[LSkinIndex – 1].Name;
    MainForm.sSkinManager1.EndUpdate;

    Showing of form will be better.

    #53114
    ozok
    Participant

    Thanks for the tip, it indeed stopped blinking. I hope you can reproduce that problem because it is so annoying.

    PS. I've just installed 9.20 but skinmanager still show version as 9.19.

    #53119
    BionicWave
    Participant
    'ozok' wrote:

    Thanks for the tip, it indeed stopped blinking. I hope you can reproduce that problem because it is so annoying.

    PS. I've just installed 9.20 but skinmanager still show version as 9.19.

    Just remove the components-package from the palette and reinstall the dpr files again. That should work.

    #53134
    Support
    Keymaster

    Hello

    First uploaded files had this problem with version number. But they were updated later.

    Maybe you should redownload and install them again, or just ignore this issue (this issue has no influence to work of components).

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