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

panel.js: Only clip the panel size if necessary. #12592

Merged
merged 1 commit into from
Jan 1, 2025

Conversation

mtwebster
Copy link
Member

Panel clipping occurs to prevent a hidden panel from being visible on an adjacent monitor edge. In some monitor configurations it can affect actor event picking, and the enter-events that trigger panel visibility are missed.

Regardless of the pick problem, clipping should only be necessary if:

  • There's more than a single monitor.
  • There is at least a partial common edge shared by two monitors.
  • There is an auto- or intelligently-hidden panel enabled on that edge.

ref:
linuxmint/mint22.1-beta#28
linuxmint/mint22.1-beta#74
more...

Panel clipping occurs to prevent a hidden panel from being visible
on an adjacent monitor edge. In some monitor configurations it can
affect actor event picking, and the enter-events that trigger panel
visibility are missed.

Regardless of the pick problem, clipping should only be necessary if:
- There's more than a single monitor.
- There is at least a partial common edge shared by two monitors.
- There is an auto- or intelligently-hidden panel enabled on that edge.
@mtwebster mtwebster force-pushed the limit-panel-clipping branch from e1a38cf to 6ab9352 Compare January 1, 2025 17:07
@clefebvre clefebvre merged commit 4e87c99 into master Jan 1, 2025
3 checks passed
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.

2 participants