mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 12:56:59 +00:00
[GH-ISSUE #3317] [FR] Use platform native shortcut for settings #1466
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#1466
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @intonarumori on GitHub (Sep 1, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/3317
Description
macOS uses
CMD + ,to display the application menu.Flutter provides shortcuts and
PlatfromMenuBarto integrate with the shortcuts and menu systems.Once you enable it the menu item will be active as well.
Impact
All users familiar with system wide macOS shortcuts.
Additional Context
No response
@PalaniappanC commented on GitHub (Oct 2, 2023):
Hi @annieappflowy Can you assign this issue to my name.
@Xazin commented on GitHub (Oct 2, 2023):
I've assigned you, let me know if you need any assistance 👍
@PalaniappanC commented on GitHub (Oct 5, 2023):
Hi @Xazin @annieappflowy @MayurSMahajan @intonarumori Hope this is not possible in the current version of PlatformMenuBar provided by flutter as it does not have an option to list all the current menu items of the host (the MainMenu.xib items present now).
Due to this when I implement the custom logic with PlatformMenuBar all the previous Menu Items like Edit, Windows everything goes away.
Flutter Issue Reference : https://github.com/flutter/flutter/issues/133039
Discord thread link : https://discord.com/channels/903549834160635914/1159056176143663144
@PalaniappanC commented on GitHub (Oct 6, 2023):
Hi @intonarumori we can't just assign the shortcut to settings using the PlatformMenuBar. We have to construct the entire mac os menu bar the appflowy has now. Shall I proceed with that
@intonarumori commented on GitHub (Oct 6, 2023):
@PalaniappanC Thanks for looking into this.
Please take a look at PlatformProvidedMenuItem to preserve some of the system provided items. You have to add them into your menu hierarchy and the library will make sure they will be added.
If something is still missing, then we probably have to file an issue on the Flutter Github repo.
I was even able to modify the native side to preserve the search functionality in the Help menu. There's an ongoing discussion about fixing that in Flutter here: https://github.com/flutter/flutter/issues/133039
And here's my experimental package demonstrating how it could be done: https://github.com/intonarumori/macos_menu
Let me know how it goes and I'm happy to assist.
Edit: And to answer your question, assembling the whole menubar is the way to go, with the above mentioned
PlatformProvidedMenuItemadded in places where the functionality should come from the system.@PalaniappanC commented on GitHub (Oct 7, 2023):
Sure @intonarumori. I can implement the whole menubar. But need some time hope its okay.
@annieappflowy commented on GitHub (Nov 5, 2023):
Would you like to work on this @PalaniappanC ?
@PalaniappanC commented on GitHub (Nov 5, 2023):
Hi @annieappflowy you can unassign me...
@annieappflowy commented on GitHub (Apr 1, 2024):
Supported cmd + , to open up Settings