Public bug reported:
When launching Aegisub 3.2, the application outputs numerous wxWidgets
assertions from src/common/sizer.cpp:
assert "CheckSizerFlags(...)" failed in DoInsert():
wxALIGN_RIGHT | wxALIGN_CENTRE_HORIZONTAL | wxALIGN_BOTTOM |
wxALIGN_CENTRE_VERTICAL will be ignored in this sizer:
wxEXPAND overrides alignment flags in box sizers
The warning is displayed repeatedly, suggesting that several controls
are added to box sizers with incompatible flag combinations.
After the repeated warnings, Aegisub encounters a more serious
assertion:
./src/common/sizer.cpp(1179): assert "Assert failure"
failed in RecalcSizes():
Must be overridden if RepositionChildren() is not
This indicates that a custom sizer implementation may be missing a
required RecalcSizes() override, causing layout recalculation to fail.
Observed Behavior
Multiple wxWidgets sizer assertions are printed.
UI layout initialization appears to be incorrect.
Application eventually hits a fatal assertion in RecalcSizes().
The program may become unusable or terminate depending on build configuration.
Expected Behavior
Aegisub should initialize its interface without wxWidgets assertion failures.
Layout management should use valid sizer flags.
Custom sizers should properly implement required methods (RecalcSizes() and
related layout functions).
Relevant Assertion Messages
./src/common/sizer.cpp(2299): assert "CheckSizerFlags(...)" failed in
DoInsert()
and
./src/common/sizer.cpp(1179): assert "Assert failure" failed in RecalcSizes():
Must be overridden if RepositionChildren() is not
Possible Cause
Invalid combination of wxEXPAND with alignment flags in one or more box sizers.
A custom sizer class overriding RepositionChildren() without providing a
corresponding RecalcSizes() implementation.
Potential incompatibility between Aegisub 3.2 and newer wxWidgets versions
exposing stricter layout checks.
Environment
Aegisub 3.2
wxWidgets (version not yet identified)
Linux (based on file paths shown in assertions)
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: aegisub 3.2.2+dfsg-7.1build2
ProcVersionSignature: Ubuntu 6.8.0-124.124-generic 6.8.12
Uname: Linux 6.8.0-124-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: XFCE
Date: Sun Jun 14 04:47:35 2026
InstallationDate: Installed on 2021-03-18 (1913 days ago)
InstallationMedia: Xubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
SourcePackage: aegisub
UpgradeStatus: Upgraded to noble on 2024-09-06 (646 days ago)
** Affects: aegisub (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug noble
** Attachment added: "Captura de tela_2026-06-14_04-54-54.png"
https://bugs.launchpad.net/bugs/2156692/+attachment/5977298/+files/Captura%20de%20tela_2026-06-14_04-54-54.png
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2156692
Title:
When launching Aegisub 3.2, the application outputs numerous wxWidgets
assertions from src/common/sizer.cpp
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aegisub/+bug/2156692/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs