Skip to content

IconView fails to refresh after reversing a cut/paste operation between parent and child folder #2801

Description

@jeremypw

What Happened?

Cut/pasted a file between two folders in separate tabs. The file appeared in the second folder OK. Moved the cut/pasted the file back in to the first tab. The view blanked and did not refresh until the view was resized or the refresh button was pressed. The file was successfully moved. No terminal warnings were given. Only happens with IconView. Moreover, it only happens between two tabs in the same window. If the second tab is in a separate window then the view redraws correctly.

Maybe related to some other issues involving refreshing but this is the easiest to reproduce

Steps to Reproduce

Using IconView:

  1. Create a folder and within it a child folder and open them in separate tabs A & B
  2. Create a file in A
  3. Cut/paste the file from A to B
  4. Cut/paste the file from B to A or undo (<Ctrl>Z) while displaying tab A
  5. Notice tab A appears blank until refreshed

Expected Behavior

The view always updates when a file is pasted into it.

OS Version

8.x (Circe)

OS Architecture

amd64 (on most hardwares)

Session Type

Secure Session (Wayland, This is the default)

Software Version

Early Access or Compiled from git

Log Output

Hardware Info

No response

Metadata

Metadata

Labels

No labels
No labels

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions