Page MenuHomePhorge

Enable open cached file in external application
ClosedPublic

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

Details

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 558
Build 1098: Invoke BuildbotBuildbot build #1279
Build 1097: 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–42

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

This revision is now accepted and ready to land.Fri, Mar 27, 9:33 AM
This revision was landed with ongoing or failed builds.Sat, Mar 28, 8:29 AM
This revision was automatically updated to reflect the committed changes.