Files ignores keyboard layout for Ctrl-V shortcut

Bug #1477663 reported by Vivien Valentine
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Files
Fix Released
Medium
Jeremy Wootten

Bug Description

This is a weird one. Ctrl-V doesn't work when I'm on a dvorak keyboard layout. Ctrl-C does. To paste stuff I have to use Ctrl-K (the K is where the V would be in a qwerty keyboard).

I might have thought this was intended (there are some dvorak keyboard shortcut options that make it so the shortcuts are the same on the physical keyboard as they would be on qwerty regardless of what the actual keycode you are sending is), but Ctrl-J (J is where C is on QWERTY) does not copy.

Related branches

Changed in pantheon-files:
milestone: none → loki-beta1
Revision history for this message
Jeremy Wootten (jeremywootten) wrote :

Since March Files has used hardware keycodes to identify when the Ctrl-C, Ctrl-V and Ctrl-X have been pressed, in order to cope with internationalized keyboard layouts, which would explain this bug if the Dvorak keyboard generates different hardware keycodes for the V key (but the same for the C key).

Changed in pantheon-files:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Jeremy Wootten (jeremywootten) wrote :

OK, I have a fix for this now.

Changed in pantheon-files:
assignee: nobody → Jeremy Wootten (jeremywootten)
status: Confirmed → In Progress
Revision history for this message
Jeremy Wootten (jeremywootten) wrote :

By the way, do you have similar problems with any other Files keyboard shortcuts e.g. Ctrl-a (select all) , Ctrl-n (new window), Ctrl-f (search) etc ?

Cody Garver (codygarver)
Changed in pantheon-files:
milestone: loki-beta1 → freya-0.3.1
status: In Progress → Fix Committed
Revision history for this message
Vivien Valentine (vivien.valentine) wrote :

As far as I can tell the only shortcut that does not work is Ctrl-V, everything else I tried works as expected.

Cody Garver (codygarver)
Changed in pantheon-files:
status: Fix Committed → Fix Released
Revision history for this message
3Nex (im3nex) wrote :

I am having this issue, except Ctrl+K does not work in my case. With US qwerty layout pasting works fine, with programming dvorak it doesn't, and with swedish dvorak it doesn't.

I am running the newest everything, a fresh install of Loki and I ran a manual reinstall of pantheon-files.

Revision history for this message
Jeremy Wootten (jeremywootten) wrote :

Hi 3Nex, please could you clarify whether you are using special hardware for those layouts or are using standard US/UK keyboard hardware with an overlay on the keys?

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.