Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PNG files cannot be added as tileset (on linux) #1179

Open
Ablu opened this issue Jan 17, 2016 · 10 comments
Open

PNG files cannot be added as tileset (on linux) #1179

Ablu opened this issue Jan 17, 2016 · 10 comments
Assignees
Labels
bug Broken behavior.

Comments

@Ablu
Copy link
Contributor

Ablu commented Jan 17, 2016

If a file has the extension .PNG it cannot be added as tileset image. Neither in the "missing tileset dialog" nor in the usual "add tileset dialog"

@bjorn
Copy link
Member

bjorn commented Jan 17, 2016

Are you trying to add a .png as if it was a .tsx file?

@bjorn bjorn changed the title .PNG files cannot be added as tileset (on linux) PNG files cannot be added as tileset (on linux) Jan 17, 2016
@Ablu
Copy link
Contributor Author

Ablu commented Jan 18, 2016 via email

@bjorn
Copy link
Member

bjorn commented Jan 18, 2016

Hmm, I can't reproduce that. Maybe a little more information about your environment?

@Ablu
Copy link
Contributor Author

Ablu commented Jan 20, 2016

Hm. You changed the title, but I really meant files with a .PNG so dot, uppercase PNG, not lowercase.

System is Gnome3, Fedora 23.

I can try to look into it somewhen to. but probably not the next days.

@bjorn bjorn added the bug Broken behavior. label Jan 20, 2016
@bjorn
Copy link
Member

bjorn commented Jan 20, 2016

Ah, thanks for clearing that up! I'll try to reproduce it with a file with uppercase PNG as extension as well then.

@bjorn bjorn self-assigned this Jan 20, 2016
@IMMZ
Copy link
Contributor

IMMZ commented Jan 24, 2016

Tiled 0.15.0, Xubuntu 14.04.1, XFCE
Can't reproduce the problem. mytileset.PNG is added as well as any other images. Maybe this is some specific image or any file which has *.PNG extension is not added?

@bjorn
Copy link
Member

bjorn commented Jan 24, 2016

Hmm, I can also add such tilesets fine, but only when I type in their name, since they are not selectable in the file open dialog. So probably the problem is that it is doing a case-sensitive extension comparison. Is that the problem you mean, @Ablu?

@IMMZ
Copy link
Contributor

IMMZ commented Jan 24, 2016

In my case such files are even selectable from open file dialog with last repo version.
tiled

@bjorn
Copy link
Member

bjorn commented Jan 24, 2016

Hmm, interesting. May depend on the GTK or Qt version. I'm using Qt 5.5.1 and GTK 2.24.29.

@williamespindola
Copy link

May be the file was just renamed and is not a png.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Broken behavior.
Projects
None yet
Development

No branches or pull requests

4 participants