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

We've implemented "Gloss" incorrectly #3045

Open
AlanGriffiths opened this issue Sep 18, 2023 · 0 comments
Open

We've implemented "Gloss" incorrectly #3045

AlanGriffiths opened this issue Sep 18, 2023 · 0 comments

Comments

@AlanGriffiths
Copy link
Collaborator

We've confused "Tip" and "Gloss" in Mir. We handle them identically, but in the spec there are are a couple of significant differences:

  1. Placement: Gloss is positioned relative to the parent and not bound by the display geometry, Tip is positioned relative to a region on the parent is bound by display geometry; and,
  2. Input: Gloss gets pointer events while the parent has focus, Tip gets no input

We've implemented both as "Tip", but we only ever set mir_window_type_gloss (mostly for things that are clearly "Tip").

I've proposed #3044 to fix labelling of "Tips", but we need to fix the implementation of "Gloss"

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

No branches or pull requests

1 participant