mapeditor / mapeditor/tiled

Tiled/extensions/SelectLayerTiles.js:33: TypeError: Cannot call method 'disconnect' of undefined

Open
#4,156 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
12.9k
Forks
2k
Avg merge
4h 27m
Merged PRs (30d)
8

Description

**Describe the bug**
`..AppData/Local/Tiled/extensions/SelectLayerTiles.js:33: TypeError: Cannot call method 'disconnect' of undefined`

**To Reproduce**
After created new project in new installation Tiled Version: 1.11.1

**Expected behavior**
No errors

**Media**

**Specifications:**
- OS: W11
- Tiled Version: 1.11.1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with AppData/Local/Tiled/extensions/SelectLayerTiles.js at line 33 and reproduce the error by creating a new project in a fresh Tiled 1.11.1 installation on Windows 11. Trace why disconnect is called on an undefined value, then verify that creating a new project produces no error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.