Skip to content
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(active-hint): bug fixes and feature max state hint #1014

Merged
merged 8 commits into from
Jun 23, 2021
Merged

fix(active-hint): bug fixes and feature max state hint #1014

merged 8 commits into from
Jun 23, 2021

Conversation

jmmaranan
Copy link
Contributor

Fixes #990
Fixes #1013
Implements #882 hide hint by checking monitor count if single on max state - there seems to be a consensus to still display hint on multi-monitor setup

@jacobgkau jacobgkau requested a review from a team June 21, 2021 14:29
@jmmaranan jmmaranan closed this Jun 21, 2021
@jmmaranan jmmaranan reopened this Jun 21, 2021
@jacobgkau
Copy link
Member

jacobgkau commented Jun 21, 2021

Not able to recreate #1013 (tested on 20.10 where it was reported.) Confirmed this fixes #990. Also confirmed the active hint now disappears on maximized windows when only one display is in use, but remains on maximized windows (but not fullscreened windows) when multiple displays are in use.

I did discover a regression with half-snapped (Ctrl-Super-Left/Right) windows in non-tiling mode. The active hint is no longer visible on any edge except for the one in the middle of the screen (which isn't as helpful when two windows are open):

Screenshot from 2021-06-21 09-23-28

Compare this to the current behavior, which treats a half-tiled hint more like a maximized hint:

Screenshot from 2021-06-21 09-22-55

@jmmaranan
Copy link
Contributor Author

@jacobgkau - thanks for catching the new issue on snap left/right. I'll look into it later.

@jmmaranan
Copy link
Contributor Author

@jacobgkau - snapping on edges should now be fixed

@jmmaranan
Copy link
Contributor Author

I am seeing some issues when the gap is updated to 0. Will send additional changes in a while

@jmmaranan
Copy link
Contributor Author

@jacobgkau - fixed regression on gaps = 0

@jacobgkau
Copy link
Member

I'm not sure this is actually an issue, but with the latest updates on this branch, half-snapping no longer works while tiling is enabled. This actually makes sense, but we may want to hide the half-snapping animation while tiling is enabled so it doesn't look like it's supposed to work.

@jmmaranan
Copy link
Contributor Author

@jacobgkau - I found the issue on the snapping while tiled. I think removing the snap when tiled functionality is harder, because the light-blue overlay comes from gnome-shell and not on pop-shell.

@jmmaranan
Copy link
Contributor Author

The snap when tiled, should be ready to test

Copy link
Member

@jacobgkau jacobgkau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Half-snapping is working as expected again. The hint improvements (maximize and out-of-screen) are still working as expected as well.

Regression testing passed:
shell-pr1014-hirsute.txt
shell-pr1014-focal.txt

@jacobgkau jacobgkau requested a review from a team June 23, 2021 15:58
@mmstick mmstick merged commit 3dd1fdd into pop-os:master Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Active hint stays visible when minimizing last window Active hint out of screen bug
3 participants