Skip to content

When titlebar is hidden and with padding, dragging the title bar scrolls the terminal #6143

@bric3

Description

@bric3

Describe the bug
A clear and concise description of what the bug is. I believe the mouse events should not trigger when in the padding area.

To Reproduce
Steps to reproduce the behavior:

  1. set hide_window_decorations titlebar-only
  2. set window_padding_width 28 5 5
  3. have a long enough scrollback history (like multiple ls -la)
  4. use the mouse to drag the terminal from the titlebar "placeholder"
  5. Notice scrolling is initiated.

Screenshots

Screen.Recording.2023-03-29.at.12.49.31.mov

Environment details

        color214                           #fabd2f   
        color223                           #ebdbb2   
        color228                           #f2e5bc   
        color229                           #fbf1c7   
        color230                           #f9f5d7   
        color234                           #1d2021   
        color235                           #282828   
        color236                           #32302f   
        color237                           #3c3836   
        color239                           #504945   
        color24                            #076678   
        color241                           #665c54   
        color243                           #7c6f64   
        color244                           #928374   
        color245                           #928374   
        color246                           #a89984   
        color248                           #bdae93   
        color250                           #d5c4a1   
        color3                             #d79921   
        color4                             #458588   
        color5                             #b16286   
        color6                             #689d6a   
        color66                            #427b58   
        color7                             #a89984   
        color8                             #928374   
        color88                            #9d0006   
        color9                             #fb4934   
        color96                            #8f3f71   
        cursor                             #ebdbb2   
        foreground                         #ebdbb2   

Important environment variables seen by the kitty process:
        PATH                                /Applications/kitty.app/Contents/MacOS:/usr/bin:/bin:/usr/sbin:/sbin
        LANG                                en_US.UTF-8
        SHELL                               /bin/zsh
        USER                                brice.dutheil

This debug output has been copied to the clipboard
(END)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions