Open benfishbus opened 1 month ago
Yeah, I have the same issue
I should add, my phone is on iOS 18, and I'm using Firefox. I just signed in from Firefox on Windows, and iQbit displays correctly.
Occurs in Safari and Chrome for iOS too. Switching off dark mode made no difference. And I confirmed my similarly set up qbt 4.x instance still displays properly through iQbit. Viewed directly on iPhone, qbt 5.0 webui displays as well as can be expected - not a black screen but still not mobile friendly. Anyway, seems like something going wrong between iQbit and webui 5.0.
Im planning on taking a look today! Should be some api call that got updated
I wasn't able to repro but a I did notice that the UI seems to be getting hung up at some point, and while that was happening the UI also fails to respond (API calls stay pending). If you're on the nox version, I imagine that would be hard to notice maybe :/
Best solution might be to downgrade :/
Bummer! Will you be reporting that as a qb issue? I don't think I've experienced that while using the 5.0 webui directly.
Not sure what changed, but I'm no longer experiencing this problem.
Currently having the same issue, and my console has spouted the following error:
TypeError: Cannot read properties of undefined (reading 'short')
at II (TorrentBox.tsx:319:57)
which does seem to correlate with the following line: https://github.com/ntoporcov/iQbit/blob/9ae14637955bfa95889c6f767b97300382e43e0c/src/components/TorrentBox.tsx#L319
I can provide more information if required.
qBit version: v5.0.0 iQbit version: 9ae14637955bfa95889c6f767b97300382e43e0c
Same issue, can help with logs if required.
Well, I don't know the iQbit or qB api well enough to make a real fix, but if you wanna temp fix:
iQbit/release/public/static/js/main.b4c1c017.js
children:kT[t.state].short
(it's about 75% to the end of the file)children:kT?.[t.state]?.short || 'Unknown'
For me the iQbit ui works, although is a little sluggish and occasionally has additional JS errors that crash the page
If you're building from the source files you can...
iQbit/src/components/TorrentBox.tsx
<span>{stateDictionary[torrentData.state].short}</span>
<span>{stateDictionary?.[torrentData.state]?.short || 'Unknown state'}</span>
Is anyone else running this with qbt 5.0 as a separate server? When I login to iQbit, I see a flash of UI then total black screen. My qbt 5.0 is using the (new) default webui. Sorry if this is already addressed somewhere and I missed it...