Skip to content

ShowActivated doesn't work on Linux #17186

@mohamedaalsayed

Description

@mohamedaalsayed

Describe the bug

As the title says, setting ShowActivated to false doesn't work on Linux and still the window takes focus once it opens.

To Reproduce

  1. Make a window with ShowActivated = false
  2. Run your code on a Linux system
  3. You will see that your created window still takes focus

Expected behavior

The window to not take focus

Avalonia version

11.2.0

OS

Linux

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bughelp-wantedA contribution from the community would be most welcome.os-linux

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions