Menu

#29 With wxWidgets 3.2, warning `/usr/src/debug/wxWidgets-3.2.0/src/common/sizer.cpp(2267): assert "CheckSizerFlags(!((flags) & (wxALIGN_RIGHT)))" failed in DoInsert(): wxALIGN_RIGHT will be ignored in this sizer: only vertical alignment flags can be used in horizontal sizers` shows up very prominently.

v1.2
closed-fixed
Mike W.
None
5
2025-09-15
2022-07-21
Drei Eck
No

With wxWidgets 3.2, when I start the software I get the following message (printed to the terminal and shown in a popup window):

/usr/src/debug/wxWidgets-3.2.0/src/common/sizer.cpp(2267): assert "CheckSizerFlags(!((flags) & (wxALIGN_RIGHT)))" failed in DoInsert(): wxALIGN_RIGHT will be ignored in this sizer: only vertical alignment flags can be used in horizontal sizers

DO NOT PANIC !!

If you're an end user running a program not developed by you, please ignore this message, it is harmless, and please try reporting the problem to the program developers.

You may also set WXSUPPRESS_SIZER_FLAGS_CHECK environment variable to suppress all such checks when running this program.

If you're the developer, simply remove this flag from your code to avoid getting this message. You can also call wxSizerFlags::DisableConsistencyChecks() to globally disable all such checks, but this is strongly not recommended.

I need to click "Continue" in the popup window, to continue. After two or three of those popups, the software starts up.

Discussion

  • Mike W.

    Mike W. - 2025-08-30

    Yes this is a major problem that I also encountered. In spite of my best efforts I haven't been able to overcome this problem and it has held up on-going development. Fortunately with the latest release of wxWidgets (v3.2.81) and GTK3 the problems have gone away. It was looking like a problem with the libraries but it was difficult to prove to myself. Anyway all's well that ends well.

    I'm now going to close this bug. Thanks for the feedback.

     

    Last edit: Mike W. 2025-08-30
  • Mike W.

    Mike W. - 2025-08-30
    • status: open --> closed-fixed
    • assigned_to: Mike W.
    • Group: v1.1 --> v1.2
     
  • Drei Eck

    Drei Eck - 2025-09-15

    What about a new release so that packages can update?

    Latest release I find at https://sourceforge.net/projects/gspiceui/files/gSpiceUI/ is still 1.2.87.

    Regards!

     

Log in to post a comment.

MongoDB Logo MongoDB