FS#78469 - [gtk4] Nautilus doesn't update view correctly when file is deleted.

Attached to Project: Arch Linux
Opened by Peter Weber (hoschi) - Wednesday, 10 May 2023, 11:31 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 10 May 2023, 22:49 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

Hello!

Description:
Nautilus doesn't update the view correctly when a file is deleted. This is caused by a bug in Gt4k and already fixed in the the upstream branch of "4.10".

Additional info:
* package version(s): >= 4.10
* config and/or log files etc.: none
* link to upstream bug report, if any:
https://gitlab.gnome.org/GNOME/nautilus/-/issues/2945
https://gitlab.gnome.org/GNOME/gtk/-/commit/4f47683710bbb4b56c286c6ee6a5c394fcf2b755
https://src.fedoraproject.org/rpms/gtk4/blob/f38/f/gtk-4.10.3-fix-nautilus-deletion.patch

Steps to reproduce:
1.) Open Nautilus
2.) Delete a file with the icon view between the other files
3.) File will be moved at the end of the files instead of disappearing

I want to ask to backport the patch because wrongly displayed files are dangerous.

Thank you :)
This task depends upon

Closed by  Toolybird (Toolybird)
Wednesday, 10 May 2023, 22:49 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#78393 
Comment by Peter Weber (hoschi) - Wednesday, 10 May 2023, 14:00 GMT
I've applied and tested the patch locally and the issue in Nautilus seems resolved.

PS: If you compile gtk4 locally (with and without patch) you maybe need to skip the tests with `--nocheck`. Probably depending on environment, no chroot or something other.
Comment by Mark Wagie (yochananmarqos) - Wednesday, 10 May 2023, 14:40 GMT
I confirm the patch resolves the issue. The tests pass building in a chroot, by the way.

Loading...