-
Notifications
You must be signed in to change notification settings - Fork 579
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 split terminal did not preverse font scale #1747 #2046
Conversation
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.
Thanks for your contribution, some points need to be polished:
- Commit message should write more clearly, for example:
Fix split terminal should preserve font scale #1747
- Should this be update by
font_scale
? we may no need to add another attribute for this.
Thanks for the review. I am new to the open source world. About the second point, i had found another solution, without creating a new attribute, by modifying the |
I will review in next few day. But my intuition said maybe we can just set font and scale anyway, the if guard may be unnecessary. |
Hi, do you had a chance reviewing the PR? I tried to remove the if guard myself but when i try to open guake for the first time it returns an error on the self.terminal being equals to None. Here the logs printed during the test run:
|
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.
Everything looks fine, but 2 points need to be address:
- The block comment for if statement should put under it
- Commit message should be polished, please try to use
git rebase -i
to edit them, and force-push to GitHub.
3bfba6f
to
c9927eb
Compare
Hi, i tried to rebase the commits. I did pick the first one and squashed the other two into the first one. I am not an expert on git commands (also really scared of using them 🤣). Tell me if i did something wrong. Christian. |
c9927eb
to
8cac1c5
Compare
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 left this to louie since they were on it already and I was busy at the time, but looks like no reply in a little while and I'm digging through stuff on the repo again. Your commit log has three commits, one initial implementation, a reversion and a final implementation and I believe you could clean it up by just dropping the first two commits, but I also don't have a problem with squashing on pull and the change looks fine to me too so I'll do that.
EDIT: Just kidding, apparently squash and merge is just straight disabled here so I am going to have to request a little commit log cleanup. You can either squash the last three commits in your branch, or drop the first two and that'll get us to the clean log that we're looking for.
Now it preverse the font scale during a vertical / horizontal split. Resolve issue Guake#1747.
8cac1c5
to
42aed5b
Compare
I polished the commits, squashing them into one single commit, but now the deepsource analysis fails at a commented line that i did not touch, asking to remove it. Do i have to remove it? |
I got another pr to sweep up the stuff that deepsource has recently decided to start complaining about, don't worry about that. Looks good, merging. |
Following #1747, i saved the current font scale so when a terminal is split the font scale is not resized to default value.