FHIR Chat · Macs, Big Sur, and Zulip client · social

Stream: social

Topic: Macs, Big Sur, and Zulip client


view this post on Zulip Jean Duteau (Nov 19 2020 at 04:31):

I have just upgraded my Mac to Big Sur and now the Zulip client needs to be refreshed every time that a new message notification arises. I've asked a couple of others and they seem to have the same problem. Has anyone else experienced this and found the solution?

view this post on Zulip Elliot Silver (Nov 19 2020 at 04:32):

I think you've found my solution -- yet another reason to hold off on Big Sur.

view this post on Zulip Jim Steel (Nov 19 2020 at 04:53):

I'm having the same thing. No solution that I've found yet

view this post on Zulip Grahame Grieve (Nov 19 2020 at 05:50):

@Tim Abbott

view this post on Zulip Oliver Egger (Nov 19 2020 at 06:53):

Jean Duteau said:

I have just upgraded my Mac to Big Sur and now the Zulip client needs to be refreshed every time that a new message notification arises. I've asked a couple of others and they seem to have the same problem. Has anyone else experienced this and found the solution?

same here, switched back to chat.fhir.org in the mean time, there i get no gray screenb in big sur

view this post on Zulip Tim Abbott (Nov 19 2020 at 19:40):

We're investigating this -- it does appear that Big Sur results in that grey screen behavior. I'll update this thread when we have an updated version to test (we suspect it's an upstream issue and we just need to upgrade Electron/Chromium)

view this post on Zulip Tim Abbott (Nov 19 2020 at 19:43):

@Jean Duteau @Jim Steel @Oliver Egger are any of you around to test a potential fix?

view this post on Zulip Tim Abbott (Nov 19 2020 at 19:43):

We think it's about 50% likely that the issue is fixed in master, and we'd like someone to test a development build (https://github.com/zulip/zulip-desktop/blob/master/development.md has instructions) to confirm whether that is sufficient.

view this post on Zulip Tim Abbott (Nov 19 2020 at 19:45):

(Or anyone else who's upgraded to Big Sur and seen this issue; it seems possible the original reporters might be asleep right now)

view this post on Zulip Jean Duteau (Nov 19 2020 at 19:52):

@Tim Abbott I am and willing

view this post on Zulip Jean Duteau (Nov 19 2020 at 19:56):

testing now....

view this post on Zulip Tim Abbott (Nov 19 2020 at 20:09):

Awesome!

view this post on Zulip Jean Duteau (Nov 19 2020 at 20:09):

so far it appears to be working - it seemed like the previous version would grey screen whenever a new message appeared and it's not doing that now

view this post on Zulip Tim Abbott (Nov 19 2020 at 20:15):

The bug with the previous version was with desktop notifications @Jean Duteau, so you may not see it until someone mentions you (or a PM or a stream you've configured notifications for).

view this post on Zulip Jean Duteau (Nov 19 2020 at 20:16):

well, you just mentioned me and it didn't happen. :)

view this post on Zulip Tim Abbott (Nov 19 2020 at 20:16):

Great!

view this post on Zulip Oliver Egger (Nov 19 2020 at 20:17):

happy to test if still needed

view this post on Zulip Tim Abbott (Nov 20 2020 at 01:22):

@Oliver Egger if you can also try following the instructions in https://github.com/zulip/zulip-desktop/blob/master/development.md to install the development version and confirm whether the issue is resolved for you, that'll be great.

view this post on Zulip Tim Abbott (Nov 20 2020 at 01:22):

We believe that we've fixed the issue in master but additional confirmation would be very helpful.

view this post on Zulip Oliver Egger (Nov 20 2020 at 10:28):

@Tim Abbott it cannot reproduce the error anymore and receive new messages without a gray screen.
i get an error message on the console during startup, but don't know if that is in anyway related:

npm start

> zulip@5.4.3 start /Users/oliveregger/Documents/github/zulip-desktop
> tsc && electron .

TypeError: Error processing argument at index 0, conversion failure from null
    at IpcMainImpl.<anonymous> (/Users/oliveregger/Documents/github/zulip-desktop/app/main/index.js:161:13)
    at IpcMainImpl.emit (events.js:310:20)
    at WebContents.<anonymous> (electron/js2c/browser_init.js:157:8362)
    at WebContents.emit (events.js:310:20)
TypeError: Error processing argument at index 0, conversion failure from null
    at IpcMainImpl.<anonymous> (/Users/oliveregger/Documents/github/zulip-desktop/app/main/index.js:161:13)
    at IpcMainImpl.emit (events.js:310:20)
    at WebContents.<anonymous> (electron/js2c/browser_init.js:157:8362)
    at WebContents.emit (events.js:310:20)
objc[4552]: Class NotificationCenterDelegate is implemented in both /Users/oliveregger/Documents/github/zulip-desktop/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework (0x10fc8d0c0) and /Users/oliveregger/Documents/github/zulip-desktop/node_modules/node-mac-notifier/build/Release/Notification.node (0x11342ca20). One of the two will be used. Which one is undefined.
2020-11-20 11:25:00.920 Electron[4487:346647] Warning: Expected min height of view: (<NSPopoverTouchBarItemButton: 0x7fd4d85e41f0>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.
2020-11-20 11:26:38.682 Electron[4487:346647] Incorrect NSStringEncoding value 0x8000100 detected. Assuming NSASCIIStringEncoding. Will stop this compatibility mapping behavior in the near future.
2020-11-20 11:26:38.682 Electron[4487:346647] Incorrect NSStringEncoding value 0x8000100 detected. Assuming NSASCIIStringEncoding. Will stop this compatibility mapping behavior in the near future.
2020-11-20 11:26:46.539 Electron[4487:346647] Warning: Expected min height of view: (<NSPopoverTouchBarItemButton: 0x7fd4693c89c0>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.

view this post on Zulip Oliver Egger (Nov 20 2020 at 12:25):

on no, i have the gray screen back after beeing back from lunch, with the following message in the terminal:

objc[87760]: Class NotificationCenterDelegate is implemented in both /Users/oliveregger/Documents/github/zulip-desktop/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework (0x10974d0c0) and /Users/oliveregger/Documents/github/zulip-desktop/node_modules/node-mac-notifier/build/Release/Notification.node (0x10a806a20). One of the two will be used. Which one is undefined.
2020-11-20 12:59:45.015 Electron Helper (Renderer)[87760:612009] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Critical error: required built-in appearance SystemAppearance not found'
*** First throw call stack:
(
    0   CoreFoundation                      0x00007fff204826af __exceptionPreprocess + 242
    1   libobjc.A.dylib                     0x00007fff201ba3c9 objc_exception_throw + 48
    2   CoreFoundation                      0x00007fff20482513 +[NSException raise:format:] + 189
    3   libdispatch.dylib                   0x00007fff201657c7 _dispatch_client_callout + 8
    4   libdispatch.dylib                   0x00007fff2016696b _dispatch_once_callout + 20
    5   AppKit                              0x00007fff22be9a9c +[NSAppearance _initializeCoreUI] + 35
    6   AppKit                              0x00007fff22be964f +[NSAppearance _darkAquaAppearance] + 47
    7   AppKit                              0x00007fff22be93ca +[NSAppearance appearanceNamed:] + 21
    8   AppKit                              0x00007fff22be90be _NSAppearanceCurrentSystemAppearance + 178
    9   AppKit                              0x00007fff22be8e64 -[NSSystemAppearanceProxy init] + 81
    10  AppKit                              0x00007fff22be8e0a __38+[NSSystemAppearanceProxy systemProxy]_block_invoke + 16
    11  libdispatch.dylib                   0x00007fff201657c7 _dispatch_client_callout + 8
    12  libdispatch.dylib                   0x00007fff2016696b _dispatch_once_callout + 20
    13  AppKit                              0x00007fff22be8df8 +[NSSystemAppearanceProxy systemProxy] + 42
    14  AppKit                              0x00007fff22c0d03c +[NSAppearance _applicationAppearance] + 88
    15  AppKit                              0x00007fff22d67504 -[NSImage bestRepresentationForRect:context:hints:] + 670
    16  AppKit                              0x00007fff22d67223 -[NSImage _usingBestRepresentationForRect:context:hints:body:] + 86
    17  AppKit                              0x00007fff22d66b1e -[NSImage CGImageForProposedRect:context:hints:] + 770
    18  Foundation                          0x00007fff213f6862 _imageDataForImage + 318
    19  Foundation                          0x00007fff213f6f2b -[_NSConcreteUserNotification setContentImage:] + 99
    20  Notification.node                   0x000000010a803a0d _ZN15MacNotificationC2EPN3Nan10Utf8StringES2_S2_S2_S2_S2_bS2_ + 513
    21  Notification.node                   0x000000010a802dc1 _ZN15MacNotification3NewERKN3Nan20FunctionCallbackInfoIN2v85ValueEEE + 615
    22  Notification.node                   0x000000010a804730 _ZN3Nan3impL23FunctionCallbackWrapperERKN2v820FunctionCallbackInfoINS1_5ValueEEE + 220
    23  Electron Framework                  0x0000000102ca1fea _ZN2v88internal9Accessors12MakeAccessorEPNS0_7IsolateENS0_6HandleINS0_4NameEEEPFvNS_5LocalINS_4NameEEERKNS_20PropertyCallbackInfoINS_5ValueEEEEPFvS9_NS7_ISB_EERKNSA_INS_7BooleanEEEE + 17498
    24  Electron Framework                  0x0000000102ca1281 _ZN2v88internal9Accessors12MakeAccessorEPNS0_7IsolateENS0_6HandleINS0_4NameEEEPFvNS_5LocalINS_4NameEEERKNS_20PropertyCallbackInfoINS_5ValueEEEEPFvS9_NS7_ISB_EERKNSA_INS_7BooleanEEEE + 14065
    25  Electron Framework                  0x0000000102ca0cfa _ZN2v88internal9Accessors12MakeAccessorEPNS0_7IsolateENS0_6HandleINS0_4NameEEEPFvNS_5LocalINS_4NameEEERKNS_20PropertyCallbackInfoINS_5ValueEEEEPFvS9_NS7_ISB_EERKNSA_INS_7BooleanEEEE + 12650
    26  Electron Framework                  0x00000001037aa5d8 _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 488696
    27  Electron Framework                  0x000000010373b6c5 _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 34277
)
libc++abi.dylib: terminating with uncaught exception of type NSException

view this post on Zulip Tim Abbott (Nov 20 2020 at 20:00):

@Oliver Egger awesome, that exception is very helpful; we're working with the upstream maintainers to get that bug fixed.

view this post on Zulip Oliver Egger (Nov 21 2020 at 09:49):

glad if it helps, just let me know if i should do another test round

view this post on Zulip Oliver Egger (Dec 02 2020 at 20:29):

@Tim Abbott with the latest update zulip to 5.5.0 the gray screen is not showing up anymore and i can use the app again, thanks a lot!

view this post on Zulip Tim Abbott (Dec 07 2020 at 02:32):

@Oliver Egger thanks for confirming the fix! :)


Last updated: Apr 12 2022 at 19:14 UTC