View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001124 | Ecere SDK | ide | public | 2017-02-17 20:20 | 2017-02-17 20:38 |
Reporter | CaptainBlackton | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | always |
Status | confirmed | Resolution | open | ||
Platform | Desktop | OS | Linux Mint | OS Version | 18.1 |
Summary | 0001124: Setting font.size in Window crashes IDE without explanation | ||||
Description | Adding the line "font.size = 24" (or any other value besides 24) in Window and saving will immediately crash the IDE without explanation. A sample file cannot be attached because the file cannot be saved without crashing the IDE. | ||||
Steps To Reproduce | Open IDE Open "Project" menu Select "New" Name project Press "OK" Click "OK" to create form Open "View" menu Select "View Code" Inside of Form1, add the line "font.size = 24" Save the project Crash! | ||||
Additional Information | The most recent development version was used: Build 201701300646+0~2967~ubuntu16.04.1 | ||||
Tags | No tags attached. | ||||
|
Confirmed that this can be reproduced. However, the 'font' property from within class default property values, or in setting values for instantiation members, should always only be 'set' as a whole, e.g. font = { "Arial", 24 }; This is because setting font.size in this manner ends up resetting the same FontResource object to the 'font' property, and because 'FontResource' is not a struct (e.g. like it is supported for size.w = 80), this is not meant to be done. Furthermore, instance the FontResource object being set is not necessarily the one being returned by the 'get', so this further complicates things. Although it is unfortunate that this crashes the IDE, preventing the crash would likely be involved, therefore fixing this is unlikely to be prioritized. |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-02-17 20:20 | CaptainBlackton | New Issue | |
2017-02-17 20:38 | jerome | Note Added: 0001455 | |
2017-02-17 20:38 | jerome | Assigned To | => jerome |
2017-02-17 20:38 | jerome | Status | new => confirmed |
2017-02-17 20:38 | jerome | Assigned To | jerome => |