Bug 461150

Summary: Shift+PgUp and Shift+PgDn could be propagated when alternate buffer is enabled
Product: [Applications] konsole Reporter: magiblot
Component: keyboardAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 22.08.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description magiblot 2022-10-29 10:45:07 UTC
SUMMARY

In normal conditions, Shift+PgUp/Shift+PgDn allow traversing the scrollback buffer. However, when a client application enables the alternate screen buffer, scrollback is not available. In this situation, Shift+PgUp/Shift+PgDn keystrokes could be propagated to the client instead of being discarded by Konsole.

Alacritty, for instance, does this. When the alternate buffer is enabled, the client can receive KEY_SPREVIOUS and KEY_SNEXT events.

Thank you very much.
Comment 1 Bug Janitor Service 2022-12-14 01:34:17 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/konsole/-/merge_requests/785
Comment 2 ninjalj 2022-12-16 20:11:19 UTC
Git commit 939a30bd97b0f24fe94be098fe1abf7e205e17a7 by Luis Javier Merino Morán.
Committed on 14/12/2022 at 22:03.
Pushed by hindenburg into branch 'master'.

Propagate Shift+PgUp/PgDown in alternate screen

I cannot express this any better than magiblot at the linked bug report:

    In normal conditions, Shift+PgUp/Shift+PgDn allow traversing the
    scrollback buffer. However, when a client application enables the
    alternate screen buffer, scrollback is not available. In this
    situation, Shift+PgUp/Shift+PgDn keystrokes could be propagated to
    the client instead of being discarded by Konsole.

M  +3    -0    data/keyboard-layouts/default.keytab
M  +3    -0    data/keyboard-layouts/macos.keytab

https://invent.kde.org/utilities/konsole/commit/939a30bd97b0f24fe94be098fe1abf7e205e17a7
Comment 3 Kurt Hindenburg 2022-12-30 18:04:42 UTC
Git commit c5a1830f7631804cdf8235e779c9e1c1360546de by Kurt Hindenburg, on behalf of Luis Javier Merino Morán.
Committed on 30/12/2022 at 16:49.
Pushed by hindenburg into branch 'release/22.12'.

Propagate Shift+PgUp/PgDown in alternate screen

I cannot express this any better than magiblot at the linked bug report:

    In normal conditions, Shift+PgUp/Shift+PgDn allow traversing the
    scrollback buffer. However, when a client application enables the
    alternate screen buffer, scrollback is not available. In this
    situation, Shift+PgUp/Shift+PgDn keystrokes could be propagated to
    the client instead of being discarded by Konsole.

M  +3    -0    data/keyboard-layouts/default.keytab
M  +3    -0    data/keyboard-layouts/macos.keytab

https://invent.kde.org/utilities/konsole/commit/c5a1830f7631804cdf8235e779c9e1c1360546de