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

Fr
FredBob
Posts: 61
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: 787
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: 787
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: 398
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.16.0
Testing Scrivener Beta for Windows

User avatar
krastev
Posts: 398
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.16.0
Testing Scrivener Beta for Windows

User avatar
tiho_d
Posts: 910
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: 398
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.16.0
Testing Scrivener Beta for Windows

rw
rwfranz
Posts: 787
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).

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

Thu Nov 21, 2019 6:55 pm Post

Still not working for me. Anyone?

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

Fri Dec 06, 2019 4:17 pm Post

This is still not working correctly

I have reversed the keymaps for paste. Crtl-v is set to match syle.

Ctrl-V pastes. It does not match style.

Edit ctrl-v does match style.

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

Fri Dec 06, 2019 7:46 pm Post

FYI.
Workaround using AutoHotKey here: https://www.literatureandlatte.com/forum/viewtopic.php?f=57&t=58742&p=299103

If you read the notes in that topic, you'll see that this particular issue is a fairly deep bug. Don't hold your breath, in other words; it may not be fixed for some time.

AHK is free.

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

Fri Dec 06, 2019 9:48 pm Post

rwfranz wrote:FYI.

... you'll see that this particular issue is a fairly deep bug. .


How can a key mapping be a deep issue? That implies that changing any key mapping changes will not work.

Makes no sense to me. Prolly a hold-over from the mac stuff.

User avatar
Jestar
Posts: 108
Joined: Sun Feb 19, 2017 6:51 pm
Platform: Windows

Sat Dec 07, 2019 12:41 am Post

FredBob wrote:
rwfranz wrote:FYI.

... you'll see that this particular issue is a fairly deep bug. .


How can a key mapping be a deep issue? That implies that changing any key mapping changes will not work.

Makes no sense to me. Prolly a hold-over from the mac stuff.


I'm not certain this is a bug within Scrivener or just something that has to be worked around from QT and Windows. FWIW, Windows 7 has this: Ctrl + Shift + V Move a note to a specific folder within the Windows Journal (not sure I ever used Windows Journal). That key combination is not used anywhere that I could find in Windows 10 or 8.1. That said, ALL of the Windows key combinations that are built-in by default are REALLY built-in - to the registry. It may not be possible (or desirable) to remap this particular key combination throughout Windows itself, just to satisfy its usage in one specific program. This is why there are a host of keyboard remapper utilities like AutoHotKey that might be the better way to handle this specific need.
If you are curious, here are the key mappings for Windows: https://support.microsoft.com/en-us/hel ... -shortcuts
Win 10 Ent. 64-Bit 1909
Intel Core i7-2600 @ 3,4 GHz (Quadcore) 32 GB RAM
NVIDIA Quadro K600
Scrivener Version: Version: 1.9.16.0 - 14 Nov 2019 & Version: 2.9.0.35 Beta (809515) 64-bit - 19 Jan 2020

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

Sun Dec 08, 2019 6:31 pm Post

FredBob wrote:
rwfranz wrote:FYI.

... you'll see that this particular issue is a fairly deep bug. .


How can a key mapping be a deep issue? That implies that changing any key mapping changes will not work.

Makes no sense to me. Prolly a hold-over from the mac stuff.


tiho said it was in the QT libraries they're using. Thus, a bit more complicated. Normally, QT Keymappings are relatively easy to fix, change, et cetera. But Ctrl+V? Not so much.

Thus, the AHK script to fix it for those who need them swapped.