-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Images flickable has performance bug #187
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this PR fix both issues? if so please complete this! otherwise move related changes to another branch
resources/Core/SelectionModel.qml
Outdated
Object.values(nodes).forEach(node => { | ||
selectNode(node); | ||
selectedModel[node._qsUuid] = node; | ||
}); | ||
|
||
Object.values(links).forEach(link => { | ||
selectLink(link); | ||
selectedModel[link._qsUuid] = link; | ||
}) | ||
|
||
Object.values(containers).forEach(container => { | ||
selectContainer(container); | ||
selectedModel[container._qsUuid] = container; | ||
}) | ||
|
||
selectedModelChanged(); | ||
|
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixing another issue for select all performance! mention in the description!
but it will not fix selecting with marquee performance bug!
…l class to prevent excess calls.
…er and selectNode functions).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mohsenkondori please check my changes
@HamedMasafi we need to profile it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
loading file still is slow! the selection model and addNode method can be optimized for this scenario
Description
Images flickable has performance bug when all nodes are selected fixed
Fixing #178 , #179
Type of change
Checklist: