Skip to content

Improve zoomable user interface #1906

Closed

Description

@sfjohansson

Describe your feature request

The ability to zoom/adjust size of the document view area.

What problem does this feature solve? [optional]

Currently the app is working fine on a laptop screen, but unusable out of the box on my desktop with 4k screen. Resizing the window would leave the content just centered in the middle.
Being able to arbitrarily resize the view to adjust for ergonomics on any screen/viewing distance would greatly improve the usability across various screens.

Additional context [optional]

This could be implemented in multiple ways, a free pan/zoom canvas like a webpage would be most flexible. A more simple implementation could be to just have a multiplier for already defined text sizes.

Related to ergonomics... it would be good to be able to scroll beyond end of document/content, without manually adding empty spaces, in order to center the text one is currently writing.

Activity

  1. Jocs commented on Feb 16, 2020

    @Jocs
    Member

    The width of the editor can now be changed in the settings, will this solve your problem?

  2. sfjohansson commented on Feb 16, 2020

    @sfjohansson
    Author

    Awesome, thanks for looking at this so quickly.

    I've tested the new build and adjusting the document area width doesn't really help as the problem lies in the text size varying between different screens.

    Although I did find a solution through the newly exposed command palette, using the zoom option. A little clunky...but it can get the job done, hotkeys or perhaps slider, could would be more workable.

    Here are some screenshot, the first shows the case where it is pretty unreadable on the 32" 4k screens while being fine on the 24" FullHD.

    4k, 32" screen.
    4k_32_mark_text

    FullHD 24"
    Full_HD_24

    Latest build, wider view area:
    New Mark Text

    Latest Build Zoom through command palette
    zoom_mark_Test

  3. fxha commented on Feb 21, 2020

    @fxha
    Contributor

    @sfjohansson Our latest release candidate(s) contain an option under Window -> Zoom or via command palette (Ctrl+Shift+P) to adjust the DPI but it's not persistent and I think we don't have any settings entry for it.

  4. added
    🐤 blocked/need info
    on Feb 21, 2020
  5. sfjohansson commented on Mar 7, 2020

    @sfjohansson
    Author

    This is great...it's kind of fine not persisting if treated like zoom. In my case...I'm fine not zooming when it's the 1080p screens but need to zoom on 4k. Moving the window over to the other screen I need to zoom out again..so easy access feels important.

    The usability would increase even more if we can have the zoom step amount adjustable in preferences along with hotkeys/keycombo+mouse scroll wheel.

  6. fxha commented on Mar 17, 2020

    @fxha
    Contributor

    Moving the window over to the other screen I need to zoom out again..so easy access feels important.

    Dynamic DPI scaling is only supported on Windows (10) but is very bugged by Electron/Chromium.

    The usability would increase even more if we can have the zoom step amount adjustable in preferences along with hotkeys/keycombo+mouse scroll wheel.

    I think this would be a good idea and should be implemented on demand.

  7. added
    🦋 optimization
    and removed
    🐤 blocked/need info
    on Mar 17, 2020
  8. changed the title [-]Zoom In/Out[/-] [+]Improve zoomable user interface[/+] on Mar 17, 2020
  9. AlJohri commented on Apr 30, 2020

    @AlJohri

    Is there anyway to use Cmd +- or Ctrl +- to control the zoom? Or holding control and scrolling the mouse wheel?

  10. samuel-lucas6 commented on Dec 8, 2020

    @samuel-lucas6

    This is my biggest gripe with the program. It's a hassle having to keep adjusting the zoom every time the program is launched. Remembering the zoom, keyboard shortcuts, and only zooming in on the editing pane would all be incredibly helpful.

  11. geckolinux commented on Feb 11, 2021

    @geckolinux

    As a workaround, you can add this to your .desktop launcher file in Linux:
    --force-device-scale-factor=1.1 (or whatever scale factor you need)

  12. Bixilon commented on Oct 11, 2021

    @Bixilon

    imho the scale factor is not the thing I'd expect. It scales the whole interface. I just want to make the text bigger (aka. increasing the font size). Also a shortcut (like CTRL + +/-) would be pretty useful.

    Is there any progress on this? I need this for my everyday work.

  13. edo0 commented on Nov 27, 2021

    @edo0

    As a workaround, you can add this to your .desktop launcher file in Linux: --force-device-scale-factor=1.1 (or whatever scale factor you need)

    Thank you very much, that is a great workaround

  14. loyukfai commented on Nov 28, 2021

    @loyukfai

    Ditto

  15. lichever commented on Jan 5, 2022

    @lichever

    Are key shortcuts for zoom changes available now?

  16. fxha commented on Jan 6, 2022

    @fxha
    Contributor

    User-defined shortcuts and mouse zoom support is available in our next release but no persistence.

  17. lichever commented on Jan 7, 2022

    @lichever

    User-defined shortcuts and mouse zoom support is available in our next release but no persistence.

    sounds great. BTW, when I zoom in in the latest version, the index in the table of contents will not work any more. But if I change it back to the normal scale, it will work again.

  18. fxha commented on Jan 12, 2022

    @fxha
    Contributor

    This feature will be available in our next release.

    when I zoom in in the latest version, the index in the table of contents will not work any more.

    What do you mean by index? That the editor jumps to the wrong position, then is a fixed bug in v0.16.3.

  19. lichever commented on Jan 12, 2022

    @lichever

    I mean the heading in the table of contents.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions