Bug 481942 - Login WebView does not work on Flatpak Nightly (24.02 basically)
Summary: Login WebView does not work on Flatpak Nightly (24.02 basically)
Status: CONFIRMED
Alias: None
Product: Tokodon
Classification: Applications
Component: general (show other bugs)
Version: 24.02.0
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-02-28 16:52 UTC by Dexter Reed
Modified: 2024-06-09 02:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of an error likely to do with QtWebView and logging in (79.47 KB, image/png)
2024-02-28 16:52 UTC, Dexter Reed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dexter Reed 2024-02-28 16:52:52 UTC
Created attachment 166159 [details]
Screenshot of an error likely to do with QtWebView and logging in

***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Dexter Reed 2024-02-28 16:53:29 UTC
Oops I submitted it by accident :(
Comment 2 Dexter Reed 2024-02-28 17:03:51 UTC
STEPS TO REPRODUCE:
1. Click `Login`
2. Input any server URL
3. Click `Continue`

OBSERVED RESULT:
The app doesn't seem to do anything on the GUI, but shows this error in the terminal:

```
file:///usr/qml/org/kde/kirigami/PageRow.qml:718:5: QML StackView: push: qrc:/qt/qml/org/kde/tokodon/content/ui/LoginFlow/AuthorizationPage.qml:5 module "QtWebView" is not installed
```

EXPECTED RESULT:
Tokodon shows the login screen fine and lets me log in.

SOFTWARE/OS VERSIONS:
Qt Version: 6.6(probably .2)
KDE Frameworks Version: 6.0.0
KDE Plasma Version: Not using Plasma (GNOME 45)
Flatpak: 1.15.6
Tokodon: Nightly Flatpak
Comment 3 Joshua Goins 2024-02-28 18:08:47 UTC
Where did you source this flatpak version? Our qt6 nightly repository or did it release on Flathub without me knowing? :D
Comment 4 Dexter Reed 2024-02-28 18:12:36 UTC
(In reply to Joshua Goins from comment #3)
> Where did you source this flatpak version? Our qt6 nightly repository or did
> it release on Flathub without me knowing? :D

By `qt6 nightly repository`, I believe you mean this: https://cdn.kde.org/flatpak/tokodon-nightly/ ?

If so, I got it from there :)
Comment 5 Dexter Reed 2024-02-28 19:29:58 UTC
I don't know if this helps at all, but adding the env `QML_IMPORT_PATH=/app/qml/` makes Tokodon go to the Authorization page and give this error instead: `No WebView plug-in found!`
Comment 6 Joshua Goins 2024-06-09 02:23:19 UTC
This is odd, someone mentioned this bug to me again in chat and then I tried it on my machine (F40 KDE) and the authorization worked. I wonder why it works on my machine and not others, maybe this part of Flatpak is inconsistent for some reason. Marking as confirmed as this is definitely still an issue