mapeditor / mapeditor/tiled

Tilemap editor color flashing on native theme

Open
#4,010 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
12.9k
Forks
2k
Avg merge
4h 27m
Merged PRs (30d)
8

Description

When the theme is set to Native, the background of the tilemap editor flashes, but also kind of becomes, various colors when the mouse leaves the editor area horizontally. The common colors seem to include red, white (or whatever my grid color is at the time), and teal (my system accent color).

**To Reproduce**
Steps to reproduce the behavior:
1. On a Linux installation, open a new map
2. Open preferences and under Theme set the style to Native
3. In the map, move the mouse to the side (but not the top or bottom) of the tile area onto a side panel
4. Observe a flickering overlay of an unintended color.

**Expected behavior**
the background color should not flicker, regardless of mouse position, when editing a tilemap

**Media**
![image](https://github.com/user-attachments/assets/19747610-64e6-4314-a1f6-8b1b82feae8f)

expected:
![image](https://github.com/user-attachments/assets/3c207471-d39a-491a-b1ff-b5cac4f2aac2)

**Specifications:**
- Tiled 1.11.0
- KDE Plasma 6.1.2
- Breeze theme
- Fedora 40
- Wayland

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Reproduce the issue on Linux with Wayland, the Native theme, and a tilemap open, then trace the tilemap editor's background and mouse-leave handling. Done means the editor background remains stable when the pointer moves horizontally onto a side panel.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.