Menus appear blank, MacOS Mojave 10.14.6
Clicking on dropdown menus produces blank windows. Also, when I first launch Zotero, the entire space is black, until I adjust the app size with my mouse or a window manager like Divvy.
I don’t recall if this coincided with a MacOS or Zotero update, but my hunch is that it was a MacOS update, since I don’t update Zotero too often.
This issue seems similar to this one (https://forums.zotero.org/discussion/73797/macos-mojave-and-zotero-dropdown-menu-problem), but I haven’t been able to resolve it. I’ve tried completely deleting Zotero and reinstalling a recent beta (Zotero-5.0.75-beta.15+da690a45b) in addition to the recent stable release (Zotero-5.0.75), but the problem persists.
I don’t recall if this coincided with a MacOS or Zotero update, but my hunch is that it was a MacOS update, since I don’t update Zotero too often.
This issue seems similar to this one (https://forums.zotero.org/discussion/73797/macos-mojave-and-zotero-dropdown-menu-problem), but I haven’t been able to resolve it. I’ve tried completely deleting Zotero and reinstalling a recent beta (Zotero-5.0.75-beta.15+da690a45b) in addition to the recent stable release (Zotero-5.0.75), but the problem persists.
I've tried incrementally quitting every running program, restarting Zotero between each quit, and it didn't resolve the issue. I also tried quitting a variety of background tasks via Activity Monitor and still no luck. Like the thread above, when I switch to another account, Zotero works fine.
Have any suggestions on how to surface the rogue app interfering with the graphics?
And to be clear Zotero-5.0.76-beta.1+2bb14e5c6 and Zotero-5.0.76 both work on my test user account, so it's some rogue app or setting crashing Zotero - I just can't figure out which one.
I'm not sure what you mean by the second part. What do you mean by "keep both profiles in that location"? And are you saying you're now getting the crash in the new user account, which wasn't happening before?
```
sudo chown -R bbrooks /Users/bbrooks/Library/Application\ Support/Zotero/Profiles/5onsulx9.default/
```
And I still get the "missing or inaccessible" error.
What I meant by "keep both profiles in that location" was keeping both the old and working .default profiles in /Profiles/. I'm assuming you can't have two profiles in that directory, but was just trying it out. Currently I removed the original profile and have the profile that was copied over from the working user's account.
So you need to make sure that the new user account has read and write permissions for the active profile directory and all files and folders below it.
I copied over the Zotero folder from the working user, "test_admin", to my broken Zotero location and changed ownership:
```
sudo cp -R /Users/test_admin/Library/Application\ Support/Zotero/ /Users/bbrooks/Library/Application\ Support/Zotero/
sudo chown -R bbrooks /Users/bbrooks/Library/Application\ Support/Zotero/
```
This causes an immediate crash, similar to before, and the crash report is similar to the one I emailed you. To me, the crash report suggests Zotero is having issues accessing memory (e.g. "EXC_BAD_ACCESS (SIGSEGV)") but these crash reports are quite opaque from my perspective.
I've uploaded the crash report below in case others in the future have similar issues. I'll provide an update if I figure things out on the MacOS end.
https://drive.google.com/file/d/1VBs3nHAl11aJK_vmj4tM_qbka2fXwh6n/view?usp=sharing
If you try it, first make a backup of zotero.sqlite in your Zotero data directory, since you won't be able to downgrade to the release version without a database backup. (The beta should make a backup automatically, but you should make one manually just to be safe.)
Completing these steps resolved the problem for me:
1. Run this command in a terminal: defaults delete -g NSRequiresAquaSystemAppearance
2. Log out and back in
3. Go to System Preferences > General and select "Light" and then back to "Dark"
4. Open Zotero and it should now be working as expected
I'm running Zotero 5.0.86-beta.9+36afe4573 in macOS Catalina 10.15.4
defaults write
command involving that flag (e.g., following instructions like these) to customize Dark Mode on a per-app basis? Or used some third-party tool that might have done so?It's not clear to me under what situations, if any, this would be set otherwise.
I can reproduce this in Zotero by setting the flag to false (in the global domain or for org.zotero.zotero), and setting it to true in Info.plist doesn't help.
defaults write -g NSRequiresAquaSystemAppearance -bool Yes
instead of providing their application identifier (com.microsoft.VSCode etc).-bool No
in this case.)