Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mouse scroll wheel scrolls through shell history on newly opened widget #260

Open
apjanke opened this issue Mar 12, 2019 · 0 comments
Open
Labels

Comments

@apjanke
Copy link
Contributor

apjanke commented Mar 12, 2019

When I fire up a new QTerminal or QTermWidget example program, the mouse scroll wheel scrolls back and forth through my shell command history, instead of scrolling the screen contents, until I get some more text on the screen.

Expected Behavior

Scroll wheel always scrolls through terminal scrollback buffer. If there's no offscreen scrollback, moving scroll wheel does nothing.

Current Behavior

In a new window, moving the scroll wheel causes the shell in the term widget to scroll back through its command history.

If I do an ls -l or something else to get several lines of content into the terminal buffer, then moving the scroll wheel switches to scrolling the screen contents through the terminal scrollback buffer.

qtermwidget-mouse-scroll-history

Steps to Reproduce (for bugs)
  1. Launch QTermWidget example program
  2. Scroll mouse wheel upwards before you do anything else
Context

Doesn't break anything; it's just confusing.

System Information
  • Distribution & Version: macOS 10.14.3
  • Kernel: Darwin Kernel Version 18.2.0
  • Qt Version: 5.12.1
  • liblxqt Version: ???
  • Package version: head of master (commit 9ee754a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants