Ctrl+V :: Changing function for Ctrl+V does not work. . . Can anyone confirm?

Fr
FredBob
Posts: 57
Joined: Mon Aug 22, 2016 5:26 pm
Platform: Windows

Wed Aug 14, 2019 3:43 pm Post

My default desire is for Ctrl+v to paste and match style. So, I remap the paste keys, reversing the functions.

Results: COPIED From spreadsheet: Using five vertical cells, one column.

Key commands: BOTH paste with original style
spread sheet cell outline and font

MENU: BOTH work as as expected with new mappings displayed.

KEY COMMANDS:
Ctrl+v . . . paste and match style WRONG
spread sheet cell outline and font

Ctrl+shft+v . . . paste with ORIGINAL style CORRECT
spread sheet cell outline and font

MENU: The edit options display the changed key mappings

Edit: paste . . . (paste with ORIGINAL style) CORRECT
spread sheet cell outline and font

Edit: . . . paste and match style . . . CORRECT . . . No cell outlines, and default scriv font.
ABBOTT
ACEVEDO
ACOSTA
ADAMS
ADKINS


Have tried with two computers: beta 20 (64), Windows 10, latest build.

rw
rwfranz
Posts: 730
Joined: Thu May 28, 2015 9:41 pm
Platform: Windows

Thu Aug 15, 2019 1:28 am Post

Confirmed this behavior. Remapping Ctrl+V to another command does not work.

br
brinkbart
Posts: 39
Joined: Mon Oct 29, 2018 5:50 pm
Platform: Windows

Tue Aug 20, 2019 12:44 pm Post

rwfranz wrote:Confirmed this behavior. Remapping Ctrl+V to another command does not work.

There are several commonly-used commands that can't be remapped / won't stick. If there's some fundamental reason for it, I think the program should not let me remap them.

rw
rwfranz
Posts: 730
Joined: Thu May 28, 2015 9:41 pm
Platform: Windows

Wed Aug 21, 2019 9:08 pm Post

brinkbart wrote:
rwfranz wrote:Confirmed this behavior. Remapping Ctrl+V to another command does not work.

There are several commonly-used commands that can't be remapped / won't stick. If there's some fundamental reason for it, I think the program should not let me remap them.


That would be expected behavior, I agree. If Ctrl+V is not re-assignable, the program should not let me even try (e.g., warning message, "Ctrl+V is reserved").

User avatar
krastev
Posts: 380
Joined: Fri Feb 05, 2016 5:21 am
Platform: Windows
Contact:

Wed Aug 21, 2019 9:35 pm Post

Ctrl+V must be re-assignable!
The first thing I do when install Scrivener is the swap Ctrl+V and Ctrl+Shift+V. Most of the times I want to Paste and Match the Style.
I hope they will fix that.
Krastev
Windows 10 Home 64-bit
Scrivener for Windows Version 1.9.13.0
Testing Scrivener Beta for Windows

User avatar
krastev
Posts: 380
Joined: Fri Feb 05, 2016 5:21 am
Platform: Windows
Contact:

Wed Aug 28, 2019 7:22 pm Post

Is there a reason why we can't reassign the Ctrl+V to Paste and Match the Style?
Krastev
Windows 10 Home 64-bit
Scrivener for Windows Version 1.9.13.0
Testing Scrivener Beta for Windows

User avatar
tiho_d
Posts: 856
Joined: Tue Sep 13, 2011 1:14 pm
Platform: Linux + Windows

Thu Aug 29, 2019 1:07 am Post

Because Qt catches and handles a lot of default shortcuts within the editor for us. Most likely there is a way to workaround this behavior but it is not straight forward and needs time to investigate and find a fix.

User avatar
krastev
Posts: 380
Joined: Fri Feb 05, 2016 5:21 am
Platform: Windows
Contact:

Wed Sep 18, 2019 6:37 pm Post

It works perfectly in 1.9. Can't you copy the necessary code from there? :mrgreen: Please.

Regards,
M
Krastev
Windows 10 Home 64-bit
Scrivener for Windows Version 1.9.13.0
Testing Scrivener Beta for Windows

rw
rwfranz
Posts: 730
Joined: Thu May 28, 2015 9:41 pm
Platform: Windows

Fri Sep 20, 2019 1:00 am Post

krastev wrote:It works perfectly in 1.9. Can't you copy the necessary code from there?

Different version of QT; the code is likely not compatible.

Given the difficulty, you might to invest a few minutes in making AutoHotKey or something similar swap the functions for now (thinking of this myself, as I use paste and match style more often than I use simple paste).