Tiled/extensions/SelectLayerTiles.js:33: TypeError: Cannot call method 'disconnect' of undefined
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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