Comments (6)
@KELiON it's easy:
- Invoke Cerebro window
- Press Cmd+W (I'm on Mac)
- Invoke Cerebro window again
Uncaught Exception:
Error: Object has been destroyed
at Error (native)
at exports.default.appWindow (/Applications/Cerebro.app/Contents/Resources/app.asar/webpack:/app/main/createWindow/toggleWindow.js:6:17)
at click (/Applications/Cerebro.app/Contents/Resources/app.asar/webpack:/app/main/createWindow/AppTray.js:41:22)
at MenuItem.click (/Applications/Cerebro.app/Contents/Resources/electron.asar/browser/api/menu-item.js:52:9)
at Function.executeCommand (/Applications/Cerebro.app/Contents/Resources/electron.asar/browser/api/menu.js:121:15
Still happens on 0.2.6
from cerebro.
@KELiON @maximbaz these guys here https://github.com/tinytacoteam/zazu are using a different approach and their app's search bar doesn't have this issue, it is getting closed only by pressing Esc
or clicking outside the window. In their case alt + f4
is closing the app itself (not only the search bar), I think that's how it should be for Cerebro, this approach will resolve the problem with referencing a destroyed object and raising this exception. What do you think of that guys?
from cerebro.
@benone do you have any steps to reproduce it?
from cerebro.
@vandamm thanks! Going to fix it in next release. Btw, what do you expect when you use cmd+w
on mac – that you close an app and have to start it again, or you just close the window and can toggle it again with hotkey?
from cerebro.
@AlexAlabyev can you please answer my previous question? I'm not sure what is better way to do on windows
from cerebro.
@KELiON sorry, what is the question are you referring to? Are you asking whether or not I can open the search bar after triggering the error on Windows? If that's what you meant, the answer is no, I have to close the cerebro app and restart it every time this error pops up.
(The error can be triggered by alt + f4
while search bar is opened)
Do you think this function might resolve the problem?:
it has been mentioned here: jprichardson/electron-window#5 (comment)
from cerebro.
Related Issues (20)
- Record Screen Permission? Losing Focus on Enter? No working file or app search? HOT 2
- Provide more user clues when config.json is broken and Cerebro does not start HOT 3
- Customize fonts
- Where can I donate? HOT 2
- Favorites and Recent lists HOT 1
- Can't uninstall failed plugin HOT 6
- React.createContext is not a function HOT 4
- Implement OpenAI ChatGPT HOT 1
- cerebro on i3 doesn't work just opens then closes HOT 4
- Pasting from clipboard into Cerebro Search box not working on MacOS HOT 1
- Cerebro does not run on KDE Plasma HOT 12
- [Discussion] Is this project abandoned already? HOT 5
- Module parse failed: Unexpected character '�' (1:0) HOT 1
- Debian repository HOT 1
- Cerebro should respect macOS spaces HOT 3
- `libva` error in VirtualBox HOT 1
- any options to customize the default text appearing on cerebro toggle
- add a shortcut?
- It is not possible to change the hotkey in Mint HOT 1
- Installing on an immutable OS (Fedora Silverblue)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cerebro.