My main app window when I run the app on 2024R1.1:
Same project file, no code changes whatsoever, just opened and run on 2024R2:
Can anyone else confirm any menu weirdness in 2024R2? I simply can not get my File menu to display, and the Help menu is in the wrong spot.
I Have File and Edit in a very small project (one window, no open…)
Checking a larger/traditional one…
No Help Menu (I do not populated one).
1 Like
Update: My HelpMenu.Visible is set to false in the IDE. This is so I can selectively display it when it’s contextually relevant.
If I set HelpMenu.Visible to true in the IDE, my menus work as expected (File menu comes back… weird). I can then set HelpMenu.Visible = False in code in the Window’s Opening event and I workaround this new behavior.
I still think this is some kind of Xojo bug but I’m not sure exactly what’s going on yet.
At last, I loaded a project where I have a Settings MenuItem set… in Help: I have all my menus.
Check with a different project. The one you use may be corrupted or… ?
I had that thought too! But it works fine in 2024R1.1 so I believe the project file is okay. I will test with some other projects and see if I can replicate this. If not I’ll try to make an example project to submit with a ticket.
Appreciate you taking the time to check your own projects and reporting back. Thanks!
You’re welcome.
I wanted to look at 2024r2 when I read your question.
1 Like
Yup. I can replicate this. Download this project. Run it in 2024R1.1 and run it again in 2024R2. The menus are different (Windows only).
On 2024R2, flip the switch for Visible on HelpMenu to true. Now the menus display as they do on 2024R1.1.
I will check later.
Tip: if you replace (in the provided link) the ending 0 by 1 (zero replaced with one), the downoad is done at click instead of a page opening, etc…
2 Likes
This may have something to do with this item from the release notes:
- Windows: DesktopMenuItem.Visible is now supported for Windows. Note: this does not affect the deprecated MenuItem. (72468)
The visibility flag seems to be getting mixed up between DesktopMenuItems.
Created issue 76753.
1 Like