wshanks / Zutilo

Zotero plugin providing some additional editing features
Other
1.53k stars 72 forks source link

Paste Tags - cannot disable #107

Open spenmartin opened 5 years ago

spenmartin commented 5 years ago

When I set up shortcuts for "Add Tag", "Copy Tags", and "Paste Tags", the "Paste Tags" shortcut did not appear in the menu, though it works in the program. When I went to change the shortcut it just added that shortcut, so now both work though neither show up in the menu. I cannot disable it. I've tried uninstalling Zutillo, restarting computer, and reinstalling.

Mac Mojave 10.14.6 on a MacBook Pro, 2015. Zotero 5.0.73 Zutilo 3.1.0

spenmartin commented 5 years ago

To clarify, there are now multiple shortcuts for pasting tags which override the shortcuts I setup for add tags and copy tags. When I try to make new shortcuts for anything the shortcut just pastes the tag; i.e., I can no longer use the shortcut function at all (which is the whole reason I wanted Zutilo).

wshanks commented 5 years ago

I haven't seen behavior like this before. Open the config editor (Zotero Prefereces -> Advanced tab -> General small tab -> Config editor button) and search for "zutilo". All the bold settings are ones with custom values. The shortcut settings all start with "extensions.zutilo.shortcut." and then have the name of the function. What values do you see for the shortcuts that you set? They should be JSON strings like {"modifiers":"control","key":"T","keycode":null}. You can try right-clicking them and resetting them to see if that removes the bad behavior without uninstalling Zutilo. Then you could experiment with setting the shortcuts again.

You could also try running with the error console open and see if an error shows up when you set the shortcuts or try to use them. I think putting /Applications/Zotero.app/Contents/MacOS/zotero -jsconsole into the Terminal should start Zotero with the error console on macOS, but I am not sure.

spenmartin commented 5 years ago

Hey, thanks so much for the quick reply! I followed your instructions and right-clicking/resetting in the config editor worked. It seems the shortcut I used originally created a character that wasn't recognized (I think I used "alt/option c").

wshanks commented 5 years ago

I'm glad you got something working. What showed up in the config editor in the case where it was not working? Did it show "ç" for the key or something else? I am wondering if there is a way for Zutilo to prevent the problem you were seeing from happening.

spenmartin commented 5 years ago

The replacement character showed up (U+FFFD / �), if I recall correctly.


From: willsALMANJ notifications@github.com Sent: August 27, 2019 2:52 PM To: willsALMANJ/Zutilo Zutilo@noreply.github.com Cc: spenmartin spensermartin@hotmail.ca; Author author@noreply.github.com Subject: Re: [willsALMANJ/Zutilo] Paste Tags - cannot disable (#107)

I'm glad you got something working. What showed up in the config editor in the case where it was not working? Did it show "ç" for the key or something else? I am wondering if there is a way for Zutilo to prevent the problem you were seeing from happening.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/willsALMANJ/Zutilo/issues/107?email_source=notifications&email_token=AM4LY6LZGKP6NLF46LOB7NDQGWAWFA5CNFSM4ILGWOX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5I5IKA#issuecomment-525456424, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AM4LY6PQ7MKEMP4YBLICMKLQGWAWFANCNFSM4ILGWOXQ.