Marc-Andre.Roberge@mus.ul wrote:if I add "text=2;"
text=2
Do you mean left=2, as I had suggested? If that's what you mean, then you are getting the exact behavior that I described...
kevin3442 wrote:If you move the main menu to left=2 or so, you'll also notice that the left edge of the first submenu opens even with the left edge of the main menu.
In other words, the left side of the main menu and the first submenu align if left=2 in the main menu. The point here is that the left edges of the main menu and the submenu align only if the main menu is not at 0 (or 1 for that matter). If the main menu is at left=0, then the submenu, which would normally open at the same left location as the parent item, is automatically moved to the right by the menu system. Manually applying a left offset to the submenu does not overcome this behavior; the offset is ignored unless the main menu is mved away from the left edge of the window. The only functions that I know of that automatically adjust menu positions have to do with preventing collision with, and therefore clipping by, the edges of the window.
So the tests described above suggest to me that it is these anti-collision functions that are moving the submenu, and must therefore be by design. That's not to say that the design is what you want in this case... just looking for a logical explanation of the behavior. I agree that it's a little odd that the behavior changed after RC19; one wonders why. Of course, there have been several other small shifts or changes since RC19. If you think your menu shouldn't behave the way you describe, you might want to post it in the "bugs" topic.
Regards,
Kevin