elementary / elementary/files

Files hangs on start when a Samba share is connected before suspend

Open
#2,773 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vala
Stars
365
Forks
82
Avg merge
4d 2h
Merged PRs (30d)
3

Description

### What Happened?

Files takes almost a minute to start after resuming from suspend. I can reproduce this every time a network folder is connected.

I've collected debug logs: [elementary-files.log](https://github.com/user-attachments/files/25980127/elementary-files.log)

### Steps to Reproduce

1. Boot elementary.
2. Open Files and go to a Samba network folder (e.g. using a bookmark).
3. Close Files and put the computer to sleep (suspend-to-RAM).
4. Resume from suspend and open Files.

The bookmark I'm using is set to `smb://WORKGROUP;dsilva@oxygen/dsilva`.

Screenshot of Files showing the sidebar with my bookmarks

When the network folder is connected, this is what it looks like:

Screenshot of Files sidebar showing a connected network folder

### Expected Behavior

Normal startup time.

### OS Version

8.x (Circe)

### OS Architecture

amd64 (on most hardwares)

### Session Type

Secure Session (Wayland, This is the default)

### Software Version

Latest release (I have run all updates)

### Log Output

```shell

```

### Hardware Info

_No response_

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.