muesli / telephant

A lightweight but modern Mastodon client for the desktop
MIT License
190 stars 14 forks source link

Doesn't display a window in Ubuntu #42

Closed Yowlen closed 5 years ago

Yowlen commented 5 years ago

I'm not sure what the deal is, but I haven't been able to get Telephant to work since that first day when we did all that stuff figuring out the Ubuntu dependencies to get it working. There was a couple weeks in between that day and the next time I used it, so there's a decent time window in which things could've broken.

In regards to symptoms, the background process works fine, giving me system notifications for new mentions and stuff, but there's nothing in the foreground. No window or anything ever shows up. When launched outside the terminal, I have to kill it via the task manager. Luckily I can kill it with a simple CTRL-C in the terminal, though.

As for how it's broken, I'm not entirely sure. I don't know if the app simply doesn't update properly when I re-run the instructions or if the app actually broke.

I am getting an error message in the terminal, if it helps:

QQmlApplicationEngine failed to load component qrc:/qml/telephant.qml:2 module "QtQuick.Controls" version 2.5 is not installed

Beyond that, I have nothing.

muesli commented 5 years ago

Ok, that means there's definitely still (one or more) packages missing. Can you try and "apt install qml-module-qtquick*"?

Yowlen commented 5 years ago

All are currently installed, including both qml-module-qtquick-controls and qml-module-qtquick-controls2.

Edit: Both are version 5.9.5, so it sounds like a version mismatch issue might be messing up the entire thing.

muesli commented 5 years ago

Which Ubuntu version is that? Sounds like QtQuickControls may be older than 2.5?

Yowlen commented 5 years ago

Ubuntu 18.04 LTS

Edit: Is there a specific reason for requiring a newer version of this Or can it be safely downgraded to support Ubuntu's LTS version?

muesli commented 5 years ago

Ah sorry, just saw your edit on the previous comment. I'll try and lower the dependency for the QtQuick Controls. I think the lowest dependency we can get away with is actually Qt 5.9.

muesli commented 5 years ago

Ok, should be fixed in 23baddb. Thanks for the feedback!