Skip to content

Focus Stealing Prevention: Multiple key codes not supported despite plural description #102

@zipproth

Description

@zipproth

Description

The Focus Stealing Prevention configuration option describes its key input field using plural form: "Cancel focus stealing prevention on these keys". This suggests that multiple key codes should be supported, but the current implementation only accepts a single key code.

Expected Behavior

Based on the plural description, it should be possible to specify multiple key codes to cancel focus stealing prevention.

Actual Behavior

Only a single key code works. When attempting to specify multiple keys using various delimiter formats, the configuration is not recognized properly.

Steps to Reproduce

  1. Open Wayfire Configuration Manager
  2. Navigate to Focus Stealing Prevention settings and activate the plugin
  3. Attempt to enter multiple key codes in the key field using different delimiters

Attempted Formats

The following delimiter formats were tested without success:

  • Space-separated: KEY_ENTER KEY_SYSRQ
  • Semicolon-separated: KEY_ENTER;KEY_SYSRQ
  • Comma-separated: KEY_ENTER,KEY_SYSRQ

Working Configuration

Single key codes work as expected, e.g., KEY_SYSRQ

Environment

  • WCM Version: 0.9.0 (current Arch Linux package)
  • Use Case: Screen capturing tool configured in the command section requiring focus stealing prevention bypass

Suggestion

Extend the existing description text "Cancel focus stealing prevention on these keys" to include the required delimiter format, and implement support for multiple key codes if not yet available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions