#15 ✓resolved
Christopher Stawarz

Eye window plot view is low-res/broken when first opened

Reported by Christopher Stawarz | November 15th, 2013 @ 02:04 PM

When opened the first time, the eye window's plot view looks like a zoomed-in image; the grid lines are a bit fuzzy and have too much space between them. I've seen this only on OS X 10.9. Also, it only happens if the eye window is opened manually after launching MWClient. If the window opens automatically (because MWClient is set to restore open plugin windows), then it looks OK.

As far as I can tell, the problem occurs because drawRect: is being called before the window is told to become visible. However, I haven't figured out why this is happening. For what it's worth, here's the traceback:

0x000000010342c096 MWorksEyeWindow`-[MWPlotView drawRect:](00001032041e0, _cmd=0x00007fff94a828d2, rect=NSRect at 5fbfd790) + 38 at MWPlotView.m:91
0x00007fff94341c5e AppKit`NSDrawOpenGLView + 169
0x00007fff94340e67 AppKit`-[_NSOpenGLLayer ontext:pixelFormat:forLayerTime:displayTime:] + 241
0x00007fff90db72aa QuartzCore`CAOpenGLLayerDraw(CAOpenGLLayer*, TimeStamp const*, unsigned int) + 733
0x00007fff90db6e49 QuartzCore`-[CAOpenGLLayer _display] + 395
0x00007fff94340cd7 AppKit`-[_NSOpenGLLayer display] + 242
0x00007fff90d6a1a2 QuartzCore`CA::Layer::display_if_needed(ction*) + 590
0x00007fff90d698f1 `CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 35
0x00007fff90d6937c QuartzCore`CA::Context::commit_transaction(ction*) + 236
0x00007fff90d69016 QuartzCore`CA::Transaction::commit() + 388
0x00007fff90d797a1 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned ) + 71
0x00007fff9513a0a7 ion`__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ 
0x00007fff9513a017 CoreFoundation`__CFRunLoopDoObservers + 391
0x00007fff9512b294 CoreFoundation`CFRunLoopRunSpecific + 340
0x00007fff91363f0d HIToolbox`RunCurrentEventLoopInMode + 226
0x00007fff91363cb7 HIToolbox`ReceiveNextEventCommon + 479
0x00007fff91363abc BlockUntilNextEventMatchingListInModeWithFilter + 65
0x00007fff9404528e AppKit`_DPSNextEvent + 1434
0x00007fff940448db AppKit`-[NSApplication tchingMask:untilDate:inMode:dequeue:] + 122
0x00007fff940389cc AppKit`-[NSApplication run] + 553
0x00007fff94023803 AppKit`NSApplicationMain + 940
0x0000000100001ee3 MWClient`main(argc=3, argv=0x00007fff5fbff780) in.m:30
0x0000000100001e34 MWClient`start + 52

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

DiCarlo Lab plugins for the MWorks core framework and client application

Shared Ticket Bins

People watching this ticket

Pages