Shadows are not Displayed Correctly for Windows and Menus in OS Astra Linux¶
Eremex windows and menus use transparent shadows by default. If window transparency is disabled in the operating system, the shadows of windows and menus are not correctly displayed. An example of incorrect menu rendering is demonstrated below:
To resolve the issue, you can do one of the following:
-
Enable window transparency in the OS
Window transparency is disabled in the Astra Linux Fly environment, by default. To enable it, check the display settings:
-
Disable transparency for all Eremex windows and popups in your application
The
MxSettings
class stores global settings specific to all Eremex controls in an Avalonia application. This class contains theMxSettings.EnableWindowTransparency
property, which manages transparency and shadow visibility for Eremex windows and popups.To customize the
MxSettings.EnableWindowTransparency
setting, add aUseEMXServices
method call to theAppBuilder.Configure
chain as follows: