Open ThePython10110 opened 1 year ago
I am trying to solve this issue, can you tell me in which files you have the problem ? Thank you!
@mrelhussein The code for the Folders preferences page is in src/appshell/qml/Preferences/FoldersPreferencesPage.qml
and src/appshell/view/preferences/folderspreferencesmodel.cpp/.h
, is that what you mean?
However, it looks like the problem is in FilePicker.qml
, which notifies that the path has been edited after each character the user types. Probably the text field is using something like onTextChanged
instead of onTextEditingFinished
.
Am I correct in understanding this is a Windows 10 specific issue? I haven't reproduced on Windows 11
I just realized... this may have something to do with the fact that I downloaded a pack of 1200 soundfonts that I never use. I somehow never thought about that. And it's probably why @zacjansheski didn't notice it.
Edit: I deleted the soundfonts, and it still happens, so never mind.
Issue type
Crash or freeze
Bug description
When typing
C:/
orC:\
into the soundfont folder text box, MuseScore freezes, and not even Task Manager can kill it until it crashes itself several minutes later. You can type a path without the drive letter (for exampleUsers\Username\Documents
), then addC:\
to the beginning, and everything will work fine. It seems to only freeze when it thinks thatC:/
orC:\
is the soundfont folder it's supposed to search.If I can remember correctly, this has been happening since 4.0.0. I thought I reported it, but I apparently didn't.
For some reason, as I was testing this error today, (and getting 100% consistent freezing and crashing every time), the freezes suddenly went from several minutes to around 30 seconds, and it stopped crashing. Maybe this isn't as much of a bug as I thought it was... I don't know. Typing in all the folder text boxes is normally weirdly laggy anyway, maybe it's some kind of check that it does every time a character is typed, and for some reason checking "
C:\
" takes way longer?Steps to reproduce
C:/
orC:\
into the Soundfont box (or add ";C:\
" to what's already there).Screenshots/Screen recordings
No response
MuseScore Version
MuseScore version (64-bit): 4.1.1-232071203, revision: github-musescore-musescore-e4d1ddf
Regression
No.
Operating system
Windows 10
Additional context
This is the only relevant part of the log file.