luciano Posted February 1 Posted February 1 I use an app called RStudio: https://posit.co/download/rstudio-desktop/ When I hit ⌘ + C to copy some text in RStudio, Alfred frequently (but not always) activates Clipboard History merging, i.e. the text I have copied is added to the previous text I copied and I hear the Clipboard History merging alert sound. This only happens in RStudio. What's causing it and how can I just copy text normally when I hit ⌘ + C in RStudio? Toffy 1
Vero Posted February 1 Posted February 1 @luciano This happens in a few apps that also have their own clipboard copy mechanism. When you select text in RStudio, do you notice it being copied to clipboard? You can either look for that feature in RStudio's preferences and disable it, or disable Clipboard Merging if it's not a feature you're keen to use. If you find this option in RStudio, it'd be great if you could share it as it may be helpful to other users in the future
vitor Posted February 1 Posted February 1 It is likely RStudio is auto-copying text when you select it, and thus when you press the shortcut it’s triggering the merge. See the KB article regarding iTerm, as the solution to try will be similar.
luciano Posted February 1 Author Posted February 1 Thanks for replies. Nothing is copied to clipboard on selection in RStudio. After selection, I have to press ⌘ + C for text to be copied to clipboard..but when I do Clipboard merging is activated.
Vero Posted February 1 Posted February 1 @luciano Can you confirm that the Clipboard Merge only happens in that particular app? If that's the case, there will be *something* in RStudio, similar to the iTerm feature mentioned by Vítor above, that results in RStudio triggering a copy. This could be on selecting, or could be on using Cmd + C, so take a look at preferences and menus for anything referring to a Cmd + C action in RStudio.
luciano Posted February 1 Author Posted February 1 Yes only RStudio. Cannot see anything in Preferences. Nothing in clipboard after selecting. Funny thing is Clipboard Merging not triggered every time I hit ⌘ + C, only about 75% of presses it is triggered.
Vero Posted February 1 Posted February 1 @luciano Thanks for confirming. At this point, as it's specific to RStudio, I would suggest contacting them as they might get a more conclusive answer of what clipboard behaviour is happening on their side. If you do get any relevant answers, I'd be grateful if you could share them as it could be helpful to other users I can see that there's been talk of RStudio and clipboard interaction in 2015 here, but the discussion was inconclusive: In the meantime, if it's causing you any hiccups, you can disable Alfred's Clipboard Merging under Features > Clipboard > Merging if you're not actively using the feature. Cheers, Vero
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now