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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.
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.

1 participant