Skip to content

HAS_UNO_SKIA_PLATFORM constants are misleading #17684

Closed

Description

@Youssef1313

Current behavior

image

With single project, all HAS_UNO_SKIA_ will be defined at the same time. The platforms can't actually be differentiated at compile-time.

Expected behavior

No response

How to reproduce it (as minimally and precisely as possible)

No response

Workaround

No response

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

No response

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

Activity

  1. added
    kind/bug
    triage/untriaged
    difficulty/tbd
    on Jul 24, 2024
  2. self-assigned this
    on Jul 24, 2024
  3. added theissue type on Jun 20, 2025
  4. added
    difficulty/starter 🚀
    and removed
    triage/untriaged
    difficulty/tbd
    on Sep 4, 2025
  5. github-actions commented on May 6, 2026

    @github-actions
    Contributor

    This issue has had no activity for 120 days. It will be closed in 10 days if there is no further activity. Remove the Stale label or leave a comment to keep it open.

  6. added
    stale
    on May 6, 2026
  7. removed
    stale
    on May 6, 2026
  8. added
    kind/breaking-change 💥
    on May 6, 2026
  9. 8 remaining items

  10. github-actions commented on Sep 6, 2026

    @github-actions
    Contributor

    This issue has had no activity for 120 days. It will be closed in 10 days if there is no further activity. Remove the Stale label or leave a comment to keep it open.

  11. added
    stale
    on Sep 6, 2026
  12. removed
    stale
    on Sep 6, 2026
  13. MartinZikmund commented on Oct 8, 2026

    @MartinZikmund
    Member

    The HAS_UNO_SKIA_WIN32, HAS_UNO_SKIA_X11, HAS_UNO_SKIA_MACOS and HAS_UNO_SKIA_LINUX_FB constants were removed in Uno Platform 7.0 (#24088). To check which OS an app is running on, use OperatingSystem.IsWindows(), IsLinux() or IsMacOS(); see the migration guide.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    difficulty/starter 🚀kind/breaking-change 💥kind/bug

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions