Bug 467893 - Unable to launch when forcing mobile view
Summary: Unable to launch when forcing mobile view
Status: RESOLVED FIXED
Alias: None
Product: kasts
Classification: Applications
Component: general (show other bugs)
Version: 23.01.0
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: bart
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-28 18:58 UTC by James F. Mason
Modified: 2023-09-08 07:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James F. Mason 2023-03-28 18:58:31 UTC
SUMMARY

When applying the environment variable `QT_QUICK_CONTROLS_MOBILE=true` the application fails to launch.


STEPS TO REPRODUCE
1. Install kasts via flatpak `flatpak install org.kde.kasts`
2. Run with the env variable `flatpak run --env=QT_QUICK_CONTROLS_MOBILE=true org.kde.kasts`
3. Observe that the shell returns but no application runs.

OBSERVED RESULT
The kasts application fails to open in mobile view.


EXPECTED RESULT
Kasts opens in mobile view.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: PureOS Byzantium (aarch64) and Pop!_OS 22.04 (x86_64)
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Comment 1 bart 2023-03-30 08:55:10 UTC
Thanks for submitting the bug report.

As mentioned in the Kasts matrix room, the crash is due to weird behaviour of the `Instantiator` inside the Kirigami `NavigationTabBar` component.
Comment 2 sim6@bona.gent 2023-05-03 07:58:20 UTC
See also: https://invent.kde.org/frameworks/kirigami/-/merge_requests/999
Comment 3 bart 2023-08-18 08:12:21 UTC
(In reply to sim6@bona.gent from comment #2)
> See also: https://invent.kde.org/frameworks/kirigami/-/merge_requests/999

It took quite a while, but this has finally been merged, and today it was released as part of KF 5.109.0.  It could still take a while before it hits downstream repos, though.

Feel free to re-open if it turns out that the problem isn't solved by KF 5.109.0.
Comment 4 sim6@bona.gent 2023-09-07 19:31:56 UTC
Last version of flathub works well in librem5 with `sudo flatpak override --env=QT_QUICK_CONTROLS_MOBILE=1 org.kde.kasts`. Thank you very much for your work.
Comment 5 bart 2023-09-08 07:40:36 UTC
(In reply to sim6@bona.gent from comment #4)
> Last version of flathub works well in librem5 with `sudo flatpak override
> --env=QT_QUICK_CONTROLS_MOBILE=1 org.kde.kasts`. Thank you very much for
> your work.

Thanks for confirming (since this was a very tricky bug to reproduce).
Comment 6 sim6@bona.gent 2023-09-08 07:46:56 UTC
:)