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

Opening .tmx from command line doesn't display the world #2189

Open
RainingChain opened this issue Aug 24, 2019 · 1 comment

Comments

@RainingChain
Copy link
Contributor

commented Aug 24, 2019

Opening a .tmx file from the command line will not display the world. (Note: I'm on Windows 10.)

Ex:
Open a command prompt.
Type "c:\Program Files\Tiled\tiled.exe" "C:\rc\rainingchain\server\resourcePack\QsouthShore\map\sRiverDelta.tmx"

This opens Tiled, but only a single map is visible. The world is supposed to be loaded. Unloading and reloading the world doesn't work. The world is never displayed.

If I open another tmx file while Tiled is already opened, I will be able to see the world, include the first map.

Ex:
"c:\Program Files\Tiled\tiled.exe" "C:\rc\rainingchain\server\resourcePack\QsouthShore\map\sLightHouse.tmx" while Tiled is already opened.

If I click on the first map in Tiled (sRiverDelta.tmx map), then once again, once this map is visible and the rest of the world becomes hidden.

If instead of opening the map from command line, I open Tiled with "c:\Program Files\Tiled\tiled.exe" then, while no maps are loaded in Tiled, I open the map sRiverDelta.tmx with File -> Open... then everything works and I see the map with the world.

@bjorn bjorn added the bug label Aug 27, 2019

@bjorn

This comment has been minimized.

Copy link
Owner

commented Sep 4, 2019

Hmm, so this issue was also reported on the forum and I've tried to reproduce it on Linux, but without luck so far. The world is definitely loaded before the files on the command-line are opened, so currently I'm not sure what could be causing this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.