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

[X11] Menu regression in 11.0.8 and 11.0.9 #14568

Closed
timschneeb opened this issue Feb 9, 2024 · 4 comments
Closed

[X11] Menu regression in 11.0.8 and 11.0.9 #14568

timschneeb opened this issue Feb 9, 2024 · 4 comments

Comments

@timschneeb
Copy link
Contributor

timschneeb commented Feb 9, 2024

Describe the bug

Two issues with menus on X11 popped up since Avalonia 11.0.8 (also present in 11.0.9):

  • Borders and rounded corners of menus are transparent and show the background behind the root window
  • Menus are cut off and only drawn within the root window's bounds

To Reproduce

Steps to reproduce the behavior:

  1. Build the 'ControlCatalog.NetCore' sample project
  2. Go to 'Menu' and open a menu

Expected behavior

  • The borders/corners of the menu should not show the background behind the root window
  • Menus should not get cut off at the border of the root window

Screenshots

ControlCatalog:
image

In my app, it's much more noticeable due to the rounded corners:
image

Environment

  • OS: Arch Linux X11
  • Avalonia-Version: 11.0.9

Additional context

@curvedspace
Copy link

I see a similar effect on tooltips with Linux.

@dc740
Copy link

dc740 commented Feb 17, 2024

wayland is also affected:
sn4k3/UVtools#836 (comment)

UVtools had to downgrade to 11.0.7 to get it to work again.

@kekekeks
Copy link
Member

Need to release 11.0.10 with that revered PR.

@timschneeb
Copy link
Contributor Author

Fixed by https://github.com/AvaloniaUI/Avalonia/releases/tag/11.0.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants