View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002365 | NoesisGUI | C++ SDK | public | 2022-06-25 05:38 | 2022-06-30 19:36 |
Reporter | nikobarli | Assigned To | sfernandez | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.1.3 | ||||
Target Version | 3.1.6 | Fixed in Version | 3.1.6 | ||
Summary | 0002365: Assertion is thrown when backspace key is pressed after a long text is entered | ||||
Description | Happens with 100% probability. Didn't immediately crash application in Release mode, but probably causes unintended memory access. | ||||
Steps To Reproduce | 1. Run "Application Tutorial" (demo application included in Noesis package) in DEBUG mode 2. Enter a long text (30 characters seem to sufficient, but the longer may be the better) 3. Press Backspace key // Assertion is thrown -> see the attached image | ||||
Tags | No tags attached. | ||||
Platform | Any | ||||
|
|
I am unable to reproduce this. Could you please, paste the exact text you are using? And if possible, the values of the vector mRuns from the function that is crashing HitTestTextPosition. Thank you |
|
For example, I can reproduce it with text "123456789012345678901234567890" (30 characters). Inside HitTestTextPosition, mGlyphs is a vector with size 29, but is indexed with idx=textPosition+1=29, which is beyond the range of mGlyphs. mRuns is 1 element vector, please find its contents in the attached screen capture. Thanks. |
|
I finally reproduced it, I needed to switch to Japanese IME. Thank you, we are working on a solution. | |
Resolved in changeset 11464. | |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-06-25 05:38 | nikobarli | New Issue | |
2022-06-25 05:38 | nikobarli | File Added: assertion.png | |
2022-06-27 11:38 | jsantos | Assigned To | => jsantos |
2022-06-27 11:38 | jsantos | Status | new => assigned |
2022-06-27 11:39 | jsantos | Assigned To | jsantos => |
2022-06-27 11:39 | jsantos | Target Version | => 3.1.6 |
2022-06-27 11:41 | jsantos | Note Added: 0008002 | |
2022-06-27 11:41 | jsantos | Assigned To | => jsantos |
2022-06-27 11:41 | jsantos | Status | assigned => feedback |
2022-06-29 14:22 | nikobarli | Note Added: 0008003 | |
2022-06-29 14:22 | nikobarli | File Added: assertion2.png | |
2022-06-29 14:22 | nikobarli | Status | feedback => assigned |
2022-06-30 12:57 | jsantos | Note Added: 0008005 | |
2022-06-30 12:57 | jsantos | Assigned To | jsantos => sfernandez |
2022-06-30 19:36 | sfernandez | Status | assigned => resolved |
2022-06-30 19:36 | sfernandez | Resolution | open => fixed |
2022-06-30 19:36 | sfernandez | Fixed in Version | => 3.1.6 |
2022-06-30 19:36 | sfernandez | Note Added: 0008006 |