Forum Xamarin.Mac


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Application window is blank

MuspetwonMuspetwon USMember ✭✭
edited February 2019 in Xamarin.Mac

I have a Xamarin.Mac application. Some users (probably 2-3% of all users) of the application complains that after launching the app they see an empty blank window. They don't see any text, buttons, checkboxes, etc.

Here is how it looks:

The screenshot above taken on macOS Mojave, Version 10.14.3, iMac (27-inch, Late 2013), Processor 3.5 GHz Intel Core i7, Memory 32 GB 1600 MHz DDR3.

The app is build on the following machine:

Mono Framework MDK
Mono (2018-06/b63e5378e38) (64-bit)
Package version: 516000221

Version: (Visual Studio Community)

Logs from the app show that other parts of the app work as expected - background threads are started, config is written, etc. So it seems the problem is related to UI part of the app.

I'm unable to reproduce the issue in my lab.

I've found the similar question here: but unfortunately the solution doesn't work for me (to move an app into directory other than Applications). The user tried to install the app into Documents directory and the results are the same.

Any ideas?


  • ChrisHamonsChrisHamons USForum Administrator, Xamarin Team Xamurai

    Hmm, that is strange. I haven't really heard of that before. I can only come up with a few theories:

    • If your application is unable to load the xib\storyboard Cocoa will sometimes create a new NSWindow instead of hydrating your saved one. Maybe there is something in your xib\storyboard that fails to load on that machines? Maybe check the macOS version of the failing machines?
    • I've seen some strange Cocoa behavior on some older mac minis when using graphics heavy APIs, like SpriteKit. Maybe double check to see if your top level View has WantsLayers to be true, and create a version of the app with it set to True\False and see if that changes what they see?
    • Try having them launch your application from the terminal (./ and see if we get some useful output?
  • MuspetwonMuspetwon USMember ✭✭

    Chris, thank you for your quick response!
    Will try the ideas and report back.

  • MuspetwonMuspetwon USMember ✭✭

    Unfortunately the client has refused to setup remote session with her computer. So will wait for other chance to debug.

Sign In or Register to comment.