Comments (6)
I came up with a better form of interaction.
- If the app is still in the dock there are two ways to hide it:
- Triggered by the menu item
Menu -> Preferences -> Hide Dock Icon
- triggered by a right-click event on the system tray icon
- Triggered by the menu item
- When it needs to be in the dock there is only one way: it can only be restored by a right-click event on the system tray icon
Simply put, a right-click on the system tray icon is a two-way event (show ⇋ hide
)
from chatgpt.
This is possible, but once implemented, both dock
and menu
will disappear (shortcuts will still be available, but without menus as hints, it will be difficult for users to remember them). If the menu is placed on the system tray, they would be stacked on top of each other, it will affect the user experience. I haven't thought of a good form of interaction yet.
#[cfg(target_os = "macos")]
app.set_activation_policy(tauri::ActivationPolicy::Prohibited);
from chatgpt.
If a system tray right-click menu is required, it would be a simple version of:
- Control Center
- Show Dock icon
- Quit
Control Center
is important and I am implementing exciting features for it.
from chatgpt.
This is great! Some other macOS menubar apps I have that have the option to 'disable the dock icon and app switcher', seem to follow the pattern of:
- are you sure you want this mode? restart is required (ok)
- menu item left-click to toggle window
- menu item right-click to get app menu
from chatgpt.
Thanks @lencx !
from chatgpt.
You can check out readme, which also adds more exciting features, but was released in a bit of a hurry and is not yet fully adapted in the system tray.
from chatgpt.
Related Issues (20)
- [Bug]
- [Bug] Can't login using Google. HOT 1
- uninstall
- [Security]
- [Bug] Can't pass the auth.openai.com HOT 7
- App does not open HOT 1
- [Bug] Ubuntu 24.04 deb incompatibility | libwebkit2gtk-4.0-37 HOT 2
- [Bug] Markdown export no longer works HOT 3
- [Feauture] SVG Code Generation Capability for ChatGPT
- Chats does not open
- ChatGPT 3.5 malfunctioning HOT 2
- Complete Output is not getting
- App response to queries is halted and incomplete HOT 1
- every time wrong information is provided
- [Bug] Zoom in / out menu and hotkey options in Linux / KDE do not change font size HOT 10
- 可惜不支持本地模型权重
- [Bug] Zoom In and Out no longer works. HOT 5
- [Bug] Cannot move app screen around HOT 10
- [Bug] System Tray "Show Window" does not work in KDE on Linux
- [Bug] HOT 1
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 chatgpt.