Skip to content

[BUG]: Autosuggestion's menu shows up despite being disabled #986

Closed

Description

@elseawhy

Describe the Bug

Discovered some bugs related to autosuggestion when i was trying to implement #673

output.mp4

In the first clip, i have two folders in Downloads with identical contents, as i hit {tab} between // tab completions displays the option, upon hitting {space} you can see the autosuggestion menu flashes for a brief second despite it being disabled.

output.mp4

In the second clip, i hit {tab} to trigger tab completion, the autosuggestion menu shows up upon pasting foo when the tab completion menu is still up. Autosuggestion is disabled here as well.

Im still testing out my fix, ill open a pr once it is ready :)

Environment & Version Information

flyline 1.7.1
git hash: 3a6d95c
build mode: release
build datetime: 2026-09-01T07:58:04Z
build target: x86_64-unknown-linux-gnu
rustc version: rustc 1.98.0 (88d9e12ae 2026-08-18) (Arch Linux rust 1:1.98.0-1.1)

Running in: Bash 5.3.15(1)-release
shell: /usr/bin/bash

Running in: foot (Foot)
multiplexer: none
device attributes raw: >1;012700;0
device attributes version: 12700
program: unknown
program version: unknown
locale: en_MY.UTF-8 (LC_ALL: unknown, LC_CTYPE: unknown)

Running in: CachyOS (kernel 7.2.0-1-stable x86_64)
system linker: GNU ld (GNU Binutils) 2.47
dynamic linker: ldd (GNU libc) 2.44

Running on: AMD Ryzen 5 7530U with Radeon Graphics (12 cores)

Running in: a simulation

Debug Logs (Optional / If Necessary)

Click to expand logs
<paste logs here>

Steps to Reproduce

Bug 1 (flashing autosuggestion)

  1. Disable auto suggestions
  2. mkdir -p ~/Downloads/{foo,fee}/bar
  3. $EDITOR ~/Downloads/{tab}/bar
  4. $EDITOR ~/Downloads/{space}/bar

Bug 2 (pasting text when tab completion menu is up triggers autosuggestion)

  1. Disable auto suggestions
  2. mkdir -p ~/Downloads/{foo,fee}
  3. Copy foo
  4. $EDITOR ~/Downloads/{tab}
  5. $EDITOR ~/Downloads/{Ctrl-shift-v}

Activity

  1. added
    bug
    on Sep 2, 2026
  2. added a commit that references this issue on Sep 7, 2026
    e2328dc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions