Magic Mouse behaves erratically in PhpStorm 2016 under macOS Sierra - macos

Since upgrading to Sierra, clicking any text within PhpStorm 2016.2.1 results in a random block of text being selected and clicking within that moves the text around randomly instead of deselecting the text block.
Worked without a problem in El Capitan.
This has made PhpStorm into an extremely frustrating and productivity killing experience.
Any idea how to fix this?

Please see the latest EAP build here (I haven't yet tried it myself): https://blog.jetbrains.com/phpstorm/2016/10/phpstorm-2016-3-eap-163-5644/

Issue is tracked as https://youtrack.jetbrains.com/issue/IDEA-161617. Please check if the problem persists in the custom JDK build: https://youtrack.jetbrains.com/issue/IDEA-161617#comment=27-1642308

I found that turning off the "three finger drag" feature dramatically reduced this issue.
Follow the instructions in Apple's support docs for this.
It seems that under Sierra the Magic Mouse has become so sensitive that even touching the edge of the mouse with my other fingers can be misinterpreted as a three finger drag attempt.
Still happens intermittently, so I'm hoping some update to the driver by Apple or the PHPStorm JDK will get rid of any lingering occurrences. For now, this is the best solution I've found thus far.

Related

Intellij IDEA on Mac pops up a window randomly to interrupt coding

Problem:
I'm using idea on mac, and every time I start idea, it will pop up a window and interrupt me randomly. The window fleets very very quickly and I don't know how to solve it.(ps. eclipse doesn't show this problem)
Image of the problem:
Please ignore the Chinese character in this image
Tried:
I've uninstalled Idea totally and Re-installed it, but the problem still exists.
Versions of macos and Idea:
Catalina beta 10.15.4; Idea 2019.3.4; jdk 13.
Thanks in advance!

Xcode 7.3 is excruciatingly slow when loading Storyboard IB

I recently upgraded to Xcode 7.3. I found that loading up the storyboard can take anywhere from 5 to 10 minutes to complete(and may sometimes result in a crash). I've restarted my Mac several times. I uninstalled Xcode and reinstalled it to no avail. I then cleared my Derived Data as well as com.apple.dt.Xcode to find that this did not help either. Is anyone experiencing a similar issue and possibly has a solution?
Although this actually might be an issue with incremental changes in Storyboards with Xcode 7.3 you can always speed up build times by creating multiple small Storyboard files in favor of a big bloated Storyboard.
Xcode can then reuse already built Storyboards in subsequent builds (as long as they are not changed) instead of building the complete bloated Storyboard over and over again even for small changes.
Apple even has a guide that might help getting this started.
I hope that helps!
This is really annoying bug/issue with XCode 7.3. So, If you have an hour or so to spend you can download and install XCode 7.3.1 Beta from here https://developer.apple.com/xcode/download/
It seems that this issue has been fixed in this version (at least it works for me).
Edit: OK. After a few minutes, Interface Builder became extremely slow again. Changing only one property can take up to 15-20 minutes.
After some research I have figured out that autolayout constraints were the cause of this issue, BUT only if you have a combination of some components present. I had a segmented control inside a navigation bar. When I removed navigation bar and placed segmented control in a simple UIView, all issues were gone and IB was smooth again.
Hope this will help.
I am using Xcode 7.3.1 and had the same problem. My problem was solved by disabling source control.
Go to Xcode->Preferences->Source Control and then Uncheck the Enable Source Control. Worked for me.
Thanks.
Sometimes the storyboard gets slow because of unresolved errors of autolayout. In my case i tested by changing screensizes and it showed me some errors on different sizes. Once i resolved those errors the storyboard was working fine. Please confirm
Yep I had the same problem. In design mode, it's Autolayout that is causing the 5-10 second delay between edits, especially if it's a large storyboard. Turning off Autolayout in the storyboard at design time fixed the issue for me:
Open project
Select storyboard from the Project Navigator
Open the file inspector
Under Interface Builder Document uncheck 'Use Autolayout'
If you need Autolayout at run time, I recommend you layout your Storyboard in design time with this off (to avoid those long delays between edits) then turn it back on afterwards. Or, turn Auto layout on programatically. Or better yet, split your storyboard out into smaller storyboards.
Referenced this question: Can I disable autolayout for a specific subview at runtime?
I got the same issue recently after I updated the OSX to 10.11. Xcode 7.3 will take almost 5 mintues to respond when I just change the button's font (or anything else change). This made me almost crazy. Incidently, just for a try, I updated Xcode from App Store to 7.3.1. Then I was happy to cry when I opened the storyboard and changed the attributes. Xcode responds smoothly.
So please try Xcode 7.3.1 for your problem. Hopefully you can be happy with it.

Warning "Misplaced View" on Clip View

I started making a finance program yesterday. I didn't have internet, so I waited to search the problem up. I could not find anything that worked. I am using an NSTabView, and there are three tabs: income, assets, and net worth. Inside income, I have two NSTableViews. Inside assets, I have one NSTableView. The Clip Views in these three NSTableViews are not displaying. I have the newest version of Xcode (6.1.1), and am using Yosemite. There are also warnings that look like the following:
So if anyone knows about what might be happening or how to fix it, it would great if you could leave a comment or answer!
I believe this is a bug for XCode 6.1 on 10.10. When running on 10.9, there is no such warning.
Here is a similar question: Permanent Misplaced View warning for Clip View in NSTableView
I will Update this answer once I find a new solution other than downgrading my OS to 10.9.
Update:
I believe it is a bug of Xcode. And I do find a workaround to fix it(other than downgrading my OS to 10.9).
The solution is to edit the attributes of tableView in IB, disable "Headers". Don't show table headers and the warning will be magically gone. And we can guess that by default the table header is 17px :)
It's just a workaround, not an ideal solution. This is not our fault. The best solution is to wait for Apple to fix this Xcode bug.

Xcode 5 on Mountain Lion 10.8.5 won't load

Since I installed the Xcode 5 from the App Store I can't start Xcode.
I click on the Xcode icon, then icon bounce 1 time then nothing.
The program doesn't respond...
I tried to uninstall and reinstall Xcode but I got the same problem.
I think the best way is to completely uninstall XCode and its accompanying utilities.
You can follow this link for that.
I am plagued by this problem. Ever since I updated to XCode 5 I have had nothing but trouble. When I open it it does nothing but it does say Application Not Responding when you right-click the icon in the tray.
Once I walked away and hours later when I came back it was open. So I tried it again and waited. around 30 minutes later, it opened. I've figured out that if you wait long enough, eventually it opens.
I know this is only a temporary, partial solution, but it may be all you have until the release Mavericks. I have read in searching for a solution that XCode 5 works in 10.9 but developers struggle using it on 10.8.5 <----- specifically 5!
I just installed the 10.8.5 supplemental 1.0 update and it didn't change anything for me.
Try to open the program and see if letting it sit for a while maybe even overnight, and see if it opens like mine. If so, maybe someone can help with that extra information.
Well i have the exact same problem that you are facing. This is how you can solve it:
First of all just uninstall the current version of Xcode from your Mac completely. You can delete it from the Applications. After that you will still see the Xcode icon in the LaunchPad and i don't know why. You have to delete it from the LaunchPad too. Just by clicking and holding until the cross button appears and then press the cross button to delete.
Once this is done, don't download it from the App Store. Instead download from a direct link. Go to this LINK and find the Xcode and download the DMG file. Then you can install it and you will have no problem.
You can either waste your time troubleshooting the problem or you can just do what i told you to save some time. The choice is yours!
Hope this helps!

Why does Xcode's editor jump upwards whenever I place a Breakpoint?

Whenever I place a breakpoint down in Xcode 3.2.1, for whatever reason the editor likes to jump upwards by 100-200+ lines, losing my place in the source code. This appears to only occur in projects that I've been worked on for a little while, opening/closing them several times. New projects don't have the issue, but eventually develop it.
Any idea on what's causing this (user error, software glitch), and ideally how to fix it? Cheers!
This appears to be a glitch in Xcode 3.x. Perhaps when Xcode 4.x gets released Apple will fix this problem.

Resources