mapeditor / mapeditor/tiled

Active tile 'changes to nothing' and back sometimes

Open
#1,121 0 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

Normally, you select a tile in the tileset. Then, the tile shown in blue under the cursor is that tile, and clicking plots it on the map.
However, occasionally, no tile is shown instead. (To clarify -- I don't mean a blank space that is colored blue, I just mean that no tile at all is drawn under the cursor). While this is the case, clicking on the map appears to do nothing.
This applies for (at least) Stamp Brush tool and Bucket Fill tool, and appears to be unaffected by whether Random Mode is on or off.

Any clicks on the map occurring after the initial 'loss of tile' may reset the 'current tile' back to the tile that it should be, or may not; the reverse also applies.
In all cases, the change occurs after a click or drag.

Steps involved in triggering bug:

  1. Create new map, 100x100 tiles with 12x12px tile size, Orthogonal, CSV, Right Down
  2. Add new tileset:
    32tiletest-12
  3. ??? (no reliable recipe yet. All I can say is that all of the occurrences began with the above two steps)

System details:

  • Arch Linux x86_64
  • WM: AwesomeWM
  • Xorg: 1.17.2
  • Tiled: Git commit 9c2be76
  • Tablet: Monoprice 12"; lsusb identifies it as "UC-Logic Technology Corp. Tablet PF1209". It uses evdev input driver.
  • input-evdev: 2.9.1.6+ (git b370ccd)

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 by following the reported new-map and tileset steps, then investigate the tile preview and map-click behavior for Stamp Brush and Bucket Fill. The issue has no reliable reproduction recipe, named files, or tests; done means identifying and fixing the intermittent loss of the active tile and confirming clicks and drags continue to plot or fill normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.