Page MenuHomePhorge

Enable open cached file in external application
Needs ReviewPublic

Authored by nannanko on Sat, Mar 7, 9:44 AM.

Details

Reviewers
tusooa
Group Reviewers
O1: the Kazv Project
Summary

The file will be cached and then open it with default application(if exists).

Type: add

Test Plan

Open a timeline with a file event, click view in menu, and check if it is opened(There may be some delays).

Diff Detail

Repository
rK kazv
Branch
nannanko/open-file-external
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 565
Build 1112: Invoke BuildbotBuildbot build #1350
Build 1111: arc lint + arc unit

Event Timeline

Please add a changelog type to the summary, using the following format:

Type: (add|remove|skip|security|fix)

nannanko removed a reviewer: servant.

Open file when cache success

tusooa requested changes to this revision.Mon, Mar 9, 6:10 PM
tusooa added inline comments.
src/contents/ui/MediaFileMenu.qml
40

add an error message when the cache failed

tusooa requested changes to this revision.Sat, Mar 14, 7:51 PM
tusooa added inline comments.
src/contents/ui/MediaFileMenu.qml
36–44

Delegate this to RoomTimelineView or something more persistent. Otherwise, if the EventView is deleted and re-created, then we will not be able to keep this connection.

This revision now requires changes to proceed.Sat, Mar 14, 7:51 PM

Connect the function that opens the file to the KazvIOJob instead of the FileHandler that can be destroyed at any time.

autoCache will not be modified