Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
6.8.3
-
None
Description
Sometimes I found that I overwrote a native method (e.g. `paintEvent` or `sizeHint`) and had a typo in it. It would just exit the function and return a value as if the override didn’t exist.
Find the attached example of a custom QStyledItemDelegate where sizeHint is overwritten and a function is called that does not exist. Launching the application will have the cells in their default size. “sizeHint 1” is printed, “sizeHint 2” is not because the function was quit in the mean time.
No exception or warning is printed.
(In this particular instance a warning is printed when resizing the window but not initially)
Attachments
Issue Links
- relates to
-
PYSIDE-2310 Reg->6.4.3: Crashing without error reporting in Qt-based threads starting from PySide6 v6.4.3
-
- Closed
-