rolia
June 8, 2021, 4:35am
1
Description of the issue:
After I create a shortcut of a website and try to open it (in /Users/user/Applications/Brave Browser Apps), it won’t open. The app’s name flashes in the macOS’s Menu Bar and disappears. It is obviously trying to open itself but then it crashes.
Examples: https://web.whatsapp.com/ , keep.google.com , etc
How can this issue be reproduced?
Open a website, go to Menu > More Tools > Create a Shortcut.
Give the shortcut a name, check “Open in a window”, click Create.
Folder “Brave Browser Apps” opens, your new Web.app is in it. Double-click on it, it won’t open.
Expected result:
Double-clicking the newly created shortcut should open the website.
Brave Version( check About Brave
):
Version 1.25.70 Chromium: 91.0.4472.77 (Official Build) (x86_64)
Additional Information:
The checkbox [open in new window does matter
I found two similar issues, but I cannot reproduce the solutions of the first one and the other doesn’t have any solutions =(
1 Like
Yes, my request (2nd link you posted) was closed due to inactivity. Dear brave team, I hope you like spam, because I will spam this thread to avoid auto-close. You might want to overthink the way you treat your users.
Pisses me off. I use nativefier to circumvent this issue, but this will not protect my privacy.
1 Like
@rolia ,
Thank you for reaching out and for providing a nicely detailed report.
So can you confirm for me that this happens for all sites? On my end, I just tested this on this site (community.brave.com ), (twitter.com ), reddit.com and Brave.com and they all worked without issue.
1 Like
rolia
June 13, 2021, 9:12am
4
Sorry for a timed answer
Yes, all the sites, i’ve made a video
1 Like
It happens on almost all sites for me. Note that we are on macOS and not Windows or Linux.
1 Like
@rolia ,
I’m wondering if there is an extension you have installed that is interfering with this process. Can you please try creating a new temporary browser profile and test to see if you get the same behavior? Please ensure that you close your original profile window, such that you only have one Brave window open, which is using the newly created profile.
1 Like
rolia
June 15, 2021, 3:25pm
8
No luck =(
Window still crashing
@rolia ,
It looks like we do actually have an issue open for this – I’ve added your thread to the Github issue and pinged some devs to see if we can get additional eyes on the issue:
opened 04:39PM - 04 Dec 19 UTC
OS/macOS
crash
feature/pwa
features/apps
priority/P2
## Description
When creating an 'app' on macOS 10.15.1 it immediately throws t… he following error:
```
2019-12-04 17:30:20.202 app_mode_loader[32295:1717699] -[NSAccessibilityRemoteUIElement accessibilityTitle]: unrecognized selector sent to instance 0x7fe76de4e7d0
2019-12-04 17:30:20.204 app_mode_loader[32295:1717699] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSAccessibilityRemoteUIElement accessibilityTitle]: unrecognized selector sent to instance 0x7fe76de4e7d0'
```
## Steps to Reproduce
1. Go to fastmail.com (or another site like community.brave.com)
2. Select More Tools > Create Shortcut and create the shortcut with 'Open as window' selected
3. Launch the shortcut
## Actual result:
Briefly shows website in separate window, crashes right after. Shows the error above. Full error when launching `app_mode_loader` separately:
```
objc[32404]: Class BaseView is implemented in both /Users/mdbraber/Applications/Brave Browser Apps.localized/Fastmail.app/Fastmail.app/Contents/MacOS/./app_mode_loader (0x10c083a98) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/78.1.0.1/Brave Browser Framework (0x11c472cf8). One of the two will be used. Which one is undefined.
objc[32404]: Class CommandDispatcher is implemented in both /Users/mdbraber/Applications/Brave Browser Apps.localized/Fastmail.app/Fastmail.app/Contents/MacOS/./app_mode_loader (0x10c083ae8) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/78.1.0.1/Brave Browser Framework (0x11c472d48). One of the two will be used. Which one is undefined.
objc[32404]: Class ConstrainedWindowAnimationBase is implemented in both /Users/mdbraber/Applications/Brave Browser Apps.localized/Fastmail.app/Fastmail.app/Contents/MacOS/./app_mode_loader (0x10c083b38) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/78.1.0.1/Brave Browser Framework (0x11c472d98). One of the two will be used. Which one is undefined.
objc[32404]: Class ConstrainedWindowAnimationShow is implemented in both /Users/mdbraber/Applications/Brave Browser Apps.localized/Fastmail.app/Fastmail.app/Contents/MacOS/./app_mode_loader (0x10c083bb0) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/78.1.0.1/Brave Browser Framework (0x11c472e10). One of the two will be used. Which one is undefined.
objc[32404]: Class ConstrainedWindowAnimationHide is implemented in both /Users/mdbraber/Applications/Brave Browser Apps.localized/Fastmail.app/Fastmail.app/Contents/MacOS/./app_mode_loader (0x10c083c00) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/78.1.0.1/Brave Browser Framework (0x11c472e60). One of the two will be used. Which one is undefined.
objc[32404]: Class ConstrainedWindowAnimationPulse is implemented in both /Users/mdbraber/Applications/Brave Browser Apps.localized/Fastmail.app/Fastmail.app/Contents/MacOS/./app_mode_loader (0x10c083c50) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/78.1.0.1/Brave Browser Framework (0x11c472eb0). One of the two will be used. Which one is undefined.
objc[32404]: Class ButtonUtils is implemented in both /Users/mdbraber/Applications/Brave Browser Apps.localized/Fastmail.app/Fastmail.app/Contents/MacOS/./app_mode_loader (0x10c083ca0) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/78.1.0.1/Brave Browser Framework (0x11c472f00). One of the two will be used. Which one is undefined.
objc[32404]: Class TextFieldUtils is implemented in both /Users/mdbraber/Applications/Brave Browser Apps.localized/Fastmail.app/Fastmail.app/Contents/MacOS/./app_mode_loader (0x10c083cf0) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/78.1.0.1/Brave Browser Framework (0x11c472f50). One of the two will be used. Which one is undefined.
objc[32404]: Class FindPasteboard is implemented in both /Users/mdbraber/Applications/Brave Browser Apps.localized/Fastmail.app/Fastmail.app/Contents/MacOS/./app_mode_loader (0x10c083d18) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/78.1.0.1/Brave Browser Framework (0x11c472f78). One of the two will be used. Which one is undefined.
objc[32404]: Class FlippedView is implemented in both /Users/mdbraber/Applications/Brave Browser Apps.localized/Fastmail.app/Fastmail.app/Contents/MacOS/./app_mode_loader (0x10c083d90) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/78.1.0.1/Brave Browser Framework (0x11c472ff0). One of the two will be used. Which one is undefined.
objc[32404]: Class FocusTracker is implemented in both /Users/mdbraber/Applications/Brave Browser Apps.localized/Fastmail.app/Fastmail.app/Contents/MacOS/./app_mode_loader (0x10c083db8) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/78.1.0.1/Brave Browser Framework (0x11c473018). One of the two will be used. Which one is undefined.
objc[32404]: Class MenuControllerCocoa is implemented in both /Users/mdbraber/Applications/Brave Browser Apps.localized/Fastmail.app/Fastmail.app/Contents/MacOS/./app_mode_loader (0x10c083e08) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/78.1.0.1/Brave Browser Framework (0x11c473068). One of the two will be used. Which one is undefined.
objc[32404]: Class ResponsiveNSMenuItem is implemented in both /Users/mdbraber/Applications/Brave Browser Apps.localized/Fastmail.app/Fastmail.app/Contents/MacOS/./app_mode_loader (0x10c083e30) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/78.1.0.1/Brave Browser Framework (0x11c473090). One of the two will be used. Which one is undefined.
objc[32404]: Class ToolTipBaseView is implemented in both /Users/mdbraber/Applications/Brave Browser Apps.localized/Fastmail.app/Fastmail.app/Contents/MacOS/./app_mode_loader (0x10c083ea8) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/78.1.0.1/Brave Browser Framework (0x11c473108). One of the two will be used. Which one is undefined.
objc[32404]: Class CrTrackingAreaOwnerProxy is implemented in both /Users/mdbraber/Applications/Brave Browser Apps.localized/Fastmail.app/Fastmail.app/Contents/MacOS/./app_mode_loader (0x10c083ef8) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/78.1.0.1/Brave Browser Framework (0x11c473158). One of the two will be used. Which one is undefined.
objc[32404]: Class CrTrackingArea is implemented in both /Users/mdbraber/Applications/Brave Browser Apps.localized/Fastmail.app/Fastmail.app/Contents/MacOS/./app_mode_loader (0x10c083f48) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/78.1.0.1/Brave Browser Framework (0x11c4731a8). One of the two will be used. Which one is undefined.
objc[32404]: Class UnderlayOpenGLHostingWindow is implemented in both /Users/mdbraber/Applications/Brave Browser Apps.localized/Fastmail.app/Fastmail.app/Contents/MacOS/./app_mode_loader (0x10c083f98) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/78.1.0.1/Brave Browser Framework (0x11c4731f8). One of the two will be used. Which one is undefined.
objc[32404]: Class WeakPtrNSObject is implemented in both /Users/mdbraber/Applications/Brave Browser Apps.localized/Fastmail.app/Fastmail.app/Contents/MacOS/./app_mode_loader (0x10c084010) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/78.1.0.1/Brave Browser Framework (0x11c473270). One of the two will be used. Which one is undefined.
objc[32404]: Class CrPasteboardItemWrapper is implemented in both /Users/mdbraber/Applications/Brave Browser Apps.localized/Fastmail.app/Fastmail.app/Contents/MacOS/./app_mode_loader (0x10c084038) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/78.1.0.1/Brave Browser Framework (0x11c473298). One of the two will be used. Which one is undefined.
objc[32404]: Class NowPlayingInfoCenterDelegateCocoa is implemented in both /Users/mdbraber/Applications/Brave Browser Apps.localized/Fastmail.app/Fastmail.app/Contents/MacOS/./app_mode_loader (0x10c084088) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/78.1.0.1/Brave Browser Framework (0x11c4732e8). One of the two will be used. Which one is undefined.
objc[32404]: Class RemoteCommandCenterDelegateNS is implemented in both /Users/mdbraber/Applications/Brave Browser Apps.localized/Fastmail.app/Fastmail.app/Contents/MacOS/./app_mode_loader (0x10c0840d8) and /Applications/Brave Browser.app/Contents/Frameworks/Brave Browser Framework.framework/Versions/78.1.0.1/Brave Browser Framework (0x11c473338). One of the two will be used. Which one is undefined.
2019-12-04 17:37:53.041 app_mode_loader[32404:1724145] -[NSAccessibilityRemoteUIElement accessibilityTitle]: unrecognized selector sent to instance 0x7fedc9825aa0
2019-12-04 17:37:53.043 app_mode_loader[32404:1724145] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSAccessibilityRemoteUIElement accessibilityTitle]: unrecognized selector sent to instance 0x7fedc9825aa0'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff2fdd2f53 __exceptionPreprocess + 250
1 libobjc.A.dylib 0x00007fff65e98835 objc_exception_throw + 48
2 CoreFoundation 0x00007fff2fe5d106 -[NSObject(NSObject) __retain_OA] + 0
3 CoreFoundation 0x00007fff2fd796cb ___forwarding___ + 1427
4 CoreFoundation 0x00007fff2fd790a8 _CF_forwarding_prep_0 + 120
5 Brave Browser Framework 0x000000011842c9b1 ChromeMain + 78342513
6 AppKit 0x00007fff2cff58e2 -[NSAccessibilityAttributeAccessorInfo getAttributeValue:forObject:] + 58
7 AppKit 0x00007fff2d57ef02 ___NSAccessibilityEntryPointValueForAttribute_block_invoke.805.llvm.7288867694539378565 + 1674
8 AppKit 0x00007fff2d57ac29 NSAccessibilityPerformEntryPointObject.llvm.7288867694539378565 + 16
9 AppKit 0x00007fff2d57ad6a _NSAccessibilityEntryPointValueForAttribute.llvm.7288867694539378565 + 168
10 AppKit 0x00007fff2d36c59a -[NSObject(NSAccessibilityInternal) _accessibilityValueForAttribute:clientError:] + 351
11 AppKit 0x00007fff2d371736 CopyAppKitUIElementAttributeValueNoCatch + 98
12 AppKit 0x00007fff2d36e619 CopyAttributeValue + 142
13 HIServices 0x00007fff2dfb0b9d _AXXMIGCopyAttributeValue + 389
14 HIServices 0x00007fff2dfd252b _XCopyAttributeValue + 443
15 HIServices 0x00007fff2df90553 mshMIGPerform + 205
16 CoreFoundation 0x00007fff2fd39d9f __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41
17 CoreFoundation 0x00007fff2fd39cef __CFRunLoopDoSource1 + 541
18 CoreFoundation 0x00007fff2fd21c9c __CFRunLoopRun + 2612
19 CoreFoundation 0x00007fff2fd20fe3 CFRunLoopRunSpecific + 499
20 HIToolbox 0x00007fff2e8a867d RunCurrentEventLoopInMode + 292
21 HIToolbox 0x00007fff2e8a83bd ReceiveNextEventCommon + 600
22 HIToolbox 0x00007fff2e8a8147 _BlockUntilNextEventMatchingListInModeWithFilter + 64
23 AppKit 0x00007fff2cf2d864 _DPSNextEvent + 990
24 AppKit 0x00007fff2cf2c5d4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
25 AppKit 0x00007fff2cf26d76 -[NSApplication run] + 658
26 Brave Browser Framework 0x000000011687e5bc ChromeMain + 49317244
27 Brave Browser Framework 0x000000011687d0e8 ChromeMain + 49311912
28 Brave Browser Framework 0x00000001168cf408 ChromeMain + 49648584
29 Brave Browser Framework 0x00000001168a3137 ChromeMain + 49467639
30 Brave Browser Framework 0x0000000113975cae ChromeAppModeStart_v6 + 2094
31 app_mode_loader 0x000000010bb9d8d1 main + 2449
32 app_mode_loader 0x000000010bb9cf5b main + 27
33 libdyld.dylib 0x00007fff671fb2e5 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
[1204/173753.182120:WARNING:system_snapshot_mac.cc(42)] sysctlbyname kern.nx: No such file or directory (2)
```
## Expected result:
Display a separate window with the specific website and not crash ;-)
## Reproduces how often:
Always reproducible
## Brave version (brave://version info)
Brave | 1.0.1 Chromium: 78.0.3904.108 (Official Build) (64-bit)
-- | --
Revision | 4b26898a39ee037623a72fcfb77279fce0e7d648-refs/branch-heads/3904@{#889}
OS | macOS Version 10.15.1 (Build 19B88)
JavaScript | V8 7.8.279.23
Flash | (Disabled)
User Agent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
Command Line | /Applications/Brave Browser.app/Contents/MacOS/Brave Browser --enable-dom-distiller --disable-domain-reliability --no-pings --extension-content-verification=enforce_strict --extensions-install-verification=enforce --enable-oop-rasterization=Enabled --sync-url=https://no-thanks.invalid --enable-features=NewExtensionUpdaterService,PasswordImport,WebUIDarkMode,SimplifyHttpsIndicator --disable-features=SmsReceiver,AudioServiceOutOfProcess,NotificationTriggers,AutofillServerCommunication,LookalikeUrlNavigationSuggestionsUI,UnifiedConsent,SyncUSSBookmarks --flag-switches-begin --flag-switches-end
Executable Path | /Applications/Brave Browser.app/Contents/MacOS/Brave Browser
Profile Path | /Users/mdbraber/Library/Application Support/BraveSoftware/Brave-Browser/Default
## Version/Channel Information:
- Can you reproduce this issue with the current release?
Yes
- Can you reproduce this issue with the beta channel?
Yes
- Can you reproduce this issue with the dev channel?
Did not try
- Can you reproduce this issue with the nightly channel?
Did not try
## Other Additional Information:
- Does the issue resolve itself when disabling Brave Shields?
No
- Does the issue resolve itself when disabling Brave Rewards?
No
- Is the issue reproducible on the latest version of Chrome?
No - tried latest version of Chromium (Version 77.0.3865.90 (Official Build) (64-bit)) and this works fine
## Similar reports
This issue has already been reported in the community forums thrice by others:
- https://community.brave.com/t/brave-browser-beta-apps-app-mode-launcher-throws-nsinvalidargumentexception-instantly-on-latest-macos-catalina-beta/77034
- https://community.brave.com/t/drag-problem-with-website-shortcuts-as-app/83316
- https://community.brave.com/t/brave-browser-apps-fail-to-open/128797/2
2 Likes
rolia
June 17, 2021, 11:33am
10
Great! Now if I close BetterTouchTool everything works! Thanks
As far as I understood no chance to use BTT with Brave Shortcuts at the same time?!
1 Like
rolia
June 24, 2021, 4:41pm
11
have you seen the solution below? Is it good for you?
using BTT here, so that’s probably it, but I require it. Chrome window shortcut apps work without problems, so this should be fixed for sure.
system
Closed
August 5, 2021, 3:23am
13
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.