View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0031684 | Lazarus | LCL | public | 2017-04-20 06:19 | 2017-04-20 18:50 |
Reporter | Andrey Zubarev | Assigned To | Zeljan Rikalo | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Summary | 0031684: AV in TQtWSWinControl.ShowHide | ||||
Description | Call stack: #0 SHOWHIDE(0x7fffe380a0f0, 0x7fffe3809ab0) at qt/qtwscontrols.pp:636 0000001 DOSENDSHOWHIDETOINTERFACE(0x7fffe3809ab0) at include/wincontrol.inc:8364 0000002 CMSHOWINGCHANGED(0x7fffe3809ab0, {MSG = 45081, UNUSEDMSG = 0, WPARAM = 0, LPARAM = 0, RESULT = 0}) at include/wincontrol.inc:8552 0000003 SYSTEM$_$TOBJECT_$__$$_DISPATCH$formal at :0 0000004 ?? at :0 0000005 .Ld228 at :0 0000006 ?? at :0 0000007 ?? at :0 0000008 ?? at :0 0000009 ?? at :0 0000010 ?? at :0 Fix: Index: lcl/interfaces/qt/qtwscontrols.pp =================================================================== --- lcl/interfaces/qt/qtwscontrols.pp (revision 54646) +++ lcl/interfaces/qt/qtwscontrols.pp (working copy) @@ -632,7 +632,7 @@ if AWinControl.HandleObjectShouldBeVisible and (LowerCase(AWinControl.Font.Name) = 'default') then begin - if AWinControl.IsParentFont then + if (AWinControl.IsParentFont)and(assigned(AWinControl.Parent)) then SetFont(AWinControl, AWinControl.Parent.Font) {DO NOT TOUCH THIS PLEASE !} else SetFont(AWinControl, AWinControl.Font); {DO NOT TOUCH THIS PLEASE !} | ||||
Tags | No tags attached. | ||||
Fixed in Revision | 54654 | ||||
LazTarget | - | ||||
Widgetset | QT, QT5 | ||||
Attached Files |
|
|
Please test and close if ok. Note: I've copied all changes from qt4 to qt5, in any case both changes goes to 1.8 fixes. |
|
Thanks! |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-04-20 06:19 | Andrey Zubarev | New Issue | |
2017-04-20 10:16 | Zeljan Rikalo | Assigned To | => Zeljan Rikalo |
2017-04-20 10:16 | Zeljan Rikalo | Status | new => assigned |
2017-04-20 18:05 | Zeljan Rikalo | Fixed in Revision | => 54654 |
2017-04-20 18:05 | Zeljan Rikalo | LazTarget | => - |
2017-04-20 18:05 | Zeljan Rikalo | Widgetset | QT => QT, QT5 |
2017-04-20 18:05 | Zeljan Rikalo | Note Added: 0099711 | |
2017-04-20 18:05 | Zeljan Rikalo | Status | assigned => resolved |
2017-04-20 18:05 | Zeljan Rikalo | Resolution | open => fixed |
2017-04-20 18:50 | Andrey Zubarev | Note Added: 0099713 | |
2017-04-20 18:50 | Andrey Zubarev | Status | resolved => closed |