-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[preferences] prevent closing preference editor with the middle mouse click #6198
Conversation
Fixes #2639 - prevent closing preference editors using the middle mouse click by setting the `title.closable` to `false`. Signed-off-by: Vincent Fugnitto <vincent.fugnitto@ericsson.com>
I am getting the following errors when testing the changes:
the errors were populated when I used the middle-clicked the tab header Is it related to this change ? |
I don't think so, all the PR does it prevent the middle click from closing the editor. Do you see content in the editor after? |
Tested on Ubuntu 16.04 and Chrome On Firefox: |
This isn't a behavior introduced through the PR.
Also not an issue with this PR, see #4517. |
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.
I tested the followings:
- middle click doesn’t close the tab any more
- middle click does not paste texts into editors
- docked the pref editor in different places and I didn’t observe inconsistent behaviours in terms of the two bullet points above
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.
Since the two observations are tracked in others PR
Ready to merge.
What it does
Fixes #2639
setting the
title.closable
tofalse
.How to test
Settings: Open Preferences
)User
preference editor using the middle-mouse click(the editor should not be closable)
User
tab should properly closeReview checklist
Reminder for reviewers
Signed-off-by: Vincent Fugnitto vincent.fugnitto@ericsson.com