Zotero 7 Beta: Every now and then the right-click menu stops working
Every now and then the right-click menu stops working throughout the whole desktop app. When trying to open it, then the right-click menu appears for a fraction of a second, before vanishing again. Some goes for the drop-down menu of the menu bar at the top (where File, Edit etc. is)
There seems to be no event that triggers this strange behaviour. The only solution is to restart the app.
What's the best way to debug this?
Happens on Zotero 7.0.0-beta.38+b79e0b3d7 (64-bit) on Ubuntu 23.04.
There seems to be no event that triggers this strange behaviour. The only solution is to restart the app.
What's the best way to debug this?
Happens on Zotero 7.0.0-beta.38+b79e0b3d7 (64-bit) on Ubuntu 23.04.
- Display server (Wayland/Xorg)? Wayland can cause unexpected behavior (at least it was like that a few years ago).
- Desktop environment and version?
- Any add-ons/plugins installed? Disable temporarily to check for conflicts.
- Does the problem occur in other Zotero profiles? Try a fresh profile to isolate issue,
No add-ons or plugins installed.
Created a fresh profile with Zotero 7 Beta and using it only for some days. Didn't use previous versions, so can't say if this issue also appeared there.
Since I can't use the menu after this bug appears, I'm providing an error report immediately after I restarted Zotero, with the following ID: 270500684
After closing with ctrl+q in this situation, a zotero entry appears in Gnome's system monitor (type zotero and you should see it), that takes 0 memory and CPU, but can't be terminated or killed. So if you do the above-mentioned procedure (reloading Gnome and quitting Zotero) several times, you should see several of those entries in Gnome's system monitor.
This happens only when solely the main window is open (without another one, like the pdf reader) and the window must be focused when reloading Gnome. Else, reloading Gnome won't affect Zotero at all.
Can you reproduce that?
Where can I find this deb file? The Ubuntu repo doesn't offer such a file, nor is the Zotero homepage.
> another idea to check, when you start Zotero from command line, does it leave any error in the terminal?
Indeed! When typing "pathtozotero/Zotero/zotero" in the terminal, I get the following when the program is starting:
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
> did you install fresh ubuntu or update from earlier version?
Fresh Ubuntu installation with fresh Zotero installation (app source + config + data folder).
> i am just guessing, but it might be gnome related, can you install other desktop or check on Wayland if the behaviour is the same?
Installing another desktop is too cumbersome. Since in a Wayland session you can't reload Gnome with ALT+F2 with "r", it's not possible to reproduce this behaviour, but the terminal gives the same error, but this time it has only 3 lines:
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
There is a section "Debian/Ubuntu-based Distros" on that page, linking to the zotero-deb solution maintained by retorquere.
It produces an Ubuntu crash report. But the report shows that it is actually Gnome that has crashed: Tested with 7.0.0-beta.39+ecba25be0 (64-bit) on Ubuntu 23.04
Zotero 6.0.27 also does the same.
Thanks!
Installing Zotero 6 was a mess! Used this deb file: https://mirror.mwt.me/zotero/deb/zotero_6.0.27_amd64.deb taken from: https://github.com/retorquere/zotero-deb
Had to completely remove Zotero 7 Beta with all folders, because on my system I couldn't get both versions running at the same time.
So when starting Zotero 6.0.27 from the terminal, I get only:
(zotero:218556): Gtk-WARNING **: 21:36:48.799: Theme parsing error: :1:34: Expected ')' in color definition
(zotero:218556): Gtk-WARNING **: 21:36:48.799: Theme parsing error: :1:76: Expected ')' in color definition
And refreshing Gnome (alt+f2 then r) while the main window of Zotero 6 is opened does nothing to the app, so everything works fine in version 6.
Also tried Zotero 7 Beta with a completely new installation, fresh from the start, and I have the same terminal output:
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
And Zotero still freezes when refreshing Gnome while the main Zotero window is active.
> I cannot reproduce the original problem reported in this thread though.
Since it only happens occasionally, one or two times a day, I can't pinpoint what is triggering it.
Kernel 6.4.14
Hardware...
HP Slim Desktop 290
16G memory
AMD A-6-9225 Radeon R4, 5 Compute Cores
AMD Radeon R4 Graphics
See Beta packages:
I also have an AMD graphic card:
AMD Ryzen 5 3400G with AMD Radeon Vega 11 Graphics
Maybe that's the reason, because "mesa_glthread" from the error messages hints at an issue with the graphic card?
Surely there are others having this issue crop up. In my case it involves all menus, not just the right-click menus.
Fedora 38 / GNOME 44.4 / X11 / Linux 6.4.12 / Intel i7 / NVIDIA
Tried the stable version 6.0 and the beta version 7.0. Same behavior for both.
It only seems to happen after I drag a pdf into the Zotero window to add it to my library. I don't get any error messages (running the zotero executable from the commandline) and there are no error messages logged in the system.
If I restart Zotero, it works fine. But again, as soon as I drag something across the window and add it to the library, I can't access any menus. Neither the dropdowns, nor the right-click menus.