View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0030772 | Lazarus | IDE | public | 2016-10-22 14:46 | 2020-10-17 17:04 |
Reporter | Benito van der Zander | Assigned To | Juha Manninen | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Summary | 0030772: Console output window irritated by invalid characters | ||||
Description | If a program prints invalid characters like raise exception.create(#$FC) or writeln(#0#1#2#3), the output window does not just not show the character, but the entire line containing it is missing. Sometimes even the entire window stays blank. Then you think the program failed to print anything, when it actually had memory corruption or output with an invalid encoding. An actual console shows � or ? for such characters. | ||||
Tags | No tags attached. | ||||
Fixed in Revision | |||||
LazTarget | - | ||||
Widgetset | GTK 2 | ||||
Attached Files |
|
|
> writeln(#0#1#2#3) You know that according to the underlying WS the string ends with the Chr(0), so it will stop displaying anything after that. |
|
|
|
This is more serious than I thought. It does not just affect the console window, but all memos on gtk2. For example Memo.lines.loadfromfile('emptymemo') with the attached file results in an empty memo, even though the file is non empty |
|
And a native GTK app (like gedit) can load and display that file correctly? |
|
This has been solved with the new output window in Lazarus 2 |
|
Ok, resolving. |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-10-22 14:46 | Benito van der Zander | New Issue | |
2016-10-22 19:01 | Bart Broersma | Note Added: 0095265 | |
2018-05-04 11:52 | Benito van der Zander | File Added: emptymemo | |
2018-05-04 11:56 | Benito van der Zander | Note Added: 0108137 | |
2018-05-04 16:56 | Bart Broersma | Note Added: 0108139 | |
2020-10-17 13:09 | Benito van der Zander | Note Added: 0126363 | |
2020-10-17 17:04 | Juha Manninen | Assigned To | => Juha Manninen |
2020-10-17 17:04 | Juha Manninen | Status | new => resolved |
2020-10-17 17:04 | Juha Manninen | Resolution | open => fixed |
2020-10-17 17:04 | Juha Manninen | LazTarget | => - |
2020-10-17 17:04 | Juha Manninen | Widgetset | GTK 2 => GTK 2 |
2020-10-17 17:04 | Juha Manninen | Note Added: 0126371 |