elementary / elementary/files

FileRoller plugin uses last loaded directory as current directory, not necessarily the one clicked on.

Open
#2,777 0 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?

The name of the compressed file was noticed to sometimes not match the name of the folder clicked on; it matched the name of the last folder loaded in *any* tab. The compressed also contains the files inside of the last folder loaded.

### Steps to Reproduce

- Open different folders in different tabs
- focus a tab other than the last opened
- Raise context menu on background folder and select "Compress"
- File Roller opens with the name of the compressed file prefilled with name of the last loaded folder

### Expected Behavior

The compressed file should be named appropriately and should contain the expected files.

### 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.