Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8120304

Mac: Assertion failures when closing windows + rendering artifacts in Tooltip / ComboBox

XMLWordPrintable

      The fix for RT-20978 to not use CALayers for ordinary (non-embedded) windows has introduced a serious regression. As reported by Chien, the failure modes are:

      1) Exiting any program, including HelloRectangle, will cause the following assert to throw:

      2012-06-10 12:48:48.845 java[35395:407] *** Assertion failure in -[GlassView3D lockFocus], /SourceCache/AppKit/AppKit-1138.32/AppKit.subproj/NSView.m:6116
      2012-06-10 12:48:48.845 java[35395:407] lockFocus caught exception: -[GlassView3D(0x7fcce323a460) lockFocus] failed with window=0x0, windowNumber=0, [self isHiddenOrHasHiddenAncestor]=0
      2012-06-10 12:48:48.846 java[35395:407] unlockFocus caught exception: Unlocking Focus on wrong view (<GlassView3D: 0x7fcce323a460>), expected <_NSThemeCloseWidget: 0x7fcce1c3af30>

      2) Tooltip and related second Stage rendering is broken. Run HelloTooltip and HelloComboBox to see the black border on second stage.

            gziemski Gerard Ziemski
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: