mapeditor / tiled

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

Tilemap editor color flashing on native theme #4010

Open DallinYauney opened 4 months ago

DallinYauney commented 4 months 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 4 months 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 4 months 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 4 months 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.