Skip to content

SetNeedsKeyboard public method in Window.macOS.cs does nothing #10972

Closed

Description

@Youssef1313

I can't see how this:

public static void SetNeedsKeyboard(NSView view, bool needsKeyboard)
{
if (view != null)
{
_attachedProperties.SetValue(view, NeedsKeyboardAttachedPropertyKey, (bool?)needsKeyboard);
}
}

will ever do anything. Both GetNeedsKeyboard and NeedsKeyboard methods are unused (and will be deleted in a PR where I remove unused private methods).

This is a breaking change since SetNeedsKeyboard is public

Activity

  1. added
    kind/enhancement
    triage/untriaged
    difficulty/tbd
    on Jan 13, 2023
  2. jeromelaban commented on Jan 16, 2023

    @jeromelaban
    Member

    @MartinZikmund may know.

  3. Youssef1313 commented on Feb 6, 2023

    @Youssef1313
    MemberAuthor
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/tbdkind/enhancementtriage/untriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions