Skip to content

PS3 Lua plugin dialog: Shift+A (capital "A") triggers the global Auto Arrange shortcut instead of entering text #15792

Description

@mjonuschat

Description of the bug

A PrusaSlicer plugin dialog's text field (a type = "string" parameter) rejects a capital "A". Typing Shift+A triggers PrusaSlicer's global Auto Arrange shortcut instead of inserting the letter, as if the 3D view held keyboard focus instead of the text field. Lowercase "a" types normally in the same field, so the bug is specific to the Shift-modified keystroke, not the A key generally. PrusaSlicer binds uppercase "A" to Auto Arrange by default.

A plugin's text field cannot accept a capital A at all. This blocks manufacturer names such as "Amazon Basics" or "ASA".

Zipped project file & How to reproduce

No project file is needed; the bug does not depend on any model or 3mf. Steps:

  1. Install any Lua plugin that exposes a type = "string" parameter, e.g.:
    info = {
        id = "repro",
        type = "project.plugin",
        title = "Repro",
        menu = "Repro/String field",
        params = {
            {name = "text", label = "Text", type = "string", default = ""}
        }
    }
    function execute(opts) end
  2. Run Plugins → Rescan, then open the plugin from the Plugins menu.
  3. Click the "Text" field and type a lowercase a; it appears normally.
  4. Type a capital A (Shift+A); it does not appear in the field.

Expected: the letter "A" appears in the text field.
Actual: Auto Arrange fires and arranges the objects on the bed. The letter is not entered.

Version of PrusaSlicer

3.0.0-alpha11

Operating system

macOS

Operating system version

26.6.2

Printer model

Prusa Signature Oak

No activity

Activity on this issue will appear here.

Activity

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

Metadata

Metadata

Assignees

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