Komodo / KomodoEdit

Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.
http://www.komodoide.com/komodo-edit
Other
2.16k stars 303 forks source link

Mac Version: Menu Bar Disappears #617

Open manngo opened 9 years ago

manngo commented 9 years ago

The Komodo Edit menu bar sometimes disappears after a Save As… operation.

Steps:

The menu bar can be restored after switching to another application.

Platform: OSX 10.10; Komodo Edit 9.2.1 (also in previous version)

Naatan commented 9 years ago

I've seen this numerous times on OSX and I have no clue what causes it. I suspect it's an OSX bug that Komodo is just prone to triggering. Never the less, something we should look into.

manngo commented 9 years ago

I can only add that unlike other programs the menu bar changes when the Save As… dialog is open — it’s just Komodo & Edit, and the Edit disappears afterward.

th3coop commented 9 years ago

I just hit the issue on OSX and had the /var/log/system.log open and saw this error. @manngo, could you open a terminal window and run tail -f /var/log/system.log and see if you see the same error when you reproduce the issue?

Sep 21 16:15:09 komac.activestate.com komodo[320]: Unable to simultaneously satisfy constraints:

    (

        "<NSAutoresizingMaskLayoutConstraint:0x7fee8809e700 h=--& v=-&- V:[_NSBrowserColumnsContainerView:0x7fee858d3e50]-(0)-|   (Names: '|':NSClipView:0x7fee87d59550 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7fee8809e750 h=--& v=-&- V:|-(0)-[_NSBrowserColumnsContainerView:0x7fee858d3e50]   (Names: '|':NSClipView:0x7fee87d59550 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7fee88007330 h=-&- v=-&- V:|-(0)-[NSClipView:0x7fee87d59550]   (Names: '|':_NSBrowserScrollView:0x7fee85a3cb60 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7fee88007380 h=-&- v=-&- V:[NSClipView:0x7fee87d59550]-(15)-|   (Names: '|':_NSBrowserScrollView:0x7fee85a3cb60 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7fee88007ab0 h=--& v=--& V:[_NSBrowserScrollView:0x7fee85a3cb60(0)]>",

        "<NSAutoresizingMaskLayoutConstraint:0x7fee85896c70 h=--& v=-&- V:|-(0)-[FI_TBrowserColumnView:0x7fee859479d0]   (Names: '|':_NSBrowserColumnsContainerView:0x7fee858d3e50 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7fee85896c20 h=--& v=-&- V:[FI_TBrowserColumnView:0x7fee859479d0]-(0)-|   (Names: '|':_NSBrowserColumnsContainerView:0x7fee858d3e50 )>"

    )

    Will attempt to recover by breaking constraint 

    <NSAutoresizingMaskLayoutConstraint:0x7fee85896c70 h=--& v=-&- V:|-(0)-[FI_TBrowserColumnView:0x7fee859479d0]   (Names: '|':_NSBrowserColumnsContainerView:0x7fee858d3e50 )>

    Set the NSUserDefault NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have -[NSWindow visualizeConstraints:] automatically called when this happens.  And/or, break on objc_exception_throw to catch this in the debugger.

Sep 21 16:15:09 komac.activestate.com komodo[320]: Unable to simultaneously satisfy constraints:

    (

        "<NSAutoresizingMaskLayoutConstraint:0x7fee8809e700 h=--& v=-&- V:[_NSBrowserColumnsContainerView:0x7fee858d3e50]-(0)-|   (Names: '|':NSClipView:0x7fee87d59550 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7fee87cfaa40 h=--& v=-&- V:[FI_TBrowserColumnView:0x7fee85c5d610]-(0)-|   (Names: '|':_NSBrowserColumnsContainerView:0x7fee858d3e50 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7fee87cfaa90 h=--& v=-&- V:|-(0)-[FI_TBrowserColumnView:0x7fee85c5d610]   (Names: '|':_NSBrowserColumnsContainerView:0x7fee858d3e50 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7fee8809e750 h=--& v=-&- V:|-(0)-[_NSBrowserColumnsContainerView:0x7fee858d3e50]   (Names: '|':NSClipView:0x7fee87d59550 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7fee88007330 h=-&- v=-&- V:|-(0)-[NSClipView:0x7fee87d59550]   (Names: '|':_NSBrowserScrollView:0x7fee85a3cb60 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7fee88007380 h=-&- v=-&- V:[NSClipView:0x7fee87d59550]-(15)-|   (Names: '|':_NSBrowserScrollView:0x7fee85a3cb60 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7fee88007ab0 h=--& v=--& V:[_NSBrowserScrollView:0x7fee85a3cb60(0)]>"

    )

    Will attempt to recover by breaking constraint 

    <NSAutoresizingMaskLayoutConstraint:0x7fee87cfaa90 h=--& v=-&- V:|-(0)-[FI_TBrowserColumnView:0x7fee85c5d610]   (Names: '|':_NSBrowserColumnsContainerView:0x7fee858d3e50 )>

    Set the NSUserDefault NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have -[NSWindow visualizeConstraints:] automatically called when this happens.  And/or, break on objc_exception_throw to catch this in the debugger.

Sep 21 16:15:09 komac.activestate.com komodo[320]: Unable to simultaneously satisfy constraints:

    (

        "<NSAutoresizingMaskLayoutConstraint:0x7fee8584aed0 h=--& v=-&- V:[FI_TBrowserColumnView:0x7fee85c86eb0]-(0)-|   (Names: '|':_NSBrowserColumnsContainerView:0x7fee858d3e50 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7fee8584af20 h=--& v=-&- V:|-(0)-[FI_TBrowserColumnView:0x7fee85c86eb0]   (Names: '|':_NSBrowserColumnsContainerView:0x7fee858d3e50 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7fee8809e700 h=--& v=-&- V:[_NSBrowserColumnsContainerView:0x7fee858d3e50]-(0)-|   (Names: '|':NSClipView:0x7fee87d59550 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7fee8809e750 h=--& v=-&- V:|-(0)-[_NSBrowserColumnsContainerView:0x7fee858d3e50]   (Names: '|':NSClipView:0x7fee87d59550 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7fee88007330 h=-&- v=-&- V:|-(0)-[NSClipView:0x7fee87d59550]   (Names: '|':_NSBrowserScrollView:0x7fee85a3cb60 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7fee88007380 h=-&- v=-&- V:[NSClipView:0x7fee87d59550]-(15)-|   (Names: '|':_NSBrowserScrollView:0x7fee85a3cb60 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7fee88007ab0 h=--& v=--& V:[_NSBrowserScrollView:0x7fee85a3cb60(0)]>"

    )

    Will attempt to recover by breaking constraint 

    <NSAutoresizingMaskLayoutConstraint:0x7fee8584af20 h=--& v=-&- V:|-(0)-[FI_TBrowserColumnView:0x7fee85c86eb0]   (Names: '|':_NSBrowserColumnsContainerView:0x7fee858d3e50 )>

    Set the NSUserDefault NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have -[NSWindow visualizeConstraints:] automatically called when this happens.  And/or, break on objc_exception_throw to catch this in the debugger.

Sep 21 16:15:09 komac.activestate.com komodo[320]: Unable to simultaneously satisfy constraints:

    (

        "<NSAutoresizingMaskLayoutConstraint:0x7fee88007330 h=-&- v=-&- V:|-(0)-[NSClipView:0x7fee87d59550]   (Names: '|':_NSBrowserScrollView:0x7fee85a3cb60 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7fee88007380 h=-&- v=-&- V:[NSClipView:0x7fee87d59550]-(15)-|   (Names: '|':_NSBrowserScrollView:0x7fee85a3cb60 )>",

        "<NSAutoresizingMaskLayoutConstraint:0x7fee88007ab0 h=--& v=--& V:[_NSBrowserScrollView:0x7fee85a3cb60(0)]>"

    )

    Will attempt to recover by breaking constraint 

    <NSAutoresizingMaskLayoutConstraint:0x7fee88007380 h=-&- v=-&- V:[NSClipView:0x7fee87d59550]-(15)-|   (Names: '|':_NSBrowserScrollView:0x7fee85a3cb60 )>

    Set the NSUserDefault NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have -[NSWindow visualizeConstraints:] automatically called when this happens.  And/or, break on objc_exception_throw to catch this in the debugger.
manngo commented 9 years ago

Sorry, nothing. system.log just show old error messages. It’s not my own system, but I don’t think that should make any difference.