Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard shortcuts don't work on text editors anymore #1304

Closed
spersico opened this issue Jul 16, 2024 · 1 comment
Closed

Keyboard shortcuts don't work on text editors anymore #1304

spersico opened this issue Jul 16, 2024 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@spersico
Copy link

spersico commented Jul 16, 2024

Current behavior

Since the last big update, I can't seem to get the common keyboard shortcuts (CMD+C, CMD+V, CMD+V) to work.

The paste shortcut (CMD+V) is the one I noticed first: I can paste using the left menu -> paste, and through the top bar button, but the keyboard doesn't work.
While writing this report, I noticed that CMD+Z and CMD+C also don't seem to work anymore either.

How to reproduce it (as minimally and precisely as possible)

  1. Select some text from somewhere (doesn't matter where)
  2. Go to the Text Comparer page (although other text boxes of the app seem to have the same issue)
  3. Paste using the keyboard (either CMD + V). Doesn't work
  4. Write something, try to copy using the keyboard. Doesn't work, the selected text doesn't get copied

Expected behavior

Step 3: It should paste the copied text into the input
Step 4: It should copy the selected text from the input.

Screenshots

Here's a video of the issue happening:
https://github.com/user-attachments/assets/9f0b8c55-6e10-4464-ab40-6738e4305675

Workaround

Using the UI buttons, or left clicking and selecting paste (which appears twice, for some reason).

Screenshot DevToys - Text Comparer 2024-07-16 16-45-22

Affected platforms

macOS

Affected DevToys kind

DevToys (app with GUI)

DevToys Version

Version 2.0-preview.3

Relevant Assets/Logs

2024-07-16T16:37:19.2385380+02:00	Information	[DevToys.Core.Mef.MefComposer]	[LogDiscoveringPlugin]	Discovering plugin in '/Applications/DevToys.app/Contents/Resources/Plugins/DevToys.Tools'...
2024-07-16T16:37:19.2977920+02:00	Information	[DevToys.Core.Mef.MefComposer]	[LogMefComposition]	MEF composed 112 parts from 6 assemblies in 60.393ms
2024-07-16T16:37:19.3559910+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'Base64ImageEncoderDecoder' tool instance manager.
2024-07-16T16:37:19.3560310+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'Base64TextEncoderDecoder' tool instance manager.
2024-07-16T16:37:19.3560340+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'CertificateDecoder' tool instance manager.
2024-07-16T16:37:19.3560380+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'ColorBlindnessSimulator' tool instance manager.
2024-07-16T16:37:19.3560410+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'CronParser' tool instance manager.
2024-07-16T16:37:19.3560430+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'DateConverter' tool instance manager.
2024-07-16T16:37:19.3560450+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'EscapeUnescape' tool instance manager.
2024-07-16T16:37:19.3560480+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'GZipEncoderDecoder' tool instance manager.
2024-07-16T16:37:19.3560490+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'HashAndChecksumGenerator' tool instance manager.
2024-07-16T16:37:19.3560530+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'HtmlEncoderDecoder' tool instance manager.
2024-07-16T16:37:19.3560560+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'ImageConverter' tool instance manager.
2024-07-16T16:37:19.3560580+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'JsonFormatter' tool instance manager.
2024-07-16T16:37:19.3560590+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'JSONPathTester' tool instance manager.
2024-07-16T16:37:19.3560620+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'JsonTableConverter' tool instance manager.
2024-07-16T16:37:19.3560630+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'JsonWebTokenEncoderDecoder' tool instance manager.
2024-07-16T16:37:19.3560650+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'JsonYamlConverter' tool instance manager.
2024-07-16T16:37:19.3560670+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'ListCompare' tool instance manager.
2024-07-16T16:37:19.3560700+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'LoremIpsumGenerator' tool instance manager.
2024-07-16T16:37:19.3560730+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'MarkdownPreview' tool instance manager.
2024-07-16T16:37:19.3560760+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'NumberBaseConverter' tool instance manager.
2024-07-16T16:37:19.3560790+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'PasswordGenerator' tool instance manager.
2024-07-16T16:37:19.3560820+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'QRCodeEncoderDecoder' tool instance manager.
2024-07-16T16:37:19.3560840+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'RegExTester' tool instance manager.
2024-07-16T16:37:19.3560850+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'SqlFormatter' tool instance manager.
2024-07-16T16:37:19.3560870+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'TextAnalyzerAndUtilities' tool instance manager.
2024-07-16T16:37:19.3560890+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'TextCompare' tool instance manager.
2024-07-16T16:37:19.3560900+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'UrlEncoderDecoder' tool instance manager.
2024-07-16T16:37:19.3560920+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'UUIDGenerator' tool instance manager.
2024-07-16T16:37:19.3560940+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'XmlFormatter' tool instance manager.
2024-07-16T16:37:19.3560950+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'XMLTester' tool instance manager.
2024-07-16T16:37:19.3565010+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'Extensions Manager' tool instance manager.
2024-07-16T16:37:19.3565080+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'Settings' tool instance manager.
2024-07-16T16:37:19.3567780+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'NoSearchResults' tool instance manager.
2024-07-16T16:37:19.3581690+02:00	Information	[DevToys.Core.Tools.GuiToolProvider]	[LogToolInstancesCreated]	Instantiated 32 tools in 3.672ms
2024-07-16T16:37:19.3613000+02:00	Information	[DevToys.MacOS.AppDelegate]	[2]	MEF, services and logging initialized in 183.297 ms
2024-07-16T16:37:19.3613420+02:00	Information	[DevToys.MacOS.AppDelegate]	[1]	App is starting...
2024-07-16T16:37:20.1394890+02:00	Information	[DevToys.Blazor.Core.Services.FontService]	[LogImportThirdPartyFontsAsync]	Loaded 2 font(s) in 6.632 ms and injected them in 159.98 ms
2024-07-16T16:37:24.3817510+02:00	Information	[DevToys.Core.Tools.GuiToolProvider]	[LogSetMostRecentUsedTool]	Set 'Settings' as the most recently used tool.
2024-07-16T16:37:24.3831610+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInstanceCreated]	Instance of 'Settings' tool created.
2024-07-16T16:38:37.5186350+02:00	Information	[DevToys.Core.Settings.SettingsProvider]	[LogSetSetting]	Setting 'DevToys.Core.RecentTool2' changed to 'Settings'
2024-07-16T16:38:37.5195330+02:00	Information	[DevToys.Core.Settings.SettingsProvider]	[LogSetSetting]	Setting 'DevToys.Core.RecentTool1' changed to 'TextCompare'
2024-07-16T16:38:37.5196590+02:00	Information	[DevToys.Core.Tools.GuiToolProvider]	[LogSetMostRecentUsedTool]	Set 'TextCompare' as the most recently used tool.
2024-07-16T16:38:37.5204330+02:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInstanceCreated]	Instance of 'TextCompare' tool created.
2024-07-16T16:45:11.0095580+02:00	Error	[DevToys.Tools.SmartDetection.YamlDataTypeDetector]	[0]	Invalid data detected.
While scanning a simple key, could not find expected ':'.
(Line: 2, Col: 1, Idx: 39) - (Line: 2, Col: 1, Idx: 39): While scanning a simple key, could not find expected ':'.

2024-07-16T16:46:19.1030580+02:00	Information	[DevToys.Core.Settings.SettingsProvider]	[LogSetSetting]	Setting 'DevToys.Core.RecentTool2' changed to 'TextCompare'
2024-07-16T16:46:19.1033300+02:00	Information	[DevToys.Core.Settings.SettingsProvider]	[LogSetSetting]	Setting 'DevToys.Core.RecentTool1' changed to 'Settings'
2024-07-16T16:46:19.1034450+02:00	Information	[DevToys.Core.Tools.GuiToolProvider]	[LogSetMostRecentUsedTool]	Set 'Settings' as the most recently used tool.```
@spersico spersico added bug Something isn't working untriaged labels Jul 16, 2024
@veler
Copy link
Collaborator

veler commented Jul 21, 2024

Duplicate with #1203

@veler veler closed this as not planned Won't fix, can't repro, duplicate, stale Jul 21, 2024
@veler veler added duplicate This issue or pull request already exists and removed untriaged labels Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants