Menu

#1591 Right clic does not work the 1st time in the managment window

Undefined
open
nobody
None
Bug_Report
2026-03-14
2026-03-12
No

OS: Windows 11 updated in march 2026
With my svn 13822 build, the first time I try a right click in the management window, on a project or a file, nothing happens. But if I click again it works as expected: I see a popup window with correct sub-menus. After that, each right click works as expected. It's only the first time that nothing happens.
Note that this behavior does not happen with official nightly 13810.
Main differences: I use last updated Msys2 gcc 15.2 and tools, and wxWidgets 3.3.2 (it aws also the case with 3.3.1), though official nightly use Winlibs distribution (gcc 15.1) and wxWidgets 3.2.8.

Discussion

  • Miguel Gimenez

    Miguel Gimenez - 2026-03-12

    r13822 works OK here:

    • W7
    • wx3.2.10
    • 32-bits
    • gcc 8.1.0 from MinGW-w64

    Also works OK on:

    • Mint 18.2
    • wx3.0.2
    • 32-bits
    • gcc 5.4.0
     

    Last edit: Miguel Gimenez 2026-03-12
  • Miguel Gimenez

    Miguel Gimenez - 2026-03-13

    I have just tested Xaviou's last nightly (CB_20260312_rev13823_wx33_win64) with wxWidgets 3.3.2 and works OK. I do not know if he uses MSYS.

     
  • Gerard DURAND

    Gerard DURAND - 2026-03-13

    I have also tested Xaviou's nightly (Win 64, wxWidgets 3.3.2) and effectively it has not the problem I have. So, he uses probably a different compiler set (binary are not compatible). This problem is not very important, just a bit annoying. But I have no idea how to track and identify it.

     
  • Miguel Gimenez

    Miguel Gimenez - 2026-03-13

    You can start checking if ProjectManagerUI::OnRightClick() is executed at all on the first click. I just insert a wxBell() for this kind of tests.

     
  • Gerard DURAND

    Gerard DURAND - 2026-03-14

    A few tries but I don't really understand what's happen :
    If I insert wxBell(); at line :

    • 1465: no bell rings at all. as if it never pass here !
    • 1532: it rings only when the menu is displayed, normal
    • 1108: it rings only when the menu is displayed when I click on main workspace, normal
    • 914: it rings only when the menu is displayed, normal

    PS: I have sent a PM to ollydbg because he uses also wxWidgets 3.3.2 and last Msys2

     

    Last edit: Gerard DURAND 2026-03-14
  • ollydbg

    ollydbg - 2026-03-14

    I'm using the rev13826, plus I have some patches locally mainly on the codecompletion plugins.

    I'm under Windows 10 64bit, and I used the latest GCC version(15.2) in msys2/mingw64 platform. My wxWidgets version is 3.3.2.

    I don't have such issue.

     

    Last edit: ollydbg 2026-03-14

Log in to post a comment.

MongoDB Logo MongoDB