mapeditor / tiled

Flexible level editor
https://www.mapeditor.org/
Other
11.02k stars 1.74k forks source link

Tilemap editor color flashing on native theme #4010

Open DallinYauney opened 1 month ago

DallinYauney commented 1 month ago

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

expected: image

Specifications:

bjorn commented 1 month ago

Hmm, I installed KDE Plasma 6.1.2 to test this but I'm unable to reproduce the issue. I have no idea what could be causing this for now. :-(

Are you installing Tiled from Fedora repositories or from Flathub? The main difference, apart from distribution method, is that Fedora still compiles Tiled against Qt 5 whereas the Flatpak is compiled against Qt 6. It would be nice if you could check if the problem also occurs with the other package.

DallinYauney commented 1 month ago

Initially I was using the one from the Fedora repos. Just tried it on the version from flathub though and I couldn't reproduce the issue.

bjorn commented 1 month ago

While we can't be entirely sure whether Qt 5 or 6 matters here, I've anyway opened an issue suggesting to update the Fedora package to Qt 6.