-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Lock All" option is showing even with all the vaults being locked #3472
Comments
Actually it wasn't going away but greyed out, when none of the vaults was unlocked. I can confirm this issue since the change from AWT to libappindicator on Linux. |
This can be fixed here: https://github.com/cryptomator/integrations-linux/blob/7b725185805d74e993cd73d2089325269c726a75/src/main/java/org/cryptomator/linux/tray/AppindicatorTrayMenuController.java#L96-L106 switch (item) {
case ActionItem a -> {
var gtkMenuItem = Gtk.newMenuItem();
Gtk.menuItemSetLabel(gtkMenuItem, a.title());
GObject.signalConnectObject(gtkMenuItem,
"activate",
GCallback.allocate(new ActionItemCallback(a), ARENA),
menu,
0);
Gtk.menuShellAppend(menu, gtkMenuItem);
} by adding: switch (item) {
case ActionItem a -> {
var gtkMenuItem = Gtk.newMenuItem();
Gtk.menuItemSetLabel(gtkMenuItem, a.title());
GObject.signalConnectObject(gtkMenuItem,
"activate",
GCallback.allocate(new ActionItemCallback(a), ARENA),
menu,
0);
if (a.enabled()) {
gtk_widget_set_sensitive(gtkMenuItem, 1);
} else {
gtk_widget_set_sensitive(gtkMenuItem, 0);
}
Gtk.menuShellAppend(menu, gtkMenuItem);
} which is already available in I'll add it there as a nice function, taking a |
@purejava any reason the fix is not merged into the code itself? |
Yes. Cryptomator uses the I need to re-generate the |
Requires a new release of https://github.com/cryptomator/integrations-linux |
Fixed with commit fb4f9fc |
Please agree to the following
Summary
"Lock All" option is showing even with all the vaults being locked
What software is involved?
Volume Type
None
Steps to Reproduce
Expected Behavior
the
Lock All
option going away when none of the vaults are unlocked, which is what was happening in previous versions.Actual Behavior
Reproducibility
Always
Relevant Log Output
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: