kovidgoyal / kitty

Cross-platform, fast, feature-rich, GPU based terminal
https://sw.kovidgoyal.net/kitty/
GNU General Public License v3.0
24.11k stars 972 forks source link

Mouse leaving kitty window while dragging to select text stops further selection. #7594

Closed bjd-pfq closed 3 months ago

bjd-pfq commented 3 months ago

Describe the bug A clear and concise description of what the bug is.

When I select text in the kitty window, using mouse down and dragging, as soon as the mouse leaves the window, selection is stopped.

To Reproduce Steps to reproduce the behavior:

  1. start selecting text by holding down mouse button 1.
  2. drag the mouse to expand the selection
  3. while dragging, make the mouse pointer leave the kitty window momentarily (window loses focus?)
  4. the selection immediately stops from expanding, and cannot be expanded anymore

Environment details


I am using kitty on Linux Mint. In fact I started using kitty as a replacement to gnome-terminal, but the latter does the right thing in this instance.

kitty --version
kitty 0.21.2 created by Kovid Goyal

grep -v '^#' /home/bjd/.config/kitty/kitty.conf | sed '/^$/d'
font_family     LiterationMonoNerd Font
font_family LiterationMono Nerd Font Mono Italic
italic_font LiterationMono Nerd Font Mono Italic
font_size 12.0
disable_ligatures always
font_features none
cursor #5FDEBB
cursor #800000
cursor_blink_interval 1
scrollback_lines 2000
detect_urls yes
select_by_word_characters @-./_~?&=%+#:
click_interval 0.5
default_pointer_shape arrow
mouse_map right triplepress grabbed,ungrabbed new_tab
enable_audio_bell yes
visual_bell_duration 0
remember_window_size  yes
draw_minimal_borders yes
window_padding_width 0 1 0 2
resize_draw_strategy size
resize_in_steps yes
tab_bar_edge top
tab_bar_margin_height 0.0 0.5
tab_bar_style powerline
active_tab_background   #ffffff
active_tab_foreground   #800000
active_tab_font_style bold-normal
inactive_tab_background #d4d4d4
inactive_tab_font_style normal
foreground #000000
background #E9FDFB
background_image_layout scaled
selection_foreground #ffffff
selection_background #0072DC
kovidgoyal commented 3 months ago

Again, update kitty. Does not reproduce for me using kitty 0.35.2