Menu

#379 Macro Library form shown full screen on startup

New
open
nobody
None
5
2024-12-06
2024-06-11
No

With Delphi 10.1 Rad Studio, GExperts 1.3.22 build 4008, on Windows 11
Often, when I start Delph the screen is filled with an empty 'Keyboard Macro Library'. I can't close it or minimze it but I can drag it out of the way. Then I can choose GExperts|Keyboard Macro Library and then I can close the window.
I don't know if it's relevant but I have two momitors, (My laptop plus an extra monitor) .
I do not have any macros recorded.
If this isn't considered to be a bug can you advise how I stop it happening please.

Discussion

  • Thomas Mueller

    Thomas Mueller - 2024-06-11

    If you don't use this expert - which I assume since it does not show any macros, just disable it in the GExperts configuration form. That should prevent it from showing.

    But yes, this is a bug.

    Maybe you have at some time saved the current IDE desktop and by this saved some window position that doesn't fit your current hardware setup? In that case it should be possible to simply save the desktop again once the window is closed.

     

    Last edit: Thomas Mueller 2024-06-11
    • Achim Kalwa

      Achim Kalwa - 2024-06-11

      The macro window is created when the IDE starts. At that time, LoadSettings is called, which loads the saved form position and size. When the IDE closes, the destructor calls SaveSettings. I'll add some code to use the OnFormShow event to load the settings; and OnFormClose to call SaveSettings; but only when the form is undocked (floating). Do you mind?

       
      • Thomas Mueller

        Thomas Mueller - 2024-06-11

        Do you mind?

        If it works, I don't.

         

        Last edit: Thomas Mueller 2024-06-11
        • Achim Kalwa

          Achim Kalwa - 2024-06-11

          Sorry, it does not work. 1 out of 10 the form is show at (0,0). Need to debug deeper.

           
    • Martin Gibson

      Martin Gibson - 2024-06-12

      OK, for now I have disabled it.

       
  • Martin Gibson

    Martin Gibson - 2024-06-16

    But disabling Keybord Macro doesn't stop the macro window appearing maximised when Delphi starts, but it does stop me from getting rid of th ewindow. You have to enable macros again to be able to close the window.

     
    • Achim Kalwa

      Achim Kalwa - 2024-06-16

      Maybe the Keyboard Macro Library window is part of a saved desktop? Please try to save the current IDE desktop after you've closed that form. I've followed the code a dozend times now; but I can't see where it would fail (it doesn't happen on my computer).

       
  • Martin Gibson

    Martin Gibson - 2024-06-16

    I also get half hidden buttons like this

    My laptop screen maximum resolution is 3456 x 2160 but I have it set to 1920 x 1080

     

    Last edit: Martin Gibson 2024-06-16
    • Thomas Mueller

      Thomas Mueller - 2024-12-06

      That one is fixed now.

       

Log in to post a comment.

MongoDB Logo MongoDB