Bug 458659 - Crashes attempting to open file selector UI on Android TV
Summary: Crashes attempting to open file selector UI on Android TV
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (show other bugs)
Version: unspecified
Platform: Android Android 9.x
: NOR crash
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-03 13:36 UTC by Rishi
Modified: 2022-09-03 13:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Stack Trace as recorded by Scoop (2.10 KB, text/plain)
2022-09-03 13:36 UTC, Rishi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rishi 2022-09-03 13:36:11 UTC
Created attachment 151798 [details]
Stack Trace as recorded by Scoop

SUMMARY
***
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
***

I am trying to give full filesystem access to KDE connect on my Mi Box 4K Android TV, and I am getting stuck trying to give filesystem access as KDE connect uses Android's default file picker UI, and the Android TV I am using doesn't have that activity.

A possible alternative is to use 

STEPS TO REPRODUCE
1. Pair the Android TV to a Linux PC
2. Open the sharing intent for the particular pair
3. Attempt to give "filesystem expose" permission
4. Click on "Add storage location" on the next screen
5. Click on "Storage location" selector

OBSERVED RESULT
The app crashes and connection to the PC is lost

EXPECTED RESULT
File selector UI should be opened, if an android intent is not available, the file selector should be native inside the app

SOFTWARE/OS VERSIONS
Windows: N/A
macOS: N/A
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.25.4 
KDE Frameworks Version: 5.97.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION

The Android TV is Mi Box 4K (Sold in India) with Android 9.0 as the latest OS update