Skip to content

Make it possible to deactivate font size adjustment on Ctrl+Mouse/Touchpad scroll #527

@youurayy

Description

@youurayy

Expected Behavior

It should be possible to deactivate the font size adjustment which happens on Ctrl+Mouse or Touchpad scrolling.

Possibly by adding a new checkbox -or- a Command for it into Settings->Hotkeys->Mouse.

The issue is that it leads to accidental Font size adjustment, when the Ctrl button is pressed while the ConsoleZ is still scrolling vertically because of the scroll inertia.

(This is exacerbated even more when Touchpad is configured with a lower friction (Computer\HKEY_CURRENT_USER\Software\Microsoft\Wisp\Touch\Friction = 1 + reboot), which is a necessary Touchpad tweak on many Windows laptops.)

Additionally, when font size is changed by scrolling,

  • this new font size is not reflected in the Font Size in the Settings
  • it is not possible to reliably reset back to the desired font size in other way than restarting ConsoleZ

Actual Behavior

Font size is adjusted accidentally, and it's difficult to set it back to desired setting. Plus it destroys the layout in all open views/buffers.

Steps to reproduce

  1. Scroll a bigger (multi-page) buffer using a Touchpad, using the two-finger vertical scroll. Release the Touchpad and press Ctrl while the buffer is still being scrolled by inertia / momentum.
  2. The accidental trigger case is better reproduced on a laptop with a Touchpad, and even better when scroll inertia is activated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions