-
Notifications
You must be signed in to change notification settings - Fork 398
cmd + w doesn't close the window on macOS #714
Comments
Hi, just wanted to point that this works in Catalina 10.15.7 and BitWarden Version 1.24.6 (515) - installed it through |
Hi, I'm on Catalina 10.15.7 and cmd+w does not work for me. |
I commented on a duplicate issue #802 (comment) that there is an implemented behavior difference between DMG (via Brew/homepage) and MAS versions. Images showing difference in menu options copied from that post:
The fix may be simply removing the MAS-check, but I am not sure if there is an easy way to locally build/test the MAS version. diff --git a/src/electron/baseMenu.ts b/src/electron/baseMenu.ts
index de08e4d..2523e63 100644
--- a/src/electron/baseMenu.ts
+++ b/src/electron/baseMenu.ts
@@ -9,8 +9,6 @@ import {
import { I18nService } from '../abstractions/i18n.service';
import { WindowMain } from './window.main';
-import { isMacAppStore } from './utils';
-
export class BaseMenu {
protected editMenuItemOptions: MenuItemConstructorOptions;
protected viewSubMenuItemOptions: MenuItemConstructorOptions[];
@@ -143,7 +141,7 @@ export class BaseMenu {
},
{
label: this.i18nService.t('close'),
- role: isMacAppStore() ? 'quit' : 'close',
+ role: 'close',
},
];
} |
Okay, so funny story @cho-m , that change was implemented back then because Apple originally rejected the app from the app store because it used the Either way, we can change it and we're open to it being change back to remove the conditional and just leave it as |
quick question - has it been already taken care of? Or you require PR to move it forward? I have tried no MAS version and it supports both ⌘Q for application and ⌘W for window so based on @cscharf description it seems like some Apple approver mistake indeed. |
It requires a PR, either from the community or when one of our engineers has an opportunity to do so. |
ta. Will try to create one over Easter then. It is small but annoying bug on macOS. |
cmd + w doesn't close the window on macOS. Based on @cscharf explanation - bitwarden/desktop#714 (comment) - it seems that issue was introduced in response to erroneous Apple Store approver request. The code change reversed this change.
cmd + w doesn't close the window on macOS. Based on @cscharf explanation - bitwarden/desktop#714 (comment) - it seems that issue was introduced in response to erroneous Apple Store approver request. The code change reversed this change.
Describe the Bug
cmd + w doesn't close the window on macOS
Steps To Reproduce
Expected Result
The window should close but the application should not quit
Actual Result
No effect
Screenshots or Videos
Environment
Additional Context
Appears to have started since adding new settings options in relation to #419
The text was updated successfully, but these errors were encountered: