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

The right-clicked menu bar is not displayed correctly on Runtime Identifier "win-x64". #333

Closed
ych98 opened this issue Feb 29, 2024 · 5 comments

Comments

@ych98
Copy link

ych98 commented Feb 29, 2024

image

@joaompneves
Copy link
Collaborator

Is this your app or the Sample App?

@ych98
Copy link
Author

ych98 commented Feb 29, 2024

This is true for both programs. By the way, it is normal on Mac computers with Apple chips.

@joaompneves
Copy link
Collaborator

On my M1 (apple) everything seems ok running this code: https://github.com/OutSystems/WebView/tree/avalonia11/SampleWebView.Avalonia

Don't have windows, so I can't help.

@ych98
Copy link
Author

ych98 commented Mar 1, 2024

I tried CefGlue.Demo.Avalonia and found that it has the same problem with win-x64.
1709258571900_C3B2B5EC-6D73-41cc-BF36-0B9F41545272
At the same time, I found out what the problem was.
When I build on mac, the Resource folder is automatically generated and contains resource files such as locale.pak, while when I build on windows, there is no Resource folder, only the locales folder and the content is empty.
image
image
It should be that the context menu is not displayed properly due to a resource loading issue.

@ych98
Copy link
Author

ych98 commented Mar 1, 2024

The problem is solved, I downloaded the corresponding version of the resource file from Chromium Embedded Framework (CEF) Automated Builds and manually added it to my project. Now the menu is displayed normally, and the CefGlue demo can solve the same problem exactly in the same way.
image

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

2 participants