Skip to content

PowerToys "Paste As Plain Text" not working correctly when using EPKL #83

Description

@ToastedLion

Hi DreymaR!

Thank you for all of your work on this awesome tool.

I'm having trouble using PowerToys "Paste As Plain Text" the way I want to when EPKL is active. I use PowerToys "Paste As Plain Text" with Ctrl + Shift + V as the shortcut. With EPKL disabled, this works as expected across apps. With EPKL enabled and PowerToys "Paste As Plain Text" disabled, Ctrl + Shift + V works as expected in applications that natively implement that shortcut, and has no effect in applications that don't (i.e. expected behavior for this configuration). With EPKL enabled and PowerToys "Paste As Plain Text" enabled, Ctrl + Shift + V has inconsistent results: most often, it outputs "V", sometimes it pastes as plain text as expected, and occasionally it has no effect. All three of these happen with some frequency regardless of whether the active application natively implements this shortcut.

If I use an eD layout and comment out the line QW_V = V 1 v V -- ÷ γ in BaseLayout_Cmk-eD.ini, then once again, PowerToys "Paste As Plain Text" works as expected. If I use a VK layout and comment out the line QW_V = V VirtualKey in BaseLayout_Cmk-VK.ini, again, PowerToys "Paste As Plain Text" works as expected.

Below is the output of the key history when I get "V'. It always looks approximately like this, and fills up the default 50 lines however quickly I try to press and release all the keys.

VK  SC	Type	Up/Dn	Elapsed	Key		Window
-------------------------------------------------------------------------------------------------------------
A0  02A	i	u	0.00	LShift         	
A2  01D	i	d	0.00	LControl       	
A0  02A	h	u	0.00	LShift         	
A2  01D	a	d	0.02	LControl       	
56  02F	h	d	0.00	v              	
A0  02A	i	d	0.00	LShift         	
56  02F	h	u	0.00	v              	
A2  01D	a	u	0.00	LControl       	
A2  01D	a	d	0.00	LControl       	
A0  02A	i	u	0.00	LShift         	
A0  02A	i	d	0.00	LShift         	
A0  02A	h	d	0.00	LShift         	
A2  01D	i	d	0.01	LControl       	
A0  02A	i	d	0.00	LShift         	
56  02F	i	d	0.00	v              	
FF  000	a	u	0.00	not found      	
A2  01D	a	u	0.00	LControl       	
A0  02A	h	u	0.00	LShift         	
A2  01D	i	d	0.00	LControl       	
A2  01D	a	d	0.00	LControl       	
56  02F	h	d	0.00	v              	
56  02F	h	u	0.00	v              	
56  02F	i	u	0.00	v              	
A2  01D	a	u	0.00	LControl       	
A2  01D	a	d	0.00	LControl       	
A2  01D	i	d	0.00	LControl       	
A0  02A	h	d	0.02	LShift         	
A0  02A	i	d	0.00	LShift         	
A2  01D	i	u	0.00	LControl       	
56  02F	i	d	0.00	v              	
A0  02A	i	u	0.00	LShift         	
56  02F	i	u	0.00	v              	
A0  02A	i	d	0.00	LShift         	
56  02F	h	u	0.09	v              	
56  02F	i	u	0.00	v              	
A2  01D	 	u	0.01	LControl       	
A0  02A	h	u	0.00	LShift         	
A0  02A	i	u	0.50	LShift         	
74  03F	h	d	4.41	F5             	C:\[...]\EPKL_Executable_v1-4-1\EPKL.exe
74  03F	i	d	0.00	F5 

Below is the output of the key history when I get the expected "paste as plain text" behavior. In this case the default key history fully captures the key sequence.

VK  SC	Type	Up/Dn	Elapsed	Key		Window
-------------------------------------------------------------------------------------------------------------       	
0D  01C	h	u	0.11	Enter          	
0D  01C	i	u	0.00	Enter          	
A2  01D	 	d	0.06	LControl       	
A0  02A	h	d	0.30	LShift         	
A0  02A	i	d	0.00	LShift         	
56  02F	h	d	0.31	v              	
56  02F	i	d	0.00	v              	
FF  000	a	u	0.00	not found      	
A2  01D	a	u	0.00	LControl       	
A0  02A	h	u	0.00	LShift         	
A2  01D	i	d	0.00	LControl       	
A2  01D	a	d	0.00	LControl       	
56  02F	h	d	0.02	v              	
A0  02A	i	u	0.00	LShift         	
56  02F	h	u	0.00	v              	
A2  01D	a	u	0.00	LControl       	
A2  01D	a	d	0.00	LControl       	
A2  01D	i	d	0.00	LControl       	
A0  02A	i	d	0.00	LShift         	
A0  02A	h	d	0.00	LShift         	
A0  02A	i	u	0.00	LShift         	
56  02F	i	d	0.02	v              	
56  02F	i	u	0.00	v              	
A0  02A	i	d	0.00	LShift         	
A2  01D	 	u	0.14	LControl       	
56  02F	h	u	0.00	v              	
56  02F	i	u	0.00	v              	
A0  02A	h	u	0.03	LShift         	
A0  02A	i	u	0.44	LShift         	
74  03F	h	d	14.27	F5             	C:\[...]\EPKL_Executable_v1-4-1\EPKL.exe
74  03F	i	d	0.00	F5 

And below is the key history when I get no effect. Again, it always fills up the default 50 lines.

VK  SC	Type	Up/Dn	Elapsed	Key		Window
-------------------------------------------------------------------------------------------------------------
A0  02A	h	d	0.02	LShift         	
A0  02A	i	d	0.00	LShift         	
A2  01D	i	d	0.00	LControl       	
56  02F	i	d	0.00	v              	
FF  000	a	u	0.02	not found      	
A2  01D	a	u	0.00	LControl       	
A0  02A	h	u	0.00	LShift         	
A2  01D	a	d	0.00	LControl       	
56  02F	h	d	0.00	v              	
A0  02A	i	u	0.00	LShift         	
56  02F	h	u	0.00	v              	
A2  01D	a	u	0.01	LControl       	
A2  01D	a	d	0.00	LControl       	
56  02F	i	u	0.00	v              	
A0  02A	h	d	0.00	LShift         	
A0  02A	i	d	0.00	LShift         	
A2  01D	i	d	0.02	LControl       	
56  02F	i	d	0.00	v              	
FF  000	a	u	0.00	not found      	
A2  01D	a	u	0.00	LControl       	
A0  02A	h	u	0.01	LShift         	
A2  01D	a	d	0.00	LControl       	
56  02F	h	d	0.00	v              	
A0  02A	i	u	0.00	LShift         	
56  02F	h	u	0.00	v              	
A2  01D	a	u	0.00	LControl       	
A2  01D	a	d	0.02	LControl       	
56  02F	i	u	0.00	v              	
A0  02A	h	d	0.00	LShift         	
A0  02A	i	d	0.00	LShift         	
A2  01D	i	d	0.00	LControl       	
56  02F	i	d	0.02	v              	
FF  000	a	u	0.00	not found      	
A0  02A	i	u	0.00	LShift         	
A2  01D	i	u	0.01	LControl       	
56  02F	i	u	0.00	v              	
A0  02A	i	d	0.00	LShift         	
A0  02A	i	u	0.61	LShift         	
74  03F	h	d	13.92	F5             	C:\[...]\EPKL_Executable_v1-4-1\EPKL.exe
74  03F	i	d	0.00	F5

Are you able to share any insight into what's going on here? Is there a way I can continue to use the V key for additional layers without preventing Ctrl + Shift + V from having the desired effect with PowerToys?

Thank you!
TL

Metadata

Metadata

Assignees

No one assigned

    Labels

    answeredGuru covered (most of) the issueduplicateAttack Of The Clones

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions