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

The UI is always blank #2785

Closed
damozhang opened this issue Apr 21, 2020 · 16 comments
Closed

The UI is always blank #2785

damozhang opened this issue Apr 21, 2020 · 16 comments
Labels
bug Broken behavior. macos macOS specific issue. qt issue Qt related issue.

Comments

@damozhang
Copy link

I use the app on macOS 10.15.4. The UI is always blank.
I have tried to disable the dark mode but the issue still there.

Screen Shot 2020-04-21 at 12 31 12 AM

@bjorn
Copy link
Member

bjorn commented Apr 21, 2020

Wow, I've never seen that before. Did you try both the latest release (1.3.4) and the development snapshot?

Did you ever successfully use an older version of Tiled, and if so which version?

@bjorn bjorn added bug Broken behavior. macos macOS specific issue. labels Apr 21, 2020
@damozhang
Copy link
Author

Wow, I've never seen that before. Did you try both the latest release (1.3.4) and the development snapshot?

Did you ever successfully use an older version of Tiled, and if so which version?

I have tried version 1.3.3 and 1.3.4 and it's always been blank.

@damozhang
Copy link
Author

Did you try both the latest release (1.3.4) and the development snapshot?

I just tried the Tiled for macOS (snapshot). The problem remains.

Screen Shot 2020-04-21 at 10 47 44 AM

@bjorn
Copy link
Member

bjorn commented Apr 21, 2020

Thanks for trying out some different versions! Too bad we didn't find one yet that works.

Could you please also try Tiled 1.2.5? It was built against Qt 5.9 rather than 5.12, just to check if this is potentially some regression there. If that still does not fix the issue, I'll try to make a build with latest Qt available.

Unfortunately I can't test on macOS 10.15 myself since my Mac Mini is too old for this version. Though I think in general Tiled works fine on macOS for most people, so I wonder what's going on here...

@damozhang
Copy link
Author

Could you please also try Tiled 1.2.5? It was built against Qt 5.9 rather than 5.12, just to check if this is potentially some regression there. If that still does not fix the issue, I'll try to make a build with latest Qt available.

The version 1.2.5 works!

@bjorn
Copy link
Member

bjorn commented Jul 12, 2020

According to @astrochili the last version without this issue was Tiled 1.3.1, which was built against Qt 5.12.5. Due to other fixes I don't think reverting to this older Qt version is a good idea, but it's worth trying if that's where the issue is rather than it being due to a change in Tiled.

@astrochili
Copy link

Would you be able to try this out locally? I can also try making a build of the latest Tiled against Qt 5.12.5 so you can test if the problem is in Qt.

@bjorn I can try the build with the older QT of course, just give me some instructions or links to download.

@bjorn
Copy link
Member

bjorn commented Jul 12, 2020

@astrochili That's great! You can download and install Qt 5.12.5 using the Qt Online Installer (make sure to only install the macOS version of Qt). You may need to set up a Qt account to get it to download. You also need Xcode installed and clone Tiled somewhere of course.

Along with the selected version of Qt, the installer also installs Qt Creator. Open this IDE and then open the top-level tiled.qbs file. It should by default offer to configure the project using the installed version of Qt. You can press Run (Command+R) to run Tiled.

@astrochili
Copy link

astrochili commented Jul 13, 2020

@astrochili That's great! You can download and install Qt 5.12.5 using the Qt Online Installer (make sure to only install the macOS version of Qt). You may need to set up a Qt account to get it to download. You also need Xcode installed and clone Tiled somewhere of course.

Along with the selected version of Qt, the installer also installs Qt Creator. Open this IDE and then open the top-level tiled.qbs file. It should by default offer to configure the project using the installed version of Qt. You can press Run (Command+R) to run Tiled.

I installed Qt 5.12.5 and opened tiled.qbs. When I press Run button I got error "No Executable Specified". Which run configuration I should select?

Screenshot 2020-07-13 at 22 02 34

@bjorn
Copy link
Member

bjorn commented Jul 13, 2020

I installed Qt 5.12.5 and opened tiled.qbs. When I press Run button I got error "No Executable Specified". Which run configuration I should select?

Hmm, normally there should be only one run configuration by default, called "tiled". It's really strange to see essentially all the others except that one. I guess you can try adding one for "tiled" in the Projects view. If the message persists, try to first just press the Build button and press the Run button after the build has finished.

@astrochili
Copy link

I installed Qt 5.12.5 and opened tiled.qbs. When I press Run button I got error "No Executable Specified". Which run configuration I should select?

Hmm, normally there should be only one run configuration by default, called "tiled". It's really strange to see essentially all the others except that one. I guess you can try adding one for "tiled" in the Projects view. If the message persists, try to first just press the Build button and press the Run button after the build has finished.

Wow, that’s not so easy. Following this instruction I received new errors. I'll send you message via Discrod, I think we could connect and I will share the screen.

@netmute
Copy link

netmute commented Oct 26, 2020

@bjorn In reply to your answer to #2925, the version you linked works.

@bjorn bjorn added the qt issue Qt related issue. label Oct 27, 2020
@bjorn
Copy link
Member

bjorn commented Oct 27, 2020

@netmute Alright, thanks for testing! Just to make sure, this should mean that the bug is also fixed in the latest development snapshot available on itch.io (currently 2020.10.08). If you could verify that I'd say we can close this issue.

@netmute
Copy link

netmute commented Oct 28, 2020

@bjorn
The latest development snapshot (2020.10.08) is blank again 😢
The test snapshot (2020.10.28) from itch works fine.

@bjorn
Copy link
Member

bjorn commented Oct 28, 2020

@netmute It's sad that the 2020.10.08 snapshot is still broken, given that it's also based on Qt 5.15.1. This means it probably has something to do with another part of the build system... possibly the version of Xcode used.

But the good news is that the new snapshots I've been setting up since yesterday no longer have this problem! These are built on GitHub Actions, which is able to build and upload 4 snapshots in little over 10 minutes. Unfortunately there is still an issue preventing me from replacing the snapshots with the test snapshots, but I hope to have that resolved soon.

@bjorn
Copy link
Member

bjorn commented Oct 28, 2020

Should be fixed in latest snapshot! (the test snapshots have been removed again)

@bjorn bjorn closed this as completed Oct 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Broken behavior. macos macOS specific issue. qt issue Qt related issue.
Projects
None yet
Development

No branches or pull requests

4 participants