nextcloud / nextcloud/desktop

[Bug]: Trayicon dialog does not open file unless it has been downloaded previously

Open
#8,480 2 comments 0 reactions 0 assignees View on GitHub
1. to develop feature: :cloud: GUI feature: :minidisc: virtual filesystem os: :door: Windows Prio: normal
Dominant language
C++
Stars
3.9k
Forks
1k
Avg merge
1d 17h
Merged PRs (30d)
123

Description

### ⚠️ Before submitting, please verify the following: ⚠️

- [x] This is a **bug**, not a question or a configuration issue.
- [x] This issue is **not** already reported on Github (I've searched it).
- [x] Nextcloud Server and Desktop Client are **up to date**. See [Server Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) and [Desktop Releases](https://nextcloud.com/install/#install-clients) for supported versions.
- [x] I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/)

### Bug description

When using "virtual files" in nextcloud desktop for windows, files are downloaded on demand when accessing them (or marking them for always offline). The trayicon application menu file activity does NOT OPEN files, that have NOT yet been DOWNLOADED.

This defeats the purpose of having said file activity list, as a user might wnat to open a file that was just uploaded (by him on another device for example. Instead the user has to manually go to the file location or use a search tool to open it (quickly).

The Search Function in the trayicon popup is useless too, as it will open the file in your webbrowser (??), which defeats the purpose of using a desktop client in the first place. This alone is worth its own seperate github issue imho.

### Steps to reproduce

1. Upload any file `example.jpg` to nextcloud server
2. On a windows desktop that uses nextcloud desktop client with "virtual files", what file is listet in the trayicon popup window (what is the correct name?) as "Activity"
3. Clicking the file does NOT open it
4. Go to File Explorer and open the file, nextcloud while download it from server and open the file
5. NOW it is possible to open the file from the tray icon menu

Video attached

https://github.com/user-attachments/assets/0699f441-63e0-432c-8694-13bcda4029e8

### Expected behavior

Clicking / Doubleclicking the file in the activity log SHOULD open it, no matter what

### Which files are affected by this bug

Any

### Operating system

Windows

### Which version of the operating system you are running.

Windows 10 22H2 Build 19045.6093

### Package

Official Windows MSI

### Nextcloud Server version

30.0.12

### Nextcloud Desktop Client version

3.16.6

### Is this bug present after an update or on a fresh install?

Updated from a minor version (ex. 3.4.2 to 3.4.4)

### Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

### Are you using an external user-backend?

- [x] Default internal user-backend
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other

### Nextcloud Server logs

```shell

```

### Additional info

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.