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

Windows App (Microsoft Remote Desktop) #970

Open
2 tasks done
Timotei-S opened this issue Nov 27, 2024 · 17 comments
Open
2 tasks done

Windows App (Microsoft Remote Desktop) #970

Timotei-S opened this issue Nov 27, 2024 · 17 comments
Labels
bug Something isn't working needs triaging Further information is requested

Comments

@Timotei-S
Copy link

Before Submitting Your Bug Report

  • I have verified that there isn't already an issue reporting the same bug to prevent duplication.
  • I have seen the FAQ.

Maccy Version (see 'About' window)

2.2.1

macOS Version

15.1.1

Maccy Settings

defaults read org.p0deje.Maccy
{
    "KeyboardShortcuts_delete" = "{\\"carbonKeyCode\\":51,\\"carbonModifiers\\":2048}";
    "KeyboardShortcuts_pin" = "{\\"carbonKeyCode\\":35,\\"carbonModifiers\\":2048}";
    "KeyboardShortcuts_popup" = "{\\"carbonKeyCode\\":46,\\"carbonModifiers\\":6400}";
    "LaunchAtLogin__hasMigrated" = 1;
    "NSStatusItem Preferred Position Item-0" = 475;
    "NSStatusItem Visible Item-1" = 0;
    "NSWindow Frame SUUpdateAlert" = "650 505 620 398 0 0 1920 1055 ";
    "NSWindow Frame com.sindresorhus.Settings.FrameAutosaveName" = "705 401 510 473 0 0 1920 1055 ";
    SUAutomaticallyUpdate = 0;
    SUEnableAutomaticChecks = 0;
    SUHasLaunchedBefore = 1;
    SULastCheckTime = "2024-11-27 12:33:36 +0000";
    SUSendProfileInfo = 0;
    avoidTakingFocus = 1;
    clearOnQuit = 0;
    enabledPasteboardTypes =     (
        "public.rtf",
        "public.utf8-plain-text",
        "public.html"
    );
    highlightMatch = color;
    historySize = 50;
    ignoreEvents = 0;
    ignoredPasteboardTypes =     (
    );
    maxMenuItemLength = 50;
    maxMenuItems = 9;
    migrations =     {
        "2024-07-01-version-2" = 1;
    };
    pasteByDefault = 1;
    pinTo = bottom;
    popupPosition = statusItem;
    removeFormattingByDefault = 1;
    searchMode = exact;
    showFooter = 0;
    showSearch = 0;
    showTitle = 0;
    sortBy = lastCopiedAt;
    windowPosition = "[0.8348958333333333,1]";
    windowSize = "[386,254]";
}
timoteistefanescu@Timoteis-MacBook-Air ~ %

Description

A lot of the times, when I try to paste something from Maccy into the Windows App (Microsoft Remote Desktop), Maccy stops working, showing not responding and I have to force close it and restart it to make it work again.

Also, almost every time I have to click a second time to paste the correct item, it initially inserts the last copied item, not the one I selected from the list.

Steps to Reproduce

No response

@Timotei-S Timotei-S added the bug Something isn't working label Nov 27, 2024
@p0deje
Copy link
Owner

p0deje commented Nov 27, 2024

@Timotei-S Can you please record a small video showing the issue? I am using RDP myself and don't have such issues.

@Timotei-S
Copy link
Author

Timotei-S commented Nov 27, 2024 via email

@p0deje
Copy link
Owner

p0deje commented Nov 27, 2024

Did you enable bidirectional clipboard on your RDP connection?

Screenshot 2024-11-27 at 08 56 45

@Timotei-S
Copy link
Author

Timotei-S commented Nov 27, 2024 via email

@p0deje
Copy link
Owner

p0deje commented Nov 27, 2024

I have issues with pasting (though they are fairly known and backtrack to old versions of RDP), but I cannot reproduce the copy issue.

UPD: Pasting issues are resolved after enabling "Scancode" keyboard mode.

Screen.Recording.2024-11-27.at.09.48.55.mov

@p0deje p0deje added the needs triaging Further information is requested label Nov 28, 2024
@Timotei-S
Copy link
Author

How do I enable "Scancode" keyboard mode?

*Also, I use Karabiner to switch cmd and ctrl. Could that add additional problems?

@Timotei-S Timotei-S reopened this Nov 28, 2024
@Timotei-S
Copy link
Author

Screen.Recording.2024-11-28.at.11.56.38.mov

Here you can also see how if I open the app it saved the copied item into memory, but if I don't, it does not.

@Timotei-S
Copy link
Author

Screen.Recording.2024-11-28.at.12.24.27.mov

Here is the app freeze in action. I just tried to paste something into the Windows App.

@p0deje
Copy link
Owner

p0deje commented Dec 2, 2024

*Also, I use Karabiner to switch cmd and ctrl. Could that add additional problems?

It could be related. Can you disable Karabiner and re-test?

@p0deje
Copy link
Owner

p0deje commented Dec 2, 2024

Sorry, can load any of your videos (1 doesn't load at all while 2 has just 4 seconds). Can you re-upload please?

@Timotei-S
Copy link
Author

I think it has something to do with the Windows App. When I restart the app, some of the problems seem to disappear.

I tested working without Karabiner opened and it does not seem to make any difference.

@Timotei-S
Copy link
Author

@p0deje
Copy link
Owner

p0deje commented Dec 3, 2024

Ok, that hanging looks weird, but I cannot reproduce it with the Windows App myself.

  1. Does it happen consistently when you copy something from the Windows guest?
  2. Can you try disabling Maccy with Option+Click on the menubar icon and see if it helps?
  3. When Maccy hangs, can you please start the Pasteboard Viewer app and share its screenshot? I wonder if there is anything in the copy itself that is causing this behavior.

@Timotei-S
Copy link
Author

  1. No, not consistently, but I'll try o see if a pattern starts to form.
  2. I'll definitely try!
  3. You mean this? > https://apps.apple.com/ro/app/pasteboard-viewer/id1499215709

@p0deje
Copy link
Owner

p0deje commented Dec 9, 2024

  1. Yes, exactly

@br1nqq
Copy link

br1nqq commented Dec 13, 2024

Hi,

I'm experiencing the same issue as Timotei-S with the text copying as shown on the video below.
Notepad++ via Windows App ( Remote Desktop )

Update:

I have tried the exactly same "test" with Royal TSX instead of Windows App ( RDP connection ) and it works on Royal TSX as it should, so it feels like the issue is with the Windows app it self. Btw I do have clipboard mode in "Bidirectional" as well in Windows app.

Screen.Recording.2024-12-13.at.19.05.51.mov

@p0deje
Copy link
Owner

p0deje commented Dec 19, 2024

@br1nqq I think it might be because the Windows App syncs the clipboard when the window focus is lost or periodically. With that said, there is nothing Maccy can do about it.

@Timotei-S Please share the pasteboard contents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triaging Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants