castle icon indicating copy to clipboard operation
castle copied to clipboard

Tile column type not working on Linux

Open aganm opened this issue 4 years ago • 2 comments

The Tile column type doesn't seem to work on Linux.

I have a simple project folder with a .cdb file and .png image files alongside it. When I open the .cdb on Windows. all works as expected. On Linux, the tile column type does not display the image at all.

image

aganm avatar Sep 21 '21 23:09 aganm

Is the path and filename casing correct? Linux filesystem is case sensitive while windows isn't.

kLabz avatar Sep 22 '21 04:09 kLabz

I'm afraid it is. It's the same file on both machines with the image file alongside the .cdb file in the same folder.

{
	"piece": "tower",
	"image": {
		"file": "spritesheet.png",
		"size": 16,
		"x": 17,
		"y": 10
	}
},

When I open the image file in a Image column type, it works both on Linux and Windows. Only when I try to use the Tile column type, I try to load the same image and the image does not show up in the tile selection window on Linux(Debian): image

On the right is an Image type column which loads the image correctly. In the middle is a Tile column type which doesn't load the image.

This is the working behavior on windows:

image

aganm avatar Sep 22 '21 21:09 aganm