Jacalz / rymdport

Cross-platform application for easy encrypted file, folder, and text sharing between devices.
https://rymdport.github.io/
GNU General Public License v3.0
1.08k stars 53 forks source link

Received directories are shown as files until finished #147

Closed Jacalz closed 4 months ago

Jacalz commented 6 months ago

Checklist

Description

Sending a directory shows it as a file in the receiving window until it has managed to create the underlying folder where it is going to be saved to. This isn't ideal, we should show it as a folder from the start.

Steps to Reproduce

  1. Send a file and receive on the same computer.
  2. Notice that the file hasn't got a folder icon until finished.

Screenshots

No response

Rymdport version

v3.5.2

Operating System

Linux

Operating System Version

Fedora 39

Go Compiler Version

1.21.8

Additional Information

No response

Jacalz commented 6 months ago

There is work in Fyne v2.5.0 that should make this easy to fix thanks to https://github.com/fyne-io/fyne/pull/4515/files. We will also need to likely create the item to be displayed after d.Client.NewReceive to avoid further issues.