Actions
Bug #11009
closed
RS
RM
StdGridLayoutImpl2.js: totalPreferredSize and totalMinSize are modified before declaration
Bug #11009:
StdGridLayoutImpl2.js: totalPreferredSize and totalMinSize are modified before declaration
Start date:
10/14/2022
Due date:
% Done:
100%
Estimated time:
Description
While working on issue #10967 I noticed that totalPreferredSize and totalMinSize were used before they were declared with var and given an initial value of 0.
I marked this with a FIXME comment "totalPreferredSize and totalMinSize are still undefined here?"
This likely indicates a bug. We should either look into it and fix it if we don't retire JS-based layouts altogether.
RS Updated by Roel Standaert almost 4 years ago
- Related to Improvements #10967: Add linting to Wt's JavaScript and address warnings coming from the linter added
MV Updated by Matthias Van Ceulebroeck about 2 years ago
- Assignee set to Romain Mardulyn
- Target version changed from future to 4.11.2
RM Updated by Romain Mardulyn about 2 years ago
- Status changed from New to InProgress
RM Updated by Romain Mardulyn about 2 years ago
- Status changed from InProgress to Review
RM Updated by Romain Mardulyn about 2 years ago
- Assignee deleted (
Romain Mardulyn)
MV Updated by Matthias Van Ceulebroeck about 2 years ago
- Assignee set to Matthias Van Ceulebroeck
MV Updated by Matthias Van Ceulebroeck almost 2 years ago
- Status changed from Review to Implemented @Emweb
- Assignee changed from Matthias Van Ceulebroeck to Romain Mardulyn
- Target version changed from 4.11.2 to 4.11.1
- % Done changed from 0 to 100
MV Updated by Matthias Van Ceulebroeck almost 2 years ago
- Status changed from Implemented @Emweb to Implemented @Test
MV Updated by Matthias Van Ceulebroeck almost 2 years ago
- Status changed from Implemented @Test to Closed
Actions