When deleting a file via Nautilus, following files can not be deleted

Bug #2022930 reported by Luis Alvarado
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
nautilus (Ubuntu)
New
Undecided
Unassigned

Bug Description

1. Try to delete a file via Nautilus (Files). On the bottom right corner you will see the whole name of the file with the word selected on it. Press the Delete key on the keyboard and press enter.

2. try to delete a second file on the same folder. It will now show as "" selected instead of the actual name of the file and it will not delete anything.

3. You need to refresh nautilus for it to work once again, but it will only work once, you need to refresh every time you delete a file.

An image on how it looks can be seen here: https://imgur.com/a/U5gumKp

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: nautilus 1:44.0-1ubuntu2
Uname: Linux 6.2.16-060216-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Mon Jun 5 07:26:13 2023
GsettingsChanges:
 b'org.gnome.nautilus.icon-view' b'default-zoom-level' b"'small-plus'"
 b'org.gnome.nautilus.preferences' b'migrated-gtk-settings' b'true'
 b'org.gnome.nautilus.window-state' b'initial-size' b'(1402, 866)'
InstallationDate: Installed on 2023-04-20 (45 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230418)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: nautilus
UpgradeStatus: No upgrade log present (probably fresh install)
usr_lib_nautilus:
 file-roller 43.0-1
 nautilus-extension-gnome-terminal 3.48.0-1ubuntu1
 nautilus-share 0.7.5-0.3

Revision history for this message
Luis Alvarado (luisalvarado) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nautilus (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. It sounds like that could be the same cause than bug #2022851, could you try if the gtk4 update in lunar-proposed fixes the issue for you?

Changed in nautilus (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Luis Alvarado (luisalvarado) wrote :

Hi thank you, I tried but it did not work. I left a message saying:

If it helps, I enabled proposed, updated but the issue is still there. Maybe I needed to wait some more for the proposed repositories to show the correct packages?

Revision history for this message
Sebastien Bacher (seb128) wrote :

unsure what packages you installed from proposed... what's the output of
$ dpkg -l | grep gtk4
?

Changed in nautilus (Ubuntu):
status: Incomplete → New
Revision history for this message
Luis Alvarado (luisalvarado) wrote :

Here they are:

ii gir1.2-nma4-1.0:amd64 1.10.6-1 amd64 GObject introspection data for libnma-gtk4
ii ibus-gtk4:amd64 1.5.28-3 amd64 Intelligent Input Bus - GTK4 support
ii libcolord-gtk4-1:amd64 0.3.0-3 amd64 GTK4 convenience library for interacting with colord
ii libnma-gtk4-0:amd64 1.10.6-1 amd64 NetworkManager GUI GTK4 library
ii libportal-gtk4-1:amd64 0.6-4 amd64 Flatpak portal library for GTK 4 GUIs

Revision history for this message
Sebastien Bacher (seb128) wrote :

sorry I typoed it, could you try again using
$ dpkg -l | grep libgtk-4
?

Revision history for this message
Luis Alvarado (luisalvarado) wrote :

No problem, here you go friend:

ii libgtk-4-1:amd64 4.10.3+ds-0ubuntu1 amd64 GTK graphical user interface library
ii libgtk-4-bin 4.10.3+ds-0ubuntu1 amd64 programs for the GTK graphical user interface library
ii libgtk-4-common 4.10.3+ds-0ubuntu1 all common files for the GTK graphical user interface library
ii libgtk-4-media-gstreamer 4.10.3+ds-0ubuntu1 amd64 GStreamer media backend for the GTK graphical user interface library
luis@xtreme:~$

Guide me obiwan. you are my only hope.

Revision history for this message
Sebastien Bacher (seb128) wrote :

So you don't have the fixed version from lunar-proposed installed, you should be able to get it by doing

$ sudo apt install libgtk-4-1/lunar-proposed libgtk-4-bin/lunar-proposed libgtk-4-common/lunar-proposed libgtk-4-media-gstreamer/lunar-proposed

Revision history for this message
Luis Alvarado (luisalvarado) wrote :

Well first, thank you for that new way of installing specific packages. If you have a source that I might be able to go to, please share so I can learn more, mainly because the man pages lack being updated, some of them for years.

Returning to the update, after I did that yes I can confirm the problem was solved. I tried deleting in different folders, from a single file (Deleted 5 files, one by one), to multiple files at once. All problems solved.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Great, thanks for confirming, I'm marking it as duplicate of bug #2022851

Revision history for this message
Sebastien Bacher (seb128) wrote :

and for the syntax, it's documented in the 'apt' manpage

SYNOPSIS
       apt [-h] [-o=config_string] [-c=config_file] [-t=target_release] [-a=architecture] {list | search | show | update |
           install pkg [{=pkg_version_number | /target_release}]... |

the '[{=pkg_version_number | /target_release}]' bit

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.