t2304982 Posted September 2, 2015 Share Posted September 2, 2015 I am running Alfred v2.7.2 (407) and IntelliJ 14.1.4 I have the clipboard viewer hotkey set to shift-command-C. I have Auto Paste on return. When invoking the clipboard viewer with the hotkey, selecting an item from the history that is not the most recent item and hitting enter, the most recent item/text is what is pasted. Sometimes trying several times makes it work, other times it doesn't. Switching to another app like TextEditor and pasting there always works immediately. This started happening immediately after switching to the pre-release. Link to comment
Andrew Posted September 2, 2015 Share Posted September 2, 2015 I am running Alfred v2.7.2 (407) and IntelliJ 14.1.4 I have the clipboard viewer hotkey set to shift-command-C. I have Auto Paste on return. When invoking the clipboard viewer with the hotkey, selecting an item from the history that is not the most recent item and hitting enter, the most recent item/text is what is pasted. Sometimes trying several times makes it work, other times it doesn't. Switching to another app like TextEditor and pasting there always works immediately. This started happening immediately after switching to the pre-release. This is a bit of an odd one and I have a theory... before I explain, could you try temporarily turning off auto-paste on return, selecting the item with return from Alfred's clip history, waiting a second then manually pasting it? Cheers, Andrew Link to comment
ctwise Posted September 2, 2015 Share Posted September 2, 2015 I am running Alfred v2.7.2 (407) and IntelliJ 14.1.4 I have the clipboard viewer hotkey set to shift-command-C. I have Auto Paste on return. When invoking the clipboard viewer with the hotkey, selecting an item from the history that is not the most recent item and hitting enter, the most recent item/text is what is pasted. Sometimes trying several times makes it work, other times it doesn't. Switching to another app like TextEditor and pasting there always works immediately. This started happening immediately after switching to the pre-release. Known problem - https://youtrack.jetbrains.com/issue/IDEA-114252 -- https://bugs.openjdk.java.net/browse/JDK-8071668 It's a Java issue. You can use the latest JDK (8u60) or their custom JDK they bundle with IntelliJ. There's also a possible workaround in the first link. Basically Java caches the pasteboard when it gets focus. If focus doesn't leave the app it doesn't recognize when the clipboard manager changes the pasteboard. Andrew 1 Link to comment
Andrew Posted September 4, 2015 Share Posted September 4, 2015 Thanks for your help guys! I'm going to move this into the help sub-forum Link to comment
deanishe Posted September 5, 2015 Share Posted September 5, 2015 Thanks for your help guys! I'm going to move this into the help sub-forum Might be better as a sticky. TL;DR Java apps don't work properly with the clipboard… Link to comment
ctwise Posted September 5, 2015 Share Posted September 5, 2015 It should also be mentioned that this is a problem for _all_ clipboard managers. It's not Alfred-specific. Link to comment
deanishe Posted September 5, 2015 Share Posted September 5, 2015 Yup. TextExpander doesn't work properly with Java apps, either (it uses the clipboard to do its thing). Link to comment
Maddog Posted September 5, 2015 Share Posted September 5, 2015 I'm having the same problem with webstorm. I don't really understand if a fix is already out or not. I tried the fix suggested in the ticket (changing idea.properties file) and it worked, alfred's clipboard history works again. (Some people say it makes the IDE freeze, but it happened to me before anyway - I'm killing my IDE every few days anyway) Link to comment
Andrew Posted September 7, 2015 Share Posted September 7, 2015 If you update to the latest Alfred 2.7.3 pre-release (build 411) from Alfred's update prefs, I've now added a "compatibility" mode into Alfred's Appearance > Options. I appreciate that there may be some situations as described above where it's more desirable for Alfred to act more like an OS X app when taking key window! Cheers, Andrew bdc 1 Link to comment
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