Page 1 of 1

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

Posted: Wed Aug 14, 2019 3:43 pm
by FredBob
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.

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

Posted: Thu Aug 15, 2019 1:28 am
by rwfranz
Confirmed this behavior. Remapping Ctrl+V to another command does not work.

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

Posted: Tue Aug 20, 2019 12:44 pm
by brinkbart
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.

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

Posted: Wed Aug 21, 2019 9:08 pm
by rwfranz
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").

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

Posted: Wed Aug 21, 2019 9:35 pm
by krastev
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.

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

Posted: Wed Aug 28, 2019 7:22 pm
by krastev
Is there a reason why we can't reassign the Ctrl+V to Paste and Match the Style?

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

Posted: Thu Aug 29, 2019 1:07 am
by tiho_d
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.

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

Posted: Wed Sep 18, 2019 6:37 pm
by krastev
It works perfectly in 1.9. Can't you copy the necessary code from there? :mrgreen: Please.

Regards,
M

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

Posted: Fri Sep 20, 2019 1:00 am
by rwfranz
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).