Giter Site home page Giter Site logo

Comments (5)

daschuer avatar daschuer commented on July 28, 2024 1

The major difference between 2.5-alpha and 2.4-beta is the updated Qt version Qt 5.15 -> Qt 6.5
With this and similar bugs, it would be great if you can cross-check 2.4-alpha and sort out a Qt issue.

from mixxx.

Eve00000 avatar Eve00000 commented on July 28, 2024

for the moment I haven no free test computer anymore, I'll try later with a virtual one

from mixxx.

ronso0 avatar ronso0 commented on July 28, 2024

I just noticed this (once) with Mixxx 2.4 in the Playlist feature. Sometimes the repaint is done only when the selection changes, but even switching to another feature and back didn't help (tested with a one-track playlist).

from mixxx.

Eve00000 avatar Eve00000 commented on July 28, 2024

Hi, I'm glad you've noticed it too.

from mixxx.

ronso0 avatar ronso0 commented on July 28, 2024

This is happening rarely, but when it does happen with a specific track it is repeatable forever.

In this screencast you can see

  • the color is stuck at YELLOW in the library (table and color picker) and no way to get back to "no color"
  • two other color pickers that get updated with real track data (WTrackWidgetGroup, DlgTrackInfo)

I suspect this is some sort of caching issue.
It looks like the color update process stops in at compareAndSet() in Track::setColor, for some reason new and old color are considered equal.

mixxx/src/track/track.cpp

Lines 774 to 780 in 7c6324e

void Track::setColor(const mixxx::RgbColor::optional_t& color) {
auto locked = lockMutex(&m_qMutex);
if (compareAndSet(m_record.ptrColor(), color)) {
markDirtyAndUnlock(&locked);
emit colorUpdated(color);
}
}

track-color-reset-issue.webm

Interestingly, I ran into a DEBUG ASSERT (with another track where the color got stuck) during shutdown:

debug [Main] GlobalTrackCache - Evicting track  TrackRef {"some/music/file.flac","some/music/file.flac",7426} Track(0x55cd84a54ba0)
DEBUG ASSERT: "pTrack->getDateAdded().isValid()" in function TrackCollectionManager::SaveTrackResult TrackCollectionManager::saveTrack(Track*, TrackMetadataExportMode) const at ./src/library/trackcollectionmanager.cpp:205

from mixxx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.