Skip to content
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

Selecting many tracks in the AutoDJ queue may freeze the GUI #12520

Open
ronso0 opened this issue Jan 6, 2024 · 0 comments
Open

Selecting many tracks in the AutoDJ queue may freeze the GUI #12520

ronso0 opened this issue Jan 6, 2024 · 0 comments

Comments

@ronso0
Copy link
Member

ronso0 commented Jan 6, 2024

Bug Description

Reported here https://mixxx.discourse.group/t/i-did-something-stupid/28750, and confirmed.

I suspect it's the function that updates the track count and play duration of the queue.

void DlgAutoDJ::updateSelectionInfo() {
double duration = 0.0;
QModelIndexList indices = m_pTrackTableView->selectionModel()->selectedRows();
for (int i = 0; i < indices.size(); ++i) {
TrackPointer pTrack = m_pAutoDJTableModel->getTrack(indices.at(i));
if (pTrack) {
duration += pTrack->getDuration();
}
}

Version

No response

OS

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant