New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The NSFullSizeContentViewWindowMask styleMask (OS X 10.10) prevents text drawing #167
Comments
Created this description for a separate issue but then found this one. :) All the plot labels are not drawn on the initial app load when I'm using When I'm setting up the whole plot in If I go into another tab of my app and then return back, then labels appear when I re-setup a plot in There're no issues for any other screens, the bug happens only on the first screen that's visible immediately after the app's launch. I wasn't able to reproduce it in a test project, sorry. It works for a small OS X app without issues. But the main ideas are:
Workaround: use |
…osting view or a layer backed view as required. Fixed issue #167.
* commit '97431f16af5fbf1fe9b5d75f89188839ad05b3f2': (67 commits) Added missing break statements in -debugQuickLookObject. Added unit tests for the log modulus axis scale and related calculations. Added the log modulus scale type to the plot space demo in the Plot Gallery app. Fixed some problems with axis labeling and plot space conversions for the log modulus axis scale. Added documentation for the CPTEdgeInsets functions. Standardized code formatting. Added Demitri Muna to the license file. Initial implementation of new CPTScaleType, CPTScaleTypeLogModulus. Changed the Mac CPTGraphHostingView so it can act as either a layer hosting view or a layer backed view as required. Fixed issue core-plot#167. Updated .xib files in the example apps to the latest file format and deployment target. Removed the unused CPTGetCurrentContext() function. Fixed issue core-plot#216. Fixed a compiler warning in iOS builds. Fixed issue core-plot#215. Added a -debugQuickLookObject() method to many Core Plot classes for debugging and Swift playground support. Fixed a file reference in the StockPlot example app. Embed the Core Plot framework in the Plot Gallery app to fix device builds. Added code signing identities for the iOS framework. Fixed Xcode warnings for the launch images in the StockPlot example app. Renamed the iOS framework to "CorePlot" to match the Mac framework. Updated project files with Xcode 7 settings. Added an @3x image to the stretchable blue rectangle image in the Plot Gallery example app. ... Conflicts: framework/CorePlot-CocoaTouch.xcodeproj/project.pbxproj framework/CorePlot.xcodeproj/project.pbxproj framework/Source/CPTXYPlotSpace.m
On OS X 10.10, the
NSFullSizeContentViewWindowMask
windowstyleMask
prevents text layers (and possibly others) from drawing their contents. From NSWindow.h:Core Plot requires a layer hosting view. Update Core Plot to work with hosting views and layer-backed views.
See this discussion thread for further discussion.
The text was updated successfully, but these errors were encountered: