Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Error log on exit: "Problem creating accessible interface for txtChatFont" #4670

Closed
anthonybilinski opened this issue Sep 21, 2017 · 1 comment
Labels
C-bug The issue contains a bug report

Comments

@anthonybilinski
Copy link
Member

Commit hash: b7921ef

Reproducible: Always

Steps to reproduce
  1. Open qTox
  2. Close qTox
Observed Behavior
[18:30:23.786 UTC] main.cpp:65 : Debug: Cleanup success
[18:30:23.786 UTC] main.cpp:341 : Debug: Exit with status 0
[18:30:23.805 UTC] :0 : Warning: Problem creating accessible interface for:  QFontComboBox(0xea534599d0, name = "txtChatFont") 
Make sure to deploy Qt with accessibility plugins.
Expected Behavior

No error.

anthonybilinski added a commit to anthonybilinski/qTox that referenced this issue Sep 21, 2017
@anthonybilinski
Copy link
Member Author

This is prevented by destructing UserInterfaceForm on SettingsWidget's widget. Currently SettingsWidget constructs a bunch of pointers that it puts in a vector, then on destruction destroys the vector but not its contents.

Moving all of cfgForms's contents to std::unique_ptrs removes the error for me. I did the same for settingsWidgets.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
C-bug The issue contains a bug report
Projects
None yet
Development

No branches or pull requests

2 participants