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
Add the ability to lock NotebookTab layout #3627
Conversation
I considered adding the menu action to Another way I suppose would be to instead to re-use the menu action created it Would be a QoL to add the option to the |
This is the important discussion, as visibility of this feature is the worry against it - the more visible it is the more likely somebody will accidentally click it. |
useful feature and agree with Felanbird that its risky because toggling it by mistake will frustrate unaware users. There needs to be some kind of feedback for user, showing why tabs cant be reorganized (would also add lock for tab closing). |
Personally I'm conflicted on adding a button as a tab button for a visual indication. It would be nice, and I suppose in most cases it is more than fine. However, it would be annoying to have a special case where only the additional button would cause a new line where currently it wouldn't. Or I suppose the true behavior is that the new te tab would be moved down on the new line and the + and 🔒 buttons next to it to fit all three together. Although again, this is my only complaint with it and thought I should bring it up despite it probably not being the case for the majority of Chatterino users. Personally I rename and reorganize my tabs to make sure theres not just one or two tabs on a new line to free some space for chat viewability. |
This reverts commit cd1eebd.
… the QMenu the Notebook owns Keeps the tree smaller, and I believe visibility decisions can be made cleaner with this sort of parent/child relationship
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Added a commit to fix it not saving in settings
Added the menu item to the notebook tabs - I think it's worth it (see felanbird's comment)
Did some minor refactoring
Also I'll accept that visibility of tabs casing change as a separate PR :) |
Pull request checklist:
CHANGELOG.md
was updated, if applicableDescription
Gives users the ability to lock their tabs on Chatterino to prevent accidental movement.
chrome_kk9JcKz9g9.mp4
Additional Comments
I'm not sure if it would be better practice to rely only on the
ChatterinoSetting
rather than also using a private variablelockNotebookLayout_
. Would appreciate some guidance.