mixxxdj / mixxx

Mixxx is Free DJ software that gives you everything you need to perform live mixes.
http://mixxx.org
Other
4.25k stars 1.24k forks source link

DEBUG 'LoadSelectedTrack' control, triggered via keyboard #13331

Open ronso0 opened 3 weeks ago

ronso0 commented 3 weeks ago

added some warnings to maybe debug #13305

@DJMaxergy Hopefully this helps finding the root cause of that issue. As soon as CI builds succeeded, please get the macOS build and test (see Testing & Backup instructions https://github.com/mixxxdj/mixxx/wiki/Testing) I think it would simplify the process if you start Mixxx from the command line and check the output right after you tried to load via keyboard. https://manual.mixxx.org/2.4/en/chapters/appendix/commandline_dev_tools The copy the last lines with warnings and paste them here (also attach the entire log file https://github.com/mixxxdj/mixxx/wiki/Finding-the-mixxx.log-file)

DJMaxergy commented 3 weeks ago

Hi @ronso0, thank you for your efforts. mixxx.log I got the macOS build as you suggested, started Mixxx from command line using log level "debug" and clicked on a track in the library window, pressed the down key to highlight the next track and pressed shift+left to load the track into the left deck. This is what I got from the command line log output:

debug [Main] keyboard press: "Down" debug [VSyncThread] DROP debug [Main] GlobalTrackCache - Resolving track by id 38222 debug [Main] GlobalTrackCache - Resolving track by canonical location "/Volumes/MyMusic/Album Music/Becky Hill - Believe Me Now/14 Disconnect.mp3" debug [Main] GlobalTrackCache - Cache miss - allocating track TrackRef {"/Volumes/MyMusic/Album Music/Becky Hill - Believe Me Now/14 Disconnect.mp3","/Volumes/MyMusic/Album Music/Becky Hill - Believe Me Now/14 Disconnect.mp3",38222} debug [Main] GlobalTrackCache - Cache miss - inserting new track into cache TrackRef {"/Volumes/MyMusic/Album Music/Becky Hill - Believe Me Now/14 Disconnect.mp3","/Volumes/MyMusic/Album Music/Becky Hill - Believe Me Now/14 Disconnect.mp3",38222} QObject(0x0) debug [Main] Successfully deserialized Beats ("BeatGrid-2.0") debug [Main] Successfully deserialized KeyMap debug [Main] SoundSourceProxy - SoundSourceProvider "Apple CoreAudio Version 12.7.5 (Build 21H1222)" created a SoundSource for file "file:///Volumes/MyMusic/Album Music/Becky Hill - Believe Me Now/14 Disconnect.mp3" of type "mp3" warning [Main] TagLib - ID3v2.2 is only partially supported - please convert your file tags to at least ID3v2.3 warning [Main] TagLib - Legacy ID3v2 version - importing only basic tags debug [Main] BaseTrackCache(0x7fc3fb024d40) updateIndexWithQuery took 0 ms debug [Main] GlobalTrackCache - Evicting track TrackRef {"/Volumes/MyMusic/Album Music/Becky Hill - Believe Me Now/15 Right Here.mp3","/Volumes/MyMusic/Album Music/Becky Hill - Believe Me Now/15 Right Here.mp3",38223} Track(0x7fc3bf5ce660) debug [Main] GlobalTrackCache - Deleting Track(0x7fc3bf5ce660) debug [Thread (pooled)] SoundSourceProxy - SoundSourceProvider "Apple CoreAudio Version 12.7.5 (Build 21H1222)" created a SoundSource for file "file:///Volumes/MyMusic/Album Music/Becky Hill - Believe Me Now/14 Disconnect.mp3" of type "mp3" debug [VSyncThread] DROP debug [VSyncThread] DROP debug [VSyncThread] DROP debug [VSyncThread] DROP debug [Main] keyboard press: "Shift+Left"

ronso0 commented 3 weeks ago

Okay, thanks for testing! Very strange, somehow the triggering call doesn't reach the track table. I'll add some more logging at the keyboard stage.

DJMaxergy commented 3 weeks ago

Ok, I will test it again as soon as you have added more logging. By the way: I tried 2.4.1 on a Windows 10 system and there the keyboard shortcuts for loading a track seem to work.