cosmic-files icon indicating copy to clipboard operation
cosmic-files copied to clipboard

Ctrl+L, then Ctrl+A requires Ctrl to be released

Open Tolriq opened this issue 1 year ago • 4 comments

Cosmic-files version:

cosmic-files:
  Installé : 0.1.0~1729134424~22.04~d29baf1
  Candidat : 0.1.0~1729134424~22.04~d29baf1
 Table de version :
 *** 0.1.0~1729134424~22.04~d29baf1 1002
       1002 http://apt.pop-os.org/staging/master jammy/main amd64 Packages
       1001 http://apt.pop-os.org/release jammy/main amd64 Packages
        100 /var/lib/dpkg/status

Issue/Bug description:

When pressing CTRL+L to edit the full path we reach a state where ctrl+A to select all does not work and add invisible chars in the url.

Steps to reproduce: Press ctrl+L, then ctrl+A multiple times. Nothing will select. Now press shift + home and copy the content.

The pasted content will look like: /home/tolriq/Documents/release

Expected behavior:

Ctrl+A should select all or at least not add the new chars, currently with the muscle memory it's quite complicated to manage paths.

Other notes:

Pressing the pencil near the address bar, does put the full path in a proper state where ctrl+A works.

Tolriq avatar Oct 20 '24 15:10 Tolriq

It looks to me like Ctrl+A works after a Ctrl+L if I release the Ctrl key between the two. In other words... :x: Ctrl+L, then A (with Ctrl still held) :heavy_check_mark: Ctrl+L, release Ctrl, Ctrl+A

Is this the same for you?

leviport avatar Oct 21 '24 14:10 leviport

Ho yes you're right, never tested that, muscle memory is too hard for now, easier to try to adapt to that than shift home.

Since in previous non cosmic files the text was already selected maybe it was the same.

Tolriq avatar Oct 21 '24 18:10 Tolriq

This seems to have been fixed. Can you verify?

iamkartiknayak avatar Mar 10 '25 14:03 iamkartiknayak

There's no more bad characters when press CTRL+L then A without releasing CTRL. It still does not select and need to release then press ctrl+A after, but at least there's no corruption so it's now a very minor issue.

Tolriq avatar Mar 10 '25 15:03 Tolriq