Skip to content

[Feature request] make EditorConsole.scrollDown() smart #10835

Open
@tobozo

Description

@tobozo

Summary : EditorConsole.scrollDown() creates a UX problem when the preference(s) Show verbose output during compilation/upload is/are enabled.

How to reproduce:

  • Choose a big sketch with many library depedencies that will produce enough compliation statements to trigger a console scroll.
  • Add a #warning somewhere in the code
  • Attempt to read the warning while it's compiling

Problem observed: It's impossible to lock the console scroll on a specific line while the IDE is compiling

Possible solution: temporarily neutralize auto scrolldown on user interaction with the console, eventually restore on scroll-end (native behaviour of linux console)

This feature request is about how to avoid fighting with the scrollbar whenever this occurs.

Proposed behaviour is to only affect the scrollDown behaviour during compilation and only when the Show verbose output during compilation/upload option is enabled.

It does not need to have have a persistent effect.

Possible UI triggers for disabling automatic scrolldown :

  • Focusing on the console
  • Mouse wheel / Touch swipe
  • Scrollbar interaction
  • First warning/error detected

Possible triggers for cancelling :

  • Scrolling down to the bottom
  • Pushing the "end" of "pgdown" key

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