Skip to content

Plugin manager UI crashes when plugin filenames contain spaces #873

@danigomezdev

Description

@danigomezdev

Description

When a plugin file contains spaces in its filename (for example: "this is a mod.py"), the plugin manager UI completely breaks and becomes unusable.
This issue started appearing since BombSquad 1.7.53 and has been reported by multiple users across different devices and platforms.

Steps to reproduce

  1. Launch BombSquad
  2. Place a plugin file in the mods directory with spaces in its name, e.g. "my plugin.py"
  3. Open the plugin manager
  4. The interface fails to load or crashes

Expected behavior

The UI should remain functional and display a message asking the user to rename the file (for example to "my_plugin.py") instead of crashing.

Machine

Platform: Ubuntu 22.04.5 LTS x86_64
Host: Lenovo IdeaPad S145-14API
BombSquad version: 1.7.53

Screenshots/Video

video-plugins-error-1.7.53.5.mp4

Extra

The problem seems to occur when the plugin manager attempts to parse or register files whose names contain spaces, which leads to a failure in the UI initialization.
A simple validation step could prevent the crash by showing a user-facing correction message and skipping invalid filenames.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions