can't use arrows when renaming on the desktop

Bug #2067831 reported by joseferg
44
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Gnome Shell Extension Desktop Icons Ng
Fix Released
Unknown
gnome-shell-extension-desktop-icons-ng (Ubuntu)
Fix Released
Medium
Sergio Costas
Noble
Fix Released
Medium
Sergio Costas
Oracular
Fix Released
Medium
Sergio Costas

Bug Description

[ Impact ]

During a file rename operation on the desktop, when using the cursor keys to move the cursor forward or backwards, the dialog closes. It's only possible to move the cursor by using the mouse.

Moving the cursor when renaming a file is very common, because a lot of cases consist on adding or removing something at the end of the filename, or change the extension, so nearly all users will suffer this bug. It's true that they can use the mouse, but for users used to the keyboard, this is a very cumbersome bug.

[ Test Plan ]

In the desktop, right-click over an icon and select 'Rename...'. When the rename popup appears, press the left or the right cursor key to move the cursor.

If the bug is there, the popup will disappear and no renaming will happen. If the bug has been fixed, the text cursor will move forward or backwards, as expected.

[ Where problems could occur ]

The patch mainly affects the hotkeys code, so a mistake in those changes could disable the keyboard shortcuts for the desktop. In the worst case, the desktop main program won't run, thus leaving the desktop without icons. No data loss would happen, so just reverting to the previous version of the code would be enough to fix the problem.

[ Other Info ]

Equipo utilizado:
OS: Ubuntu 24.04 LTS x86_64
Host: B450M DS3H
Kernel: 6.8.0-31-generic
Uptime: 1 hour, 52 mins
Packages: 2496 (dpkg), 16 (snap)
Shell: bash 5.2.21
Resolution: 1920x1080
DE: GNOME 46.0
WM: Mutter
WM Theme: Adwaita
Theme: Yaru-blue-dark [GTK2/3]
Icons: Yaru-blue-dark [GTK2/3]
Terminal: gnome-terminal
CPU: AMD Ryzen 3 3200G (4) @ 3.600GH
GPU: NVIDIA GeForce GT 1030
Memory: 2137MiB / 7878MiB

Revision history for this message
joseferg (joseferg) wrote :

En la descripción donde dice "ren." debe decir "renombrar" y donde dice "venta del proceso" debe decir "sale del proceso"

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

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately, we cannot work on this bug because your description didn't include enough information. You may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem.

We have instructions on debugging some types of problems at http://wiki.ubuntu.com/DebuggingProcedures.

At a minimum, we need:

1. The specific steps or actions you took that caused you to encounter the problem.
2. The behavior you expected.
3. The behavior you actually encountered (in as much detail as possible).

Please also ensure that you include the release and flavour of Ubuntu that you are using.

Thank you!

Changed in nautilus (Ubuntu):
status: New → Incomplete
Revision history for this message
joseferg (joseferg) wrote : Re: [Bug 2067831] Re: no funciona bien la edición de un archivo en el escritorio al renombrarlo
Download full text (3.2 KiB)

Dear Mr. Bacher. Below I will try to explain in more detail the error found
in Ubuntu version 24.04. I hope you can understand it. I have translated it
from Spanish to English using Google Translate. Regards.

Equipment used: OS: Ubuntu 24.04 LTS x86_64
Kernel: 6.8.0-31-generic
Packages: 2496 (dpkg), 16 (snap)
Shell: bash 5.2.21
Resolution: 1920x1080
DE: GNOME 46.0
WM: Mutter
WM Theme: Adwaita
Theme: Yaru-blue-dark [GTK2/3]
Icons: Yaru-blue-dark [GTK2/3]
Terminal: gnome-terminal
CPU: AMD Ryzen 3 3200G (4) @ 3.600GH
GPU: NVIDIA GeForce GT 1030
Memory: 2137MiB / 7878MiB

Initial situation and objective of the procedure. On my desktop I have a
folder called "test_bug_ubuntu" and I want to rename it to:
"first_test_bug_ubuntu"

Steps followed:

First step. I turn on my computer and go to the desktop where I have the
folder called test_bug_ubuntu

Second step. I place the mouse over the folder and press the right button.
The folder takes on a blue background and a context menu opens. I press the
left mouse button on the "rename..." option. A small editor opens where the
name of the folder appears on a blue background waiting for me to make the
changes.

The error: When I try to move through the letters with the keyboard using
the arrow keys, forward/backward, the editing suddenly ends and no changes
are made to the name of the folder.

Clarifications: If I use the mouse to position myself over the letter or
word that I want to modify or add, it does so correctly without any error.

The same error occurs when trying to rename any file on the desktop.

If the process is done with the Nautilus file browser (and not on the
desktop) the process is done correctly.

I hope I have correctly explained the error found. In previous versions of
Ubuntu this procedure was done correctly.

Enviar comentarios
<https://translate.google.es/history>

<https://translate.google.es/saved>

El lun, 3 jun 2024 a las 10:15, Sebastien Bacher (<
<email address hidden>>) escribió:

> Thank you for taking the time to report this bug and helping to make
> Ubuntu better. Unfortunately, we cannot work on this bug because your
> description didn't include enough information. You may find it helpful
> to read "How to report bugs effectively"
> http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful
> if you would then provide a more complete description of the problem.
>
> We have instructions on debugging some types of problems at
> http://wiki.ubuntu.com/DebuggingProcedures.
>
> At a minimum, we need:
>
> 1. The specific steps or actions you took that caused you to encounter the
> problem.
> 2. The behavior you expected.
> 3. The behavior you actually encountered (in as much detail as possible).
>
> Please also ensure that you include the release and flavour of Ubuntu
> that you are using.
>
> Thank you!
>
> ** Changed in: nautilus (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2067831
>
> Title:
> no funciona bien la edición de un archivo en el escritorio al
> renombrarlo
>
> To manage notifications about this bug go to:
>
> https:/...

Read more...

affects: nautilus (Ubuntu) → gnome-shell-extension-desktop-icons-ng (Ubuntu)
summary: - no funciona bien la edición de un archivo en el escritorio al
- renombrarlo
+ can't use arrows when renaming on the desktop
tags: added: a11y noble
Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu):
status: Incomplete → New
Revision history for this message
Sergio Costas (rastersoft-gmail) wrote :

Prepared patch and sent it upstream.

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

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

Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu):
status: New → Confirmed
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Fixes arrow keys during renaming" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

See also bug 2069720.

Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu):
status: Confirmed → Fix Committed
tags: added: fixed-in-ding-47.0.11 fixed-upstream
Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu):
assignee: nobody → Sergio Costas (rastersoft-gmail)
Revision history for this message
Sergio Costas (rastersoft-gmail) wrote :

Patch uploaded to Salsa.

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

This bug was fixed in the package gnome-shell-extension-desktop-icons-ng - 47.0.11-1

---------------
gnome-shell-extension-desktop-icons-ng (47.0.11-1) experimental; urgency=medium

  * New upstream release
    - Fix using arrow keys when renaming (LP: #2067831)
    - Fix error when opening preferences (LP: #2061070)

 -- Jeremy Bícha <email address hidden> Thu, 20 Jun 2024 17:11:11 -0400

Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu):
status: Fix Committed → Fix Released
tags: added: oracular
Revision history for this message
Tsugu-SK (tsugu-sk) wrote :

When will the fix reach the repos of 24.04? The but persists on 24.04 after a fresh install and updating all of the packages.

Revision history for this message
Sergio Costas (rastersoft-gmail) wrote :
description: updated
Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu Noble):
assignee: nobody → Sergio Costas (rastersoft-gmail)
status: New → In Progress
milestone: none → noble-updates
Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu Oracular):
milestone: none → ubuntu-24.10
importance: Undecided → Medium
Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu Noble):
importance: Undecided → Medium
Changed in gnome-shell-extension-desktop-icons-ng:
status: Unknown → Fix Released
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Merged:
https://salsa.debian.org/gnome-team/shell-extensions/gnome-shell-extension-desktop-icons-ng/-/merge_requests/6

But we're missing a changelog entry. Once there is one, please create a debdiff, attach it here and then subscribe ubuntu-sponsors.

description: updated
tags: added: desktop-needs-sru
Revision history for this message
joseferg (joseferg) wrote : Re: [Bug 2067831] Re: can't use arrows when renaming on the desktop

El bug está solucionado con la versión
gnome-shell-extension-desktop-icons-ng_47.0.11-3_all.deb
Muchas gracias a todas las personas que han participado y lo han hecho
posible.

El mar, 1 oct 2024 a las 14:25, Daniel van Vugt (<email address hidden>)
escribió:

> ** Tags added: desktop-needs-sru
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2067831
>
> Title:
> can't use arrows when renaming on the desktop
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/gnome-shell-extension-desktop-icons-ng/+bug/2067831/+subscriptions
>
>

Revision history for this message
Matej Drozdik (matej-sk) wrote :

When will the fix reach Noble if I may ask?

Revision history for this message
Sergio Costas (rastersoft-gmail) wrote :

I'm afraid it's my fault to not have it in Noble yet. I'll work on it this Monday. Sorry.

Revision history for this message
joseferg (joseferg) wrote :

Pues yo ya lo tengo en Noble. Se instaló con una actualización ordinaria
hace unos días. Funciona perfectamente. Muchas gracias.

El vie, 1 nov 2024, 9:45, Sergio Costas <email address hidden>
escribió:

> I'm afraid it's my fault to not have it in Noble yet. I'll work on it
> this Monday. Sorry.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2067831
>
> Title:
> can't use arrows when renaming on the desktop
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/gnome-shell-extension-desktop-icons-ng/+bug/2067831/+subscriptions
>
>

Revision history for this message
Matej Drozdik (matej-sk) wrote :

@joseferg
I just updated my Noble. It's not there.

Revision history for this message
Sergio Costas (rastersoft-gmail) wrote :

@joseferg @matej-sk I checked it in a fresh install, and no, the patch isn't there. Maybe @joseferg is using the upstream extension, which has it fixed? Or maybe is using ding4, which is a different extension?

Revision history for this message
joseferg (joseferg) wrote :

Hola
No tengo la extensión upstream ni uso ding4. Pero el problema se solucionó
con una actualización hecha durante el mes de octubre. Unos días había
instalado el parche publicado;
gnome-shell-extension-desktop-icons-ng_47.0.11-3_all.deb. Inicialmente no
se solucionó el problema pero días después, tras una actualización, el
problema quedó solucionado.

El lun, 4 nov 2024 a las 10:30, Sergio Costas (<email address hidden>)
escribió:

> @joseferg @matej-sk I checked it in a fresh install, and no, the patch
> isn't there. Maybe @joseferg is using the upstream extension, which has
> it fixed? Or maybe is using ding4, which is a different extension?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2067831
>
> Title:
> can't use arrows when renaming on the desktop
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/gnome-shell-extension-desktop-icons-ng/+bug/2067831/+subscriptions
>
>

Revision history for this message
Sergio Costas (rastersoft-gmail) wrote :

gnome-shell-extension-desktop-icons-ng_47.0.11-3_all.deb is the version in Oracular, not in Noble. That's why it does work for you.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

This is good to be accepted for noble.

Definitely not a blocker, but I would have preferred the version to be 46+really47.0.9-1ubuntu0.1, following the guidelines from the table at [1].

gnome-shell-extension-desktop-icons-ng | 46+really47.0.9-1 | noble | source
gnome-shell-extension-desktop-icons-ng | 46+really47.0.9-1ubuntu1 | noble/unapproved/cfa196c | source
gnome-shell-extension-desktop-icons-ng | 47.0.11-3 | oracular | source

Here we can see that the upgrade path is fine, so -1ubuntu1 will work.

1. https://wiki.ubuntu.com/SecurityTeam/UpdatePreparation#Update_the_packaging

Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu Noble):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-noble
Revision history for this message
Andreas Hasenack (ahasenack) wrote : Please test proposed package

Hello joseferg, or anyone else affected,

Accepted gnome-shell-extension-desktop-icons-ng into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-shell-extension-desktop-icons-ng/46+really47.0.9-1ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-noble. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
joseferg (joseferg) wrote : Re: [Bug 2067831] Please test proposed package

Hi Andreas. I have installed the version for Oracle:
gnome-shell-extension-desktop-icons-ng-47.0.11-3_all.deb and everything
works perfectly. I don't know if to install the version you mentioned:
https://launchpad.net/ubuntu/+source/gnome-shell-extension-desktop-icons-ng/46+really47.0.9-1ubuntu1
I have to uninstall the other one first. I don't know how to do it. Can I
install this one overwriting the previous one?

El mié, 18 dic 2024 a las 20:25, Andreas Hasenack (<
<email address hidden>>) escribió:

> Hello joseferg, or anyone else affected,
>
> Accepted gnome-shell-extension-desktop-icons-ng into noble-proposed. The
> package will build now and be available at
> https://launchpad.net/ubuntu/+source/gnome-shell-extension-desktop-
> icons-ng/46+really47.0.9-1ubuntu1
> <https://launchpad.net/ubuntu/+source/gnome-shell-extension-desktop-icons-ng/46+really47.0.9-1ubuntu1>
> in a few hours, and then in the
> -proposed repository.
>
> Please help us by testing this new package. See
> https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
> to enable and use -proposed. Your feedback will aid us getting this
> update out to other Ubuntu users.
>
> If this package fixes the bug for you, please add a comment to this bug,
> mentioning the version of the package you tested, what testing has been
> performed on the package and change the tag from verification-needed-
> noble to verification-done-noble. If it does not fix the bug for you,
> please add a comment stating that, and change the tag to verification-
> failed-noble. In either case, without details of your testing we will
> not be able to proceed.
>
> Further information regarding the verification process can be found at
> https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
> advance for helping!
>
> N.B. The updated package will be released to -updates after the bug(s)
> fixed by this package have been verified and the package has been in
> -proposed for a minimum of 7 days.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2067831
>
> Title:
> can't use arrows when renaming on the desktop
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/gnome-shell-extension-desktop-icons-ng/+bug/2067831/+subscriptions
>
>

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

The noble version will take a while to build. You have to enable noble-proposed in /etc/apt/sources.list.d/ubuntu.sources, and then wait for it to be published (run apt-get update and apt-cache policy <packagename> periodically). Once it's published in noble-proposed, you can install it via apt-get install <package> -t noble-proposed and perform the test plan.

Revision history for this message
joseferg (joseferg) wrote : Re: [Bug 2067831] Re: can't use arrows when renaming on the desktop

I will do that, but do I have to uninstall the oracular version
(gnome-shell-extension-desktop-icons-ng-47.0.11-3_all.deb) that I installed
first?

El mié, 18 dic 2024 a las 21:40, Andreas Hasenack (<
<email address hidden>>) escribió:

> The noble version will take a while to build. You have to enable noble-
> proposed in /etc/apt/sources.list.d/ubuntu.sources, and then wait for it
> to be published (run apt-get update and apt-cache policy <packagename>
> periodically). Once it's published in noble-proposed, you can install it
> via apt-get install <package> -t noble-proposed and perform the test
> plan.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2067831
>
> Title:
> can't use arrows when renaming on the desktop
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/gnome-shell-extension-desktop-icons-ng/+bug/2067831/+subscriptions
>
>

Revision history for this message
Tsugu-SK (tsugu-sk) wrote :

I have enabled noble-proposed, performed sudo apt install gnome-shell-extension-desktop-icons-ng -t noble-proposed and restarted. The bug has been fixed, I can rename files and folders by using the arrow keys.

Revision history for this message
joseferg (joseferg) wrote :

As per my mail sent on October 7, 2024, I installed
gnome-shell-extension-desktop-icons-ng_47.0.11-3_all.deb (Oracular version)
and the issue was completely resolved.

Now, in order to test the new proposal, I have uninstalled the Oracular
version I had installed previously and, while doing so, I lost the whole
graphical system. I reinstalled the Ubuntu desktop and afterwards I tested
gnome-shell-extension-desktop-icons-ng -t noble-proposed but it
unfortunately did not work - therefore, I have installed the Oracular
version back (gnome-shell-extension-desktop-icons-ng_47.0.11-3_all.deb) and
this one works perfectly.

I hope this helps. Thank you

El vie, 20 dic 2024, 16:05, Tsugu-SK <email address hidden> escribió:

> I have enabled noble-proposed, performed sudo apt install gnome-shell-
> extension-desktop-icons-ng -t noble-proposed and restarted. The bug has
> been fixed, I can rename files and folders by using the arrow keys.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2067831
>
> Title:
> can't use arrows when renaming on the desktop
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/gnome-shell-extension-desktop-icons-ng/+bug/2067831/+subscriptions
>
>

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Unfortunately removing a package required by 'ubuntu-desktop' will automatically remove the rest of 'ubuntu-desktop'. You can usually fix that headache with:

  sudo apt install --reinstall ubuntu-desktop

Please try downloading the proposed package from:

  https://launchpad.net/ubuntu/+source/gnome-shell-extension-desktop-icons-ng/46+really47.0.9-1ubuntu1/+build/29680847/+files/gnome-shell-extension-desktop-icons-ng_46+really47.0.9-1ubuntu1_all.deb

and installing it manually. For example:

  sudo dpkg -i ~/Downloads/gnome-shell-extension-desktop-icons-ng_46+really47.0.9-1ubuntu1_all.deb

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

The 46+really47.0.9-1ubuntu1 update was confirmed to fix the problem, marking as verified

tags: added: verification-done verification-done-noble
removed: verification-needed verification-needed-noble
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-shell-extension-desktop-icons-ng - 46+really47.0.9-1ubuntu1

---------------
gnome-shell-extension-desktop-icons-ng (46+really47.0.9-1ubuntu1) noble; urgency=medium

  [ Sergio Costas Rodríguez ]
  * Backport code from upstream to fix arrow keys closing the rename popup
    instead of moving the cursor (LP: #2067831)

 -- Daniel van Vugt <email address hidden> Wed, 18 Dec 2024 16:33:15 +0800

Changed in gnome-shell-extension-desktop-icons-ng (Ubuntu Noble):
status: Fix Committed → Fix Released
Revision history for this message
Andreas Hasenack (ahasenack) wrote : Update Released

The verification of the Stable Release Update for gnome-shell-extension-desktop-icons-ng has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

tags: removed: desktop-needs-sru
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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