-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Improve the cancel function of loading projects. #3636
Comments
I agree that when we cancel the project, it should get cleaned out. |
I think ESC and ENTER are both fine to use. I also agree that there should be a message to confirm the cancel, but I think this should keep the project from continuing to load until the user has confirmed the cancel. However, I think it might be nice to have the option to either clean out the project or keep only what has already been loaded. |
@zonkmachine I think it won't be hard. I'll have a look. |
Here is an issue reported in the LMMS forum that could be related: |
Someone can cancel project loading accidentally add save the project without noticing that isn't loaded completely. Then some unloaded track will be lost. |
Imo pressing cancel mean that the user made a mistake in the project selection, or simply does not want to use lmms now at all. |
@musikBear I agree. Partial loading brings many problems. |
@zonkmachine Do you know how other programs handle cancellation of project loading? If yes, which method would be better? |
A canceled project load should open to an empty project. The way apps do this varies a bit because most apps don't show a live progress but rather show a splash screen for the duration, so for other applications (Gimp, MSWord, etc) it's less obvious that the process was interrupted mid-load. We should eventually do the same -- there's no benefit in animating the project loading process and it likely adds additional CPU overhead and slows down the initial load process in general (separate enhancement). |
Yes. However, there are some apps which display loading progress(ex. FL Studio).
Maybe yes, but my opinion is NO. Showing loading progress must slow down loading. However, I think there would be no much difference in loading speed. |
It's irrelevant to this bug specifically. Performance for the application is in dire need of improvement in general (e.g. UI events happening on same priority level as DSP events) but the scope of this bug report is to just make cancel work sanely, so I'd rather shelve the UX stuff for a separate thread if that's OK. |
I just had a bad load again. Bumping to 1.2. Testing a fix for this right now. |
When testing to load, play and close lmms I have had an on/off problem with projects not loading completely. As it turns out I had forgotten that there is a cancel button when loading and pressed play too fast which instead triggered the cancel action. I think this button should be pressed specifically and not be tied to any key but perhaps
ESC
. Or we could have some message function confirming the cancel. A text float or whatnot.Maybe it's best to also clean out the project on a cancel?
The text was updated successfully, but these errors were encountered: