Page MenuHomePhorge

Enable open cached file in external application
AcceptedPublic

Authored by nannanko on Sat, Mar 7, 9:44 AM.
Tags
None
Referenced Files
F53232653: D290.1774743772.diff
Fri, Mar 27, 5:22 PM
F53181006: D290.1774734894.diff
Fri, Mar 27, 2:54 PM
F53095350: D290.1774719812.diff
Fri, Mar 27, 10:43 AM
F53065388: D290.1774713957.diff
Fri, Mar 27, 9:05 AM
Subscribers
None

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 574
Build 1130: Invoke BuildbotBuildbot build #1416
Build 1129: 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
39

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
35–37

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