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

Error copying cross reference in MS word #770

Closed
2 tasks done
MIsmlAhmed opened this issue Apr 22, 2024 · 8 comments
Closed
2 tasks done

Error copying cross reference in MS word #770

MIsmlAhmed opened this issue Apr 22, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@MIsmlAhmed
Copy link

MIsmlAhmed commented Apr 22, 2024

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)

No response

macOS Version

No response

Maccy Settings

{
    "KeyboardShortcuts_delete" = "{\\"carbonKeyCode\\":51,\\"carbonModifiers\\":2048}";
    "KeyboardShortcuts_pin" = "{\\"carbonModifiers\\":2048,\\"carbonKeyCode\\":35}";
    "KeyboardShortcuts_popup" = "{\\"carbonKeyCode\\":8,\\"carbonModifiers\\":768}";
    "LaunchAtLogin__hasMigrated" = 1;
    "NSWindow Frame com.sindresorhus.Settings.FrameAutosaveName" = "798 673 442 321 0 0 2560 1415 ";
    SUAutomaticallyUpdate = 0;
    SUEnableAutomaticChecks = 1;
    SUHasLaunchedBefore = 1;
    SULastCheckTime = "2024-04-22 17:37:49 +0000";
    SUSendProfileInfo = 0;
    SUUpdateGroupIdentifier = 2748626887;
    enabledPasteboardTypes =     (
        "public.file-url",
        "public.rtf",
        "public.png",
        "public.html",
        "public.utf8-plain-text",
        "public.tiff"
    );
    ignoredPasteboardTypes =     (
        "com.typeit4me.clipping",
        "Pasteboard generator type",
        "net.antelle.keeweb",
        "com.agilebits.onepassword",
        "de.petermaurer.TransientPasteboardType"
    );
    migrations =     {
        "2020-04-25-allow-custom-ignored-types" = 1;
        "2020-06-19-use-keyboardshortcuts" = 1;
        "2020-09-01-ignore-keeweb" = 1;
        "2021-02-20-allow-to-customize-supported-types" = 1;
        "2021-06-28-add-title-to-history-item" = 1;
        "2021-10-16-remove-dynamic-pasteboard-types" = 1;
        "2022-08-01-rename-suppress-clear-alert" = 1;
        "2022-11-14-add-html-rtf-to-supported-types" = 1;
        "2023-01-22-add-regexp-search-mode" = 1;
    };
    removeFormattingByDefault = 1;
}

Description

When trying to copy a cross-reference (special field) in MS Word and paste it somewhere else in the document it comes back with an error inside the MS Word app itself.
For example, if I copy Figure 1 as a cross-reference and try to paste it, MS Word would paste Error! Reference source not found.

Steps to Reproduce

  1. Open MS Word.
  2. Insert a figure or table caption
  3. insert a cross-reference of the caption
  4. copy and paste the cross-reference with Maccy
@MIsmlAhmed MIsmlAhmed added the bug Something isn't working label Apr 22, 2024
@p0deje
Copy link
Owner

p0deje commented Apr 22, 2024

Could it be because you have a "Remove formatting by default" enabled? It would paste from Maccy without extra metadata.

@MIsmlAhmed
Copy link
Author

No, I tried turning that off and still the problem remains.

@p0deje
Copy link
Owner

p0deje commented Apr 22, 2024

@MIsmlAhmed Can you please record a small screencast showing how to add cross-reference and how Maccy breaks its pasting. Also, what version of Word do you use?

@MIsmlAhmed
Copy link
Author

Here's a gif that shows the steps. I am using office 365.
ScreenRecording2024-04-22at1 46 37PM-ezgif com-video-to-gif-converter

@p0deje
Copy link
Owner

p0deje commented Apr 22, 2024

@MIsmlAhmed I don't see where you'd load Maccy and copy/paste from it. How exactly is Maccy used in your scenario?

@MIsmlAhmed
Copy link
Author

It's already loaded in my system and I use the regular copy/paste shortcut.

@p0deje
Copy link
Owner

p0deje commented Apr 22, 2024

Does the pasting work when you quit Maccy?

@MIsmlAhmed
Copy link
Author

Yes

@p0deje p0deje closed this as completed in d19adfa Apr 23, 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
Projects
None yet
Development

No branches or pull requests

2 participants