-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
fix #119376 utility functions for save/restore geometry #2752
fix #119376 utility functions for save/restore geometry #2752
Conversation
Just another thought; Currently each window/dialog creates its own settingsGroup as was done previously. Reason is that I've often seen the "Reset to Factory Settings" been advised/required to recover from offscreen windows, which is a fairly drastic measure to have to take. The new command would leave all other settings intact. |
Sure. Good one. |
a5af572
to
8d6f0f6
Compare
8d6f0f6
to
d2bf3b8
Compare
Handles a bunch of the known bugs/requests for window dialog geometries. |
f09d9c3
to
03453e1
Compare
@jeetee: Should I log a feature request for "Reset Window Positions"? |
@IsaacWeiss good plan, although strictly speaking, we shouldn't have offscreen windows any more with this approach, so the need for such a function is probably much lower now. |
Oh! I didn't realize that. Great. :) Not needed, then. |
Can we have this or something to the same effect for 2.0.4 too, please? Comes up increasingly in the Forums as being a problem |
@Jojo-Schmitz If 2.0.4 comes into play, it might be easier to update https://musescore.org/en/project/resetdialogpositions to get as close to a reset window position function as possible. This PR influenced the way of storing the information within the configuration file, breaking 2.0.x compatibility. |
I don't think the config file (MuseScore*.ini) has to be compatible between versions, Not being compatibel would possibly only affect a downdgrade to 20.x with x < 4, and then a factory reset would fix it. Maybe that factory reset could even be made part of the uninstall |
I don't think people with a ton of custom shortcuts/palettes/workspace would agree with that. |
Well, as an option this might work. And we do have -R and -F to chose from? |
For this specific PR the 'breaking' of compatibility is actually quite minor. After the PR window positions are stored differently, so if you'd use an older version, it'll have its own set of positioning info, as it uses different Settings parameters. As for the latter remark about uninstall-reïnstall, we could perhaps go with "the VLC-way"; having an (un-)installer option to reset to defaults (I believe they call it "remove local settings cache"). But that should be its own feature request... |
No description provided.