-
Notifications
You must be signed in to change notification settings - Fork 438
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
Mu should remember UI pane positions and sizes #1122
Comments
In the past during workshops it has been incredibly useful that the application panels have stayed the same in between sessions, as a lot of times instructions and screenshots point to specific parts of the editor. If a previous user moves things around it could cause a bit of confusion. I would guess some classrooms might share the same preference, so I would probably suggest that by default panel position/size changes only last during the current session by default. |
Agreed, that makes sense and is very important.
Not so sure I agree here. I think consistency should be a top priority from a user experience standpoint.
Maybe Mu could remember attachment sides, sizes, etc. (much like it remembers its own window size and position) across sessions, as long as we have the "reset Mu button" in #466, which would also reset these user preferences, bringing back Mu to the "standard screenshot size and layout". Thoughts? :) |
If it's possible to break something for the next one using a computer, someone somewhere will do it. What I'm trying to say is that if it's possible to move panels around, then 1) it shouldn't be possible to completely remove the panels, and 2) it should be easy for the next user to get it back to original settings. Perhaps remembering attachment side, with only two options is okay (e.g. REPL below editor, REPL to the right of editor), but I'm not even sure I like it if it remembered the size, as someone might make it very tiny, and the next one using it wouldn't recognize that something was wrong, but would just live with terrible ergonomics (e.g. only seeing 3 lines in the REPL) |
Agree with everything, especially 0) if its breakable, someone will break it! :)
Agreed again. Maybe, given that as of now panels are sizeable, we could prevent them from being sized too small/large adjusting current limits, much like it's not possible to size the Mu Editor window down to an unusable size, IIRC. :) |
I only partially agree with that. I think we all agree that keeping the configuration during the same session is really useful, even if we disagree on saving the state between sessions. Some editors do not save panel size on exit, at the very least I can confirm VSCode and PyCharm only save changes made via settings, like moving the panel to different side of the window, but the size of the panel itself is reset between sessions. It's quite possible the reason i don't mind this specific behaviour is precisely because I got used to it, and I do see the argument for keeping this between sessions, but I really don't feel strongly about this part specifically. The part I do think it's quite useful, is always having a clearly marked position for things, so that workshops and classrooms don't have to worry about this when explaining what's on everyone's screens. If I had to chose between:
Then I would probably vote to lock the position as long as it allowed resizing. Ideally I would love if we could get more teacher feedback on this specific area, as think my reasoning falls in a similar category that the zoom buttons: Great for teachers to have it, while not that important for the rest of users. Do people agree that, either way, we should break this down in three different tasks?:
|
My thoughts are similar to @carlosperate, it's nice to be able pull out the school laptops or go to the computer room, and then know that everything will look the same for all computers, without having to instruct individual students to move things around.
Yes, I think that's a good solution. At least we aren't disagreeing on the first two, and can go ahead with those. For the third, perhaps we could start with a boolean in the .json to control where the REPL will be (bottom or to the right), where users manually had to open the settings file to set it. |
Great breakdown. Let's go for 1. and 2. leaving 3. TBD... :) |
#1244 allows remembering debugger column width (and which items were expanded) during the session. Should I propose a simple "reopen pane in similar position" PR to move this forward, or would it be better to have a more complete well-designed fix? |
Hi @devdanzin, if you mean "reopen pane in similar position" is only for the current session, then yes I think we all agree that would be nice if you moved the REPL, then close and open it again it will open in the same location. The doubt is whether it should be saved for next session, where it might be another teacher, with another group of kids. |
(I could have sworn this topic has been raised in a past issue, but could not find it, so here it goes)
Facts
Reproducing | Attachment
Expected behaviour
Notes:
Reproducing | Sizing
print
statements.Expected behaviour
Continuation
Expected behaviour:
Notes:
Epiloge
The behaviours I'm describing above may not be considered wrong/undesirable by some, even though I can't imagine why. Shall we fix this, or is it ok as is? :)
The text was updated successfully, but these errors were encountered: