[GH-ISSUE #1638] [FR] Support command + / - #623

Closed
opened 2026-03-23 20:38:50 +00:00 by mirror · 11 comments
Owner

Originally created by @annieappflowy on GitHub (Jan 3, 2023).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/1638

Description

The large sized font option is excellent. I would like to suggest a function like "Ctrl" + "+" and "Ctrl" + scrolling then the UI would zoom in including all text, just like obsidian.
https://github.com/AppFlowy-IO/AppFlowy/discussions/665

Impact

Users who want to adjust the font size to meet their needs

Additional Context

No response

Originally created by @annieappflowy on GitHub (Jan 3, 2023). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/1638 ### Description The large sized font option is excellent. I would like to suggest a function like "Ctrl" + "+" and "Ctrl" + scrolling then the UI would zoom in including all text, just like obsidian. https://github.com/AppFlowy-IO/AppFlowy/discussions/665 ### Impact Users who want to adjust the font size to meet their needs ### Additional Context _No response_
mirror 2026-03-23 20:38:50 +00:00
Author
Owner

@richardshiue commented on GitHub (Jan 3, 2023):

I second this. Just making sure, this would zoom the entire app, not just the editor right?

<!-- gh-comment-id:1369445970 --> @richardshiue commented on GitHub (Jan 3, 2023): I second this. Just making sure, this would zoom the entire app, not just the editor right?
Author
Owner

@annieappflowy commented on GitHub (Jan 3, 2023):

Supporting zooming in / out the entire app not just the main editor. Thanks for clarifying!

<!-- gh-comment-id:1369669123 --> @annieappflowy commented on GitHub (Jan 3, 2023): Supporting zooming in / out the entire app not just the main editor. Thanks for clarifying!
Author
Owner

@Erik0806 commented on GitHub (Jan 9, 2023):

Pressing Ctrl + scrolling should have the same effect

<!-- gh-comment-id:1375349846 --> @Erik0806 commented on GitHub (Jan 9, 2023): Pressing Ctrl + scrolling should have the same effect
Author
Owner

@henri9813 commented on GitHub (Apr 21, 2024):

Hello,

The shortcuts should be:

  • CTRL + / - for windows
  • CMD + / - For macOS :)

Thanks !

<!-- gh-comment-id:2068029160 --> @henri9813 commented on GitHub (Apr 21, 2024): Hello, The shortcuts should be: - CTRL + / - for windows - CMD + / - For macOS :) Thanks !
Author
Owner

@md-weber commented on GitHub (Jun 1, 2024):

There seems to be a small issue on macOS (M2): German Keyboard layout. I can zoom out, but not in anymore.
Related to PR: https://github.com/AppFlowy-IO/AppFlowy/pull/5300

Found the issue, we use the wrong command for zooming in https://github.com/AppFlowy-IO/AppFlowy/pull/5300/files#r1623210260

It should be KeyCode.add not KeyCode.equal

<!-- gh-comment-id:2143417927 --> @md-weber commented on GitHub (Jun 1, 2024): There seems to be a small issue on macOS (M2): German Keyboard layout. I can zoom out, but not in anymore. Related to PR: https://github.com/AppFlowy-IO/AppFlowy/pull/5300 Found the issue, we use the wrong command for zooming in https://github.com/AppFlowy-IO/AppFlowy/pull/5300/files#r1623210260 It should be `KeyCode.add` not `KeyCode.equal`
Author
Owner

@henri9813 commented on GitHub (Jun 1, 2024):

Hello,

Sorry but I have an Averty keyboard

Neither CMD + = ( for zoom in ) nor CMD + - ( for zoom out ) works.

<!-- gh-comment-id:2143430324 --> @henri9813 commented on GitHub (Jun 1, 2024): Hello, Sorry but I have an Averty keyboard Neither CMD + = ( for zoom in ) nor CMD + - ( for zoom out ) works.
Author
Owner

@Xazin commented on GitHub (Jun 1, 2024):

I made a small flutter app so we could see what Flutter is interpreting your keystrokes as.

If some of you could please run this app https://dartpad.dev/?id=03d24ac601bc2311e18bc220dc542e17 and then follow this video to record your keystrokes related to zoom, it might shed some light on what is going wrong. Share your results in this thread and I'll be able to take a look 👍

https://github.com/AppFlowy-IO/AppFlowy/assets/42929161/5703107c-2dfb-4ade-8889-e07d9537032b

Notice if you want to show what your combined keystrokes is, eg. CTRL + -, you should hold CTRL down before pressing on record followed by your desired secondary key. That is what I do in the last example, where I hold Shift and press on 0, which logically means = on my keyboard.

<!-- gh-comment-id:2143511466 --> @Xazin commented on GitHub (Jun 1, 2024): I made a small flutter app so we could see what Flutter is interpreting your keystrokes as. If some of you could please run this app https://dartpad.dev/?id=03d24ac601bc2311e18bc220dc542e17 and then follow this video to record your keystrokes related to zoom, it might shed some light on what is going wrong. Share your results in this thread and I'll be able to take a look :+1: https://github.com/AppFlowy-IO/AppFlowy/assets/42929161/5703107c-2dfb-4ade-8889-e07d9537032b Notice if you want to show what your combined keystrokes is, eg. `CTRL + -`, you should hold `CTRL` down before pressing on `record` followed by your desired secondary key. That is what I do in the last example, where I hold Shift and press on 0, which logically means `=` on my keyboard.
Author
Owner

@md-weber commented on GitHub (Jun 1, 2024):

@Xazin Thanks for sharing that example. It did not work with both keys together to record, because my browser zoomed in.

image

I also tested it with an English keyboard layout and used Meta left + = and it zoomed in. Sadly on a German Keyboard layout you have the problem that the '=' sign is a combination of Shift + 0 = '='. Therefore it cannot be recognized.

I would recommend adding support to change the keybindings in the settings.

<!-- gh-comment-id:2143554290 --> @md-weber commented on GitHub (Jun 1, 2024): @Xazin Thanks for sharing that example. It did not work with both keys together to record, because my browser zoomed in. ![image](https://github.com/AppFlowy-IO/AppFlowy/assets/8026644/9375bf50-f8ec-463b-9f18-1f5e4481858e) I also tested it with an English keyboard layout and used Meta left + = and it zoomed in. Sadly on a German Keyboard layout you have the problem that the '=' sign is a combination of Shift + 0 = '='. Therefore it cannot be recognized. I would recommend adding support to change the keybindings in the settings.
Author
Owner

@Xazin commented on GitHub (Jun 1, 2024):

@Xazin Thanks for sharing that example. It did not work with both keys together to record, because my browser zoomed in.

image

I also tested it with an English keyboard layout and used Meta left + = and it zoomed in. Sadly on a German Keyboard layout you have the problem that the '=' sign is a combination of Shift + 0 = '='. Therefore it cannot be recognized.

I would recommend adding support to change the keybindings in the settings.

Thanks for sharing, I'll try to squeeze in the change to support changing the keybindings for application-wide hotkeys in the next release 🙏 (Notice, release 0.6.0 and not the one on monday 0.5.9)

<!-- gh-comment-id:2143561385 --> @Xazin commented on GitHub (Jun 1, 2024): > @Xazin Thanks for sharing that example. It did not work with both keys together to record, because my browser zoomed in. > > ![image](https://private-user-images.githubusercontent.com/8026644/335823116-9375bf50-f8ec-463b-9f18-1f5e4481858e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTcyNzA5NDksIm5iZiI6MTcxNzI3MDY0OSwicGF0aCI6Ii84MDI2NjQ0LzMzNTgyMzExNi05Mzc1YmY1MC1mOGVjLTQ2M2ItOWYxOC0xZjVlNDQ4MTg1OGUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYwMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MDFUMTkzNzI5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OTQ1MjU5NjAyNmE5NjZiMzE0ZWQ2ZjhjNTNlNWI5Y2QwZmIwOTEzMzViMDhmYmRhYWQ5MjNmYzIzNjMzYThiOSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.bYJ-BRxLQYyzwYPSjwc2Z_hYLqcDmlg1CTN8X7Cg1bE) > > I also tested it with an English keyboard layout and used Meta left + = and it zoomed in. Sadly on a German Keyboard layout you have the problem that the '=' sign is a combination of Shift + 0 = '='. Therefore it cannot be recognized. > > I would recommend adding support to change the keybindings in the settings. Thanks for sharing, I'll try to squeeze in the change to support changing the keybindings for application-wide hotkeys in the next release :pray: _(Notice, release 0.6.0 and not the one on monday 0.5.9)_
Author
Owner

@md-weber commented on GitHub (Jun 2, 2024):

Thanks @Xazin, I would also look into, but still have the issue with Architecture problems. Maybe if you have a minute it would be great if you have a minute to read my message in discord :), maybe you have an idea.

<!-- gh-comment-id:2143900223 --> @md-weber commented on GitHub (Jun 2, 2024): Thanks @Xazin, I would also look into, but still have the issue with Architecture problems. Maybe if you have a minute it would be great if you have a minute to read my message in discord :), maybe you have an idea.
Author
Owner

@annieappflowy commented on GitHub (Jun 21, 2024):

Consider this feature is supported.
I created another issue to track @md-weber reported bugs #5601

<!-- gh-comment-id:2182842171 --> @annieappflowy commented on GitHub (Jun 21, 2024): Consider this feature is supported. I created another issue to track @md-weber reported bugs #5601
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#623
No description provided.