GUI tests hang if primary/secondary buttons are swapped (Issue #25824)

24 views
Skip to first unread message

Richard Thomson

unread,
Sep 22, 2025, 7:24:59 PM (2 days ago) Sep 22
to wx-...@googlegroups.com, Subscribed
LegalizeAdulthood created an issue (wxWidgets/wxWidgets#25824)

Description

Bug description:

Checking out master and running the GUI tests causes them to hang when my mouse buttons are swapped. If I revert the mouse buttons to the standard "left is primary", "right is secondary" then the tests don't hang, but some still fail.

Expected vs observed behaviour:

Presumably the tests are faking up mouse events. They should refer to the buttons symbolically as "primary" and "secondary" instead of assuming that left == primary.

To Reproduce:

  1. Set primary button to Right in mouse options
  2. Run test_gui
  3. Test hangs and context menu is displayed in GUI test app

Platform and version information

  • wxWidgets version:
    ace3d4d936 2025-09-18 vadim Merge branch 'cmake-lib' of github.com:MaartenBent/wxWidgets
  • wxWidgets port wxMSW
  • OS Windows 11


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/25824@github.com>

VZ

unread,
Sep 23, 2025, 8:32:52 AM (2 days ago) Sep 23
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#25824)

We probably could account for this in src/msw/uiaction.cpp but, frankly, this is rather low priority.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/25824/3323822231@github.com>

Richard Thomson

unread,
Sep 23, 2025, 11:37:14 AM (2 days ago) Sep 23
to wx-...@googlegroups.com, Subscribed
LegalizeAdulthood left a comment (wxWidgets/wxWidgets#25824)

Completely understandable on the priority. I am a little perplexed why all the test executables have at least one failure on my Windows 11 machine. I'd like to be able to run the tests clean, so if I come up with fixes, I'll submit PRs.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/25824/3324549169@github.com>

Reply all
Reply to author
Forward
0 new messages