v 4.0.1: Cannot close pcbnew using close button on Mac OS X 10.11

Bug #1537490 reported by Andres
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
New
Undecided
Unassigned

Bug Description

Kicad: v4.0.1-stable.
Mac OS X 10.11

Project window, Eeschema and CvPcb window can be closed using standard Mac OS X close button (red circle), however it does not work in Pcbnew.

Tags: osx
Andres (vandresv)
tags: added: osx
Revision history for this message
Adam Wolf (adamwolf) wrote : Re: [Bug 1537490] [NEW] v 4.0.1: Cannot close pcbnew using close button on Mac OS X 10.11

I cannot reproduce this. I can close 4.0.1-stable using the close button
both when opening pcbnew as standalone and when launched from the project
manager.

Can anyone else?

On Sun, Jan 24, 2016 at 8:13 AM, vandresv <email address hidden>
wrote:

> Public bug reported:
>
> Kicad: v4.0.1-stable.
> Mac OS X 10.11
>
> Project window, Eeschema and CvPcb window can be closed using standard
> Mac OS X close button (red circle), however it does not work in Pcbnew.
>
> ** Affects: kicad
> Importance: Undecided
> Status: New
>
>
> ** Tags: osx
>
> ** Tags added: osx
>
> --
> You received this bug notification because you are subscribed to KiCad.
> Matching subscriptions: OS X KiCad bugs
> https://bugs.launchpad.net/bugs/1537490
>
> Title:
> v 4.0.1: Cannot close pcbnew using close button on Mac OS X 10.11
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/kicad/+bug/1537490/+subscriptions
>

Revision history for this message
Andres (vandresv) wrote :

I tried clean Kicad v4.0.1 install on older MacBook Pro (2009) which has Mac OS X 10.10 and indeed it worked nicely.

However bug was reported from mid-2015 MacBook Pro which has AMD Radeon R9 M370X graphics. Maybe it is somehow related to this because Pcbnew uses OpenGL.

Revision history for this message
Andres (vandresv) wrote :

For reference I did complete clean install again on newer machine and the result is the same, does not work on this machine.

I also noticed that I cannot resize Pcbnew window. Only window border changes not the content: https://www.dropbox.com/s/qbb39ohg2j9um02/Screenshot%202016-01-24%2020.29.36.jpg?dl=0&preview=Screenshot+2016-01-24+20.29.36.jpg.

Revision history for this message
Adam Wolf (adamwolf) wrote :

I believe there are instructions in the README on the KiCad dmg for a way to get more information about your machine to help me solve this. Can you run the commands in there and let me know what the output is?

Revision history for this message
Andres (vandresv) wrote :

There was a mention about `sw_vers`:

> sw_vers
ProductName: Mac OS X
ProductVersion: 10.11.3
BuildVersion: 15D21

Revision history for this message
xzcvczx (xzcvczx) wrote :

Do you have wxpython and/or wxwidgets installed through brew? There are currently issues when its both installed on the system and embedded in the bundle which are still being worked on. If you do have it installed in brew and are using The nightlies can you try moving the python folder thats inside the kicad.app/Contents/Frameworks folder (to python.old for example) and see whether the issue still occurs

Revision history for this message
Andres (vandresv) wrote :

Renaming to python.old did not work with v4.0.1-stable and it did not work with kicad-r6502.20160121-032819.dmg either.

Yes I have wxpython installed.

> brew info wxpython
wxpython: stable 3.0.2.0
Python bindings for wxWidgets
https://www.wxwidgets.org/
/usr/local/Cellar/wxpython/3.0.2.0 (944 files, 38M) *
  Poured from bottle
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/wxpython.rb
==> Dependencies
Required: wxmac ✔
==> Options
--universal
 Build a universal binary

Revision history for this message
Andres (vandresv) wrote :

I uninstalled brew wxpython:

> brew uninstall wxpython
Uninstalling /usr/local/Cellar/wxpython/3.0.2.0... (944 files, 38M)

After that something really changed: now I can see proper Pcbnew menus and it CAN be closed from close button. Although after launching Pcbnew I saw following error: https://www.dropbox.com/s/gacotkmz9p9qjye/Screenshot%202016-01-25%2022.37.46.jpg?dl=0&preview=Screenshot+2016-01-25+22.37.46.jpg

So the root cause of the problem was brew's wxpython.

Revision history for this message
Andres (vandresv) wrote :

Actually this is duplicate to this: https://bugs.launchpad.net/kicad/+bug/1490762

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.