Anonymous | Login | Signup for a new account | 2025-01-16 23:07 MSK |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000005 | Scoring Application Prototype | [All Projects] General | public | 2014-05-14 00:35 | 2014-05-27 18:39 | ||||
Reporter | ptrue | ||||||||
Assigned To | ptrue | ||||||||
Priority | normal | Severity | feature | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Sprint #5 | Fixed in Version | Sprint #5 | ||||||
Summary | 0000005: Reduce amount of recalculation | ||||||||
Description | recalculate() should be reduced in two directions: 1) only start from caret position (not from beginning) 2) only recalculate next system if current system bottom position or right-most vertical is changed and only recalculate next page if amount of systems on this page has changed. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |||||||||||
|
Notes | |
(0000009) ptrue (developer) 2014-05-19 02:46 edited on: 2014-05-20 14:35 |
Problem: When page is being recalculated() we always recalculate one system of the next page in order to check if it can fit to the current page. So if it is decided not to continue to the next page then the first system of the next page will have wrong values. Possible solutions: 1) Not to check that system. This is only possible if autoAlignment is turned off. 2) Check some precondition if it make a sense to check that system. Like if we have more material than previously then that system doesn't fit to this page for sure. 3) Save previous state of the system and then restore it if it stays on the next page. 4) Keep all the calculated values separate from the objects so that we just create a new "calculation object" and don't spoil anything by calculations. 5) Don't do the system fragment recaculation until needed. For checking use getMinimumHeight() and getPreferredHeight(). |
Issue History | |||
Date Modified | Username | Field | Change |
2014-05-14 00:35 | ptrue | New Issue | |
2014-05-14 00:35 | ptrue | Status | new => assigned |
2014-05-14 00:35 | ptrue | Assigned To | => ptrue |
2014-05-14 02:02 | administrator | Target Version | => Sprint 0000004 |
2014-05-14 02:04 | administrator | Status | assigned => new |
2014-05-17 14:05 | ptrue | Status | new => assigned |
2014-05-19 02:46 | ptrue | Note Added: 0000009 | |
2014-05-20 14:34 | ptrue | Relationship added | parent of 0000018 |
2014-05-20 14:35 | ptrue | Note Edited: 0000009 | View Revisions |
2014-05-24 12:13 | ptrue | Target Version | Sprint 0000004 => Sprint 0000005 |
2014-05-26 16:21 | ptrue | Status | assigned => resolved |
2014-05-26 16:21 | ptrue | Resolution | open => fixed |
2014-05-27 18:32 | administrator | Relationship added | parent of 0000020 |
2014-05-27 18:39 | administrator | Fixed in Version | => Sprint 0000005 |
Copyright © 2000 - 2025 MantisBT Team |