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

[Bug] Alt+Enter mapping behaves incorrectly in the Neovide binaries built from latest master #2522

Closed
pidgeon777 opened this issue May 5, 2024 · 1 comment · Fixed by #2529
Labels
bug Something isn't working

Comments

@pidgeon777
Copy link

Describe the bug
In my LazyVim, setup, the Alt + Enter combination is assigned to a specific action.

In the latest stable version of Neovide, pressing Alt + Enter will trigger that action, without any side effect.

With the release binary built from the latest master version of Neovide, Alt + Enter leads Neovide to perform the following unwanted actions very quickly:

  1. Turn on fullscreen mode.
  2. Turn off fullscreen mode.
  3. Lose focus on the window.

To Reproduce
Steps to reproduce the behavior:

  1. Start Neovide with the following arguments:
  • --frame none
  • --log
  1. Press Alt + Enter in Neovide.
  2. Observe the behavior.
  3. Regain focus on Neovide (if necessary).
  4. Press q to quit Neovide.

Expected behavior
I would expect Neovide not to flash and/or lose focus when pressing Alt + Enter, and simply execute the associated Neovim action, exactly like the stable version.

Desktop (please complete the following information):

  • OS: Windows 11 Pro
  • Neovide Version: 0.12.2 (built from the latest master version)
  • Neovim Version: NVIM v0.10.0-dev-3057+g9e2f378b6

Please run neovide --log and paste the contents of the .log file created in the current directory here:
This is the log of the stable Neovide release (no issue), starting from the moment Alt + Enter is pressed:

TRACE [neovide::window::keyboard_manager] KeyEvent {
    physical_key: Code(
        Enter,
    ),
    logical_key: Named(
        Enter,
    ),
    text: None,
    location: Standard,
    state: Released,
    repeat: false,
    platform_specific: KeyEventExtra {
        text_with_all_modifers: None,
        key_without_modifiers: Named(
            Enter,
        ),
    },
}
TRACE [neovide::window::keyboard_manager] Modifiers { state: ModifiersState(0x0), pressed_mods: ModifiersKeys(0x0) }
TRACE [neovide::window::keyboard_manager] KeyEvent {
    physical_key: Code(
        AltLeft,
    ),
    logical_key: Named(
        Alt,
    ),
    text: None,
    location: Left,
    state: Released,
    repeat: false,
    platform_specific: KeyEventExtra {
        text_with_all_modifers: None,
        key_without_modifiers: Named(
            Alt,
        ),
    },
}
TRACE [neovide::window::keyboard_manager] KeyEvent {
    physical_key: Code(
        KeyQ,
    ),
    logical_key: Character(
        "q",
    ),
    text: Some(
        "q",
    ),
    location: Standard,
    state: Pressed,
    repeat: false,
    platform_specific: KeyEventExtra {
        text_with_all_modifers: Some(
            "q",
        ),
        key_without_modifiers: Character(
            "q",
        ),
    },
}
TRACE [neovide::window::keyboard_manager] Key pressed q ModifiersState(0x0)
TRACE [neovide::channel_utils] UICommand Serial(Keyboard("q"))
TRACE [neovide::bridge::ui_commands] In Serial Command
TRACE [neovide::bridge::ui_commands] Keyboard Input Sent: q
TRACE [neovide::bridge::handler] Neovim request: "neovide.quit"
INFO [neovide::running_tracker] Quit with code 0: Quit from neovim
DEBUG [neovide::settings::window_size] Saved Window Settings: {"window":{"Windowed":{"position":{"x":0,"y":0},"pixel_size":{"width":1920,"height":1140},"grid_size":{"width":213,"height":63}}}}
DEBUG [neovide::settings::window_size] Saved Window Settings: {"window":{"Windowed":{"position":{"x":0,"y":0},"pixel_size":{"width":1920,"height":1140},"grid_size":{"width":213,"height":63}}}}
DEBUG [neovide::settings::window_size] Saved Window Settings: {"window":{"Windowed":{"position":{"x":0,"y":0},"pixel_size":{"width":1920,"height":1140},"grid_size":{"width":213,"height":63}}}}
INFO [neovide::running_tracker] Quit neovim processed failed

This is the log of the Neovide built from the latest master version (affected by the issue), starting from the moment Alt + Enter is pressed:

TRACE [neovide::window::keyboard_manager] Modifiers { state: ModifiersState(ALT), pressed_mods: ModifiersKeys(0x0) }
TRACE [neovide::window::keyboard_manager] KeyEvent {
    physical_key: Code(
        AltLeft,
    ),
    logical_key: Named(
        Alt,
    ),
    text: None,
    location: Left,
    state: Pressed,
    repeat: false,
    platform_specific: KeyEventExtra {
        text_with_all_modifers: None,
        key_without_modifiers: Named(
            Alt,
        ),
    },
}
TRACE [neovide::window::keyboard_manager] KeyEvent {
    physical_key: Code(
        Enter,
    ),
    logical_key: Named(
        Enter,
    ),
    text: Some(
        "\r",
    ),
    location: Standard,
    state: Pressed,
    repeat: false,
    platform_specific: KeyEventExtra {
        text_with_all_modifers: Some(
            "\r",
        ),
        key_without_modifiers: Named(
            Enter,
        ),
    },
}
TRACE [neovide::window::keyboard_manager] Key pressed <M-Enter> ModifiersState(ALT)
TRACE [neovide::channel_utils] UICommand Serial(Keyboard("<M-Enter>"))
TRACE [neovide::bridge::ui_commands] In Serial Command
TRACE [neovide::bridge::ui_commands] Keyboard Input Sent: <M-Enter>
INFO [neovide::window::window_wrapper] Resizing grid based on window size. Grid Size: 213x66, Window Size PhysicalSize { width: 1920, height: 1200 }
TRACE [neovide::channel_utils] UICommand Parallel(Resize { width: 213, height: 66 })
TRACE [neovide::renderer::rendered_window] region: Box2D((0.0, 0.0), (1917.0, 1134.0)), inner: Rect { left: 0.0, top: 0.0, right: 1917.0, bottom: 1134.0 }, pics: 1
TRACE [neovide::renderer::rendered_window] region: Box2D((0.0, 0.0), (1917.0, 1116.0)), inner: Rect { left: 0.0, top: 0.0, right: 1917.0, bottom: 1116.0 }, pics: 51
TRACE [neovide::bridge::handler] Neovim notification: "redraw"
TRACE [neovide::channel_utils] neovim_handler HighlightAttributesDefine { id: 490, style: Style { colors: Colors { foreground: Some(Color4f { r: 0.6784314, g: 0.84705883, b: 0.9019608, a: 1.0 }), background: None, special: None }, reverse: false, italic: false, bold: false, strikethrough: false, blend: 0, underline: None, infos: [] } }
TRACE [neovide::channel_utils] neovim_handler HighlightAttributesDefine { id: 491, style: Style { colors: Colors { foreground: Some(Color4f { r: 0.5019608, g: 0.5019608, b: 0.0, a: 1.0 }), background: None, special: None }, reverse: false, italic: false, bold: false, strikethrough: false, blend: 0, underline: None, infos: [] } }
TRACE [neovide::channel_utils] neovim_handler HighlightAttributesDefine { id: 492, style: Style { colors: Colors { foreground: Some(Color4f { r: 1.0, g: 0.64705884, b: 0.0, a: 1.0 }), background: None, special: None }, reverse: false, italic: false, bold: false, strikethrough: false, blend: 0, underline: None, infos: [] } }
TRACE [neovide::channel_utils] neovim_handler HighlightAttributesDefine { id: 493, style: Style { colors: Colors { foreground: Some(Color4f { r: 0.0, g: 0.5019608, b: 0.0, a: 1.0 }), background: None, special: None }, reverse: false, italic: false, bold: false, strikethrough: false, blend: 0, underline: None, infos: [] } }
TRACE [neovide::channel_utils] neovim_handler HighlightAttributesDefine { id: 494, style: Style { colors: Colors { foreground: Some(Color4f { r: 0.5647059, g: 0.93333334, b: 0.5647059, a: 1.0 }), background: None, special: None }, reverse: false, italic: false, bold: false, strikethrough: false, blend: 0, underline: None, infos: [] } }
TRACE [neovide::channel_utils] neovim_handler HighlightAttributesDefine { id: 495, style: Style { colors: Colors { foreground: Some(Color4f { r: 1.0, g: 0.73333335, b: 0.73333335, a: 1.0 }), background: None, special: None }, reverse: false, italic: false, bold: false, strikethrough: false, blend: 0, underline: None, infos: [] } }
TRACE [neovide::channel_utils] neovim_handler HighlightAttributesDefine { id: 496, style: Style { colors: Colors { foreground: Some(Color4f { r: 1.0, g: 0.0, b: 0.0, a: 1.0 }), background: None, special: None }, reverse: false, italic: false, bold: false, strikethrough: false, blend: 0, underline: None, infos: [] } }
TRACE [neovide::channel_utils] neovim_handler HighlightAttributesDefine { id: 497, style: Style { colors: Colors { foreground: Some(Color4f { r: 0.0, g: 0.98039216, b: 0.6039216, a: 1.0 }), background: None, special: None }, reverse: false, italic: false, bold: false, strikethrough: false, blend: 0, underline: None, infos: [] } }
TRACE [neovide::channel_utils] neovim_handler HighlightAttributesDefine { id: 498, style: Style { colors: Colors { foreground: Some(Color4f { r: 0.5176471, g: 0.4392157, b: 1.0, a: 1.0 }), background: None, special: None }, reverse: false, italic: false, bold: false, strikethrough: false, blend: 0, underline: None, infos: [] } }
TRACE [neovide::channel_utils] neovim_handler HighlightAttributesDefine { id: 499, style: Style { colors: Colors { foreground: Some(Color4f { r: 0.8156863, g: 0.1254902, b: 0.5647059, a: 1.0 }), background: None, special: None }, reverse: false, italic: false, bold: false, strikethrough: false, blend: 0, underline: None, infos: [] } }
TRACE [neovide::channel_utils] neovim_handler HighlightAttributesDefine { id: 500, style: Style { colors: Colors { foreground: Some(Color4f { r: 0.0, g: 0.0, b: 0.0, a: 1.0 }), background: Some(Color4f { r: 1.0, g: 0.0, b: 0.0, a: 1.0 }), special: None }, reverse: false, italic: false, bold: true, strikethrough: false, blend: 0, underline: None, infos: [] } }
TRACE [neovide::channel_utils] neovim_handler HighlightAttributesDefine { id: 501, style: Style { colors: Colors { foreground: Some(Color4f { r: 0.0, g: 0.0, b: 0.0, a: 1.0 }), background: Some(Color4f { r: 0.0, g: 0.98039216, b: 0.6039216, a: 1.0 }), special: None }, reverse: false, italic: false, bold: true, strikethrough: false, blend: 0, underline: None, infos: [] } }
TRACE [neovide::channel_utils] neovim_handler HighlightAttributesDefine { id: 502, style: Style { colors: Colors { foreground: Some(Color4f { r: 0.0, g: 0.0, b: 0.0, a: 1.0 }), background: Some(Color4f { r: 0.5176471, g: 0.4392157, b: 1.0, a: 1.0 }), special: None }, reverse: false, italic: false, bold: true, strikethrough: false, blend: 0, underline: None, infos: [] } }
TRACE [neovide::channel_utils] neovim_handler HighlightAttributesDefine { id: 503, style: Style { colors: Colors { foreground: Some(Color4f { r: 0.0, g: 0.0, b: 0.0, a: 1.0 }), background: Some(Color4f { r: 0.8156863, g: 0.1254902, b: 0.5647059, a: 1.0 }), special: None }, reverse: false, italic: false, bold: true, strikethrough: false, blend: 0, underline: None, infos: [] } }
TRACE [neovide::channel_utils] neovim_handler HighlightAttributesDefine { id: 504, style: Style { colors: Colors { foreground: Some(Color4f { r: 0.0, g: 0.0, b: 0.0, a: 1.0 }), background: Some(Color4f { r: 0.6784314, g: 0.84705883, b: 0.9019608, a: 1.0 }), special: None }, reverse: false, italic: false, bold: true, strikethrough: false, blend: 0, underline: None, infos: [] } }
TRACE [neovide::channel_utils] neovim_handler HighlightAttributesDefine { id: 505, style: Style { colors: Colors { foreground: Some(Color4f { r: 0.0, g: 0.0, b: 0.0, a: 1.0 }), background: Some(Color4f { r: 0.5019608, g: 0.5019608, b: 0.0, a: 1.0 }), special: None }, reverse: false, italic: false, bold: true, strikethrough: false, blend: 0, underline: None, infos: [] } }
TRACE [neovide::channel_utils] neovim_handler HighlightAttributesDefine { id: 506, style: Style { colors: Colors { foreground: Some(Color4f { r: 0.0, g: 0.0, b: 0.0, a: 1.0 }), background: Some(Color4f { r: 1.0, g: 0.64705884, b: 0.0, a: 1.0 }), special: None }, reverse: false, italic: false, bold: true, strikethrough: false, blend: 0, underline: None, infos: [] } }
TRACE [neovide::channel_utils] neovim_handler HighlightAttributesDefine { id: 507, style: Style { colors: Colors { foreground: Some(Color4f { r: 1.0, g: 0.0, b: 0.0, a: 1.0 }), background: None, special: None }, reverse: false, italic: false, bold: true, strikethrough: false, blend: 0, underline: None, infos: [] } }
TRACE [neovide::channel_utils] neovim_handler HighlightAttributesDefine { id: 508, style: Style { colors: Colors { foreground: Some(Color4f { r: 0.0, g: 0.5019608, b: 0.0, a: 1.0 }), background: None, special: None }, reverse: false, italic: false, bold: true, strikethrough: false, blend: 0, underline: None, infos: [] } }
TRACE [neovide::channel_utils] neovim_handler HighlightAttributesDefine { id: 509, style: Style { colors: Colors { foreground: Some(Color4f { r: 1.0, g: 1.0, b: 1.0, a: 1.0 }), background: None, special: None }, reverse: false, italic: false, bold: true, strikethrough: false, blend: 0, underline: None, infos: [] } }
TRACE [neovide::channel_utils] neovim_handler HighlightAttributesDefine { id: 510, style: Style { colors: Colors { foreground: Some(Color4f { r: 0.0, g: 0.0, b: 0.0, a: 1.0 }), background: Some(Color4f { r: 0.0, g: 0.5019608, b: 0.0, a: 1.0 }), special: None }, reverse: false, italic: false, bold: true, strikethrough: false, blend: 0, underline: None, infos: [] } }
TRACE [neovide::channel_utils] neovim_handler HighlightAttributesDefine { id: 511, style: Style { colors: Colors { foreground: Some(Color4f { r: 0.0, g: 0.0, b: 0.0, a: 1.0 }), background: Some(Color4f { r: 0.5647059, g: 0.93333334, b: 0.5647059, a: 1.0 }), special: None }, reverse: false, italic: false, bold: true, strikethrough: false, blend: 0, underline: None, infos: [] } }
TRACE [neovide::channel_utils] neovim_handler HighlightAttributesDefine { id: 512, style: Style { colors: Colors { foreground: Some(Color4f { r: 0.0, g: 0.0, b: 0.0, a: 1.0 }), background: Some(Color4f { r: 1.0, g: 0.73333335, b: 0.73333335, a: 1.0 }), special: None }, reverse: false, italic: false, bold: true, strikethrough: false, blend: 0, underline: None, infos: [] } }
TRACE [neovide::channel_utils] neovim_handler GridLine { grid: 2, row: 17, column_start: 84, cells: [GridLineCell { text: "E", highlight_id: Some(504), repeat: None }] }
TRACE [neovide::channel_utils] neovim_handler WindowViewport { grid: 2, top_line: 0.0, bottom_line: 41.0, current_line: 17.0, current_column: 89.0, line_count: Some(40.0), scroll_delta: Some(0.0) }
TRACE [neovide::channel_utils] neovim_handler Flush
TRACE [neovide::editor] Image flushed
TRACE [neovide::editor] send_batch
TRACE [neovide::bridge::handler] Neovim notification: "redraw"
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: Unknown("ext_cmdline", Boolean(true)) }
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: Unknown("ext_popupmenu", Boolean(true)) }
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: Unknown("ext_tabline", Boolean(false)) }
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: Unknown("ext_wildmenu", Boolean(false)) }
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: Unknown("ext_messages", Boolean(true)) }
TRACE [neovide::channel_utils] neovim_handler DefaultColorsSet { colors: Colors { foreground: Some(Color4f { r: 0.78431374, g: 0.827451, b: 0.9607843, a: 1.0 }), background: Some(Color4f { r: 0.13333334, g: 0.14117648, b: 0.21176471, a: 1.0 }), special: Some(Color4f { r: 1.0, g: 0.0, b: 0.0, a: 1.0 }) } }
TRACE [neovide::channel_utils] neovim_handler Resize { grid: 1, width: 213, height: 66 }
TRACE [neovide::channel_utils] neovim_handler WindowViewportMargins { grid: 2, top: 0, bottom: 0, left: 0, right: 0 }
TRACE [neovide::channel_utils] neovim_handler Clear { grid: 1 }
TRACE [neovide::channel_utils] neovim_handler WindowPosition { grid: 2, start_row: 0, start_column: 0, width: 213, height: 65 }
TRACE [neovide::channel_utils] neovim_handler Resize { grid: 2, width: 213, height: 65 }
TRACE [neovide::channel_utils] neovim_handler GridLine { grid: 2, row: 17, column_start: 84, cells: [GridLineCell { text: "E", highlight_id: Some(284), repeat: None }] }
TRACE [neovide::channel_utils] neovim_handler GridLine { grid: 2, row: 39, column_start: 102, cells: [GridLineCell { text: "2", highlight_id: Some(268), repeat: None }, GridLineCell { text: "6", highlight_id: None, repeat: None }] }
TRACE [neovide::channel_utils] neovim_handler GridLine { grid: 2, row: 62, column_start: 0, cells: [GridLineCell { text: "~", highlight_id: Some(321), repeat: None }, GridLineCell { text: " ", highlight_id: Some(321), repeat: Some(212) }] }
TRACE [neovide::channel_utils] neovim_handler GridLine { grid: 2, row: 63, column_start: 0, cells: [GridLineCell { text: "~", highlight_id: Some(321), repeat: None }, GridLineCell { text: " ", highlight_id: Some(321), repeat: Some(212) }] }
TRACE [neovide::channel_utils] neovim_handler GridLine { grid: 2, row: 64, column_start: 0, cells: [GridLineCell { text: "~", highlight_id: Some(321), repeat: None }, GridLineCell { text: " ", highlight_id: Some(321), repeat: Some(212) }] }
TRACE [neovide::channel_utils] neovim_handler GridLine { grid: 1, row: 65, column_start: 0, cells: [GridLineCell { text: " ", highlight_id: Some(314), repeat: Some(213) }, GridLineCell { text: " ", highlight_id: Some(0), repeat: Some(0) }] }
TRACE [neovide::channel_utils] neovim_handler WindowViewport { grid: 2, top_line: 0.0, bottom_line: 41.0, current_line: 17.0, current_column: 89.0, line_count: Some(40.0), scroll_delta: Some(0.0) }
TRACE [neovide::channel_utils] neovim_handler CursorGoto { grid: 2, row: 17, column: 84 }
TRACE [neovide::channel_utils] neovim_handler Flush
TRACE [neovide::bridge::handler] Neovim notification: "redraw"
TRACE [neovide::channel_utils] neovim_handler WindowViewport { grid: 2, top_line: 0.0, bottom_line: 41.0, current_line: 17.0, current_column: 89.0, line_count: Some(40.0), scroll_delta: Some(0.0) }
TRACE [neovide::channel_utils] neovim_handler ModeInfoSet { cursor_modes: [CursorMode { shape: Some(Block), style_id: Some(0), cell_percentage: Some(0.0), blinkwait: Some(0), blinkon: Some(0), blinkoff: Some(0) }, CursorMode { shape: Some(Block), style_id: Some(0), cell_percentage: Some(0.0), blinkwait: Some(0), blinkon: Some(0), blinkoff: Some(0) }, CursorMode { shape: Some(Vertical), style_id: Some(0), cell_percentage: Some(0.25), blinkwait: Some(0), blinkon: Some(0), blinkoff: Some(0) }, CursorMode { shape: Some(Horizontal), style_id: Some(0), cell_percentage: Some(0.2), blinkwait: Some(0), blinkon: Some(0), blinkoff: Some(0) }, CursorMode { shape: Some(Block), style_id: Some(0), cell_percentage: Some(0.0), blinkwait: Some(0), blinkon: Some(0), blinkoff: Some(0) }, CursorMode { shape: Some(Vertical), style_id: Some(0), cell_percentage: Some(0.25), blinkwait: Some(0), blinkon: Some(0), blinkoff: Some(0) }, CursorMode { shape: Some(Horizontal), style_id: Some(0), cell_percentage: Some(0.2), blinkwait: Some(0), blinkon: Some(0), blinkoff: Some(0) }, CursorMode { shape: Some(Horizontal), style_id: Some(0), cell_percentage: Some(0.2), blinkwait: Some(0), blinkon: Some(0), blinkoff: Some(0) }, CursorMode { shape: Some(Vertical), style_id: Some(0), cell_percentage: Some(0.25), blinkwait: Some(0), blinkon: Some(0), blinkoff: Some(0) }, CursorMode { shape: None, style_id: None, cell_percentage: None, blinkwait: None, blinkon: None, blinkoff: None }, CursorMode { shape: None, style_id: None, cell_percentage: None, blinkwait: None, blinkon: None, blinkoff: None }, CursorMode { shape: None, style_id: None, cell_percentage: None, blinkwait: None, blinkon: None, blinkoff: None }, CursorMode { shape: None, style_id: None, cell_percentage: None, blinkwait: None, blinkon: None, blinkoff: None }, CursorMode { shape: None, style_id: None, cell_percentage: None, blinkwait: None, blinkon: None, blinkoff: None }, CursorMode { shape: None, style_id: None, cell_percentage: None, blinkwait: None, blinkon: None, blinkoff: None }, CursorMode { shape: None, style_id: None, cell_percentage: None, blinkwait: None, blinkon: None, blinkoff: None }, CursorMode { shape: Some(Block), style_id: Some(0), cell_percentage: Some(0.0), blinkwait: Some(0), blinkon: Some(0), blinkoff: Some(0) }] }
TRACE [neovide::channel_utils] neovim_handler ModeChange { mode: Normal, mode_index: 0 }
TRACE [neovide::channel_utils] neovim_handler MouseOn
TRACE [neovide::channel_utils] neovim_handler Flush
TRACE [neovide::editor] Option set Unknown("ext_cmdline", Boolean(true))
TRACE [neovide::editor] Option set Unknown("ext_popupmenu", Boolean(true))
TRACE [neovide::editor] Option set Unknown("ext_tabline", Boolean(false))
TRACE [neovide::editor] Option set Unknown("ext_wildmenu", Boolean(false))
TRACE [neovide::editor] Option set Unknown("ext_messages", Boolean(true))
TRACE [neovide::editor] Image flushed
TRACE [neovide::editor] send_batch
TRACE [neovide::editor] Image flushed
TRACE [neovide::editor] send_batch
TRACE [neovide::window::keyboard_manager] Modifiers { state: ModifiersState(0x0), pressed_mods: ModifiersKeys(0x0) }
TRACE [neovide::channel_utils] UICommand Parallel(FocusLost)
TRACE [neovide::renderer::rendered_window] Handling Viewport 2
TRACE [neovide::renderer::rendered_window] Handling Viewport 2
TRACE [neovide::renderer::rendered_window] Handling Viewport 2
INFO [neovide::window::window_wrapper] Resizing grid based on window size. Grid Size: 213x63, Window Size PhysicalSize { width: 1920, height: 1140 }
TRACE [neovide::channel_utils] UICommand Parallel(Resize { width: 213, height: 63 })
TRACE [neovide::renderer::fonts::caching_shaper] Shaping text: "Neovim loaded 26/86 plugins in 132.59ms"
TRACE [neovide::renderer::rendered_window] region: Box2D((0.0, 0.0), (1917.0, 1188.0)), inner: Rect { left: 0.0, top: 0.0, right: 1917.0, bottom: 1188.0 }, pics: 2
TRACE [neovide::renderer::rendered_window] region: Box2D((0.0, 0.0), (1917.0, 1170.0)), inner: Rect { left: 0.0, top: 0.0, right: 1917.0, bottom: 1170.0 }, pics: 54
TRACE [neovide::bridge::handler] Neovim notification: "redraw"
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: Unknown("ext_cmdline", Boolean(true)) }
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: Unknown("ext_popupmenu", Boolean(true)) }
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: Unknown("ext_tabline", Boolean(false)) }
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: Unknown("ext_wildmenu", Boolean(false)) }
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: Unknown("ext_messages", Boolean(true)) }
TRACE [neovide::editor] Option set Unknown("ext_cmdline", Boolean(true))
TRACE [neovide::channel_utils] neovim_handler DefaultColorsSet { colors: Colors { foreground: Some(Color4f { r: 0.78431374, g: 0.827451, b: 0.9607843, a: 1.0 }), background: Some(Color4f { r: 0.13333334, g: 0.14117648, b: 0.21176471, a: 1.0 }), special: Some(Color4f { r: 1.0, g: 0.0, b: 0.0, a: 1.0 }) } }
TRACE [neovide::editor] Option set Unknown("ext_popupmenu", Boolean(true))
TRACE [neovide::editor] Option set Unknown("ext_tabline", Boolean(false))
TRACE [neovide::editor] Option set Unknown("ext_wildmenu", Boolean(false))
TRACE [neovide::editor] Option set Unknown("ext_messages", Boolean(true))
TRACE [neovide::channel_utils] neovim_handler Resize { grid: 1, width: 213, height: 63 }
TRACE [neovide::channel_utils] neovim_handler WindowViewportMargins { grid: 2, top: 0, bottom: 0, left: 0, right: 0 }
TRACE [neovide::channel_utils] neovim_handler Clear { grid: 1 }
TRACE [neovide::channel_utils] neovim_handler WindowPosition { grid: 2, start_row: 0, start_column: 0, width: 213, height: 62 }
TRACE [neovide::channel_utils] neovim_handler Resize { grid: 2, width: 213, height: 62 }
TRACE [neovide::channel_utils] neovim_handler GridLine { grid: 1, row: 62, column_start: 0, cells: [GridLineCell { text: " ", highlight_id: Some(314), repeat: Some(213) }, GridLineCell { text: " ", highlight_id: Some(0), repeat: Some(0) }] }
TRACE [neovide::channel_utils] neovim_handler WindowViewport { grid: 2, top_line: 0.0, bottom_line: 41.0, current_line: 17.0, current_column: 89.0, line_count: Some(40.0), scroll_delta: Some(0.0) }
TRACE [neovide::channel_utils] neovim_handler CursorGoto { grid: 2, row: 17, column: 84 }
TRACE [neovide::channel_utils] neovim_handler Flush
TRACE [neovide::bridge::handler] Neovim notification: "redraw"
TRACE [neovide::channel_utils] neovim_handler WindowViewport { grid: 2, top_line: 0.0, bottom_line: 41.0, current_line: 17.0, current_column: 89.0, line_count: Some(40.0), scroll_delta: Some(0.0) }
TRACE [neovide::channel_utils] neovim_handler ModeInfoSet { cursor_modes: [CursorMode { shape: Some(Block), style_id: Some(0), cell_percentage: Some(0.0), blinkwait: Some(0), blinkon: Some(0), blinkoff: Some(0) }, CursorMode { shape: Some(Block), style_id: Some(0), cell_percentage: Some(0.0), blinkwait: Some(0), blinkon: Some(0), blinkoff: Some(0) }, CursorMode { shape: Some(Vertical), style_id: Some(0), cell_percentage: Some(0.25), blinkwait: Some(0), blinkon: Some(0), blinkoff: Some(0) }, CursorMode { shape: Some(Horizontal), style_id: Some(0), cell_percentage: Some(0.2), blinkwait: Some(0), blinkon: Some(0), blinkoff: Some(0) }, CursorMode { shape: Some(Block), style_id: Some(0), cell_percentage: Some(0.0), blinkwait: Some(0), blinkon: Some(0), blinkoff: Some(0) }, CursorMode { shape: Some(Vertical), style_id: Some(0), cell_percentage: Some(0.25), blinkwait: Some(0), blinkon: Some(0), blinkoff: Some(0) }, CursorMode { shape: Some(Horizontal), style_id: Some(0), cell_percentage: Some(0.2), blinkwait: Some(0), blinkon: Some(0), blinkoff: Some(0) }, CursorMode { shape: Some(Horizontal), style_id: Some(0), cell_percentage: Some(0.2), blinkwait: Some(0), blinkon: Some(0), blinkoff: Some(0) }, CursorMode { shape: Some(Vertical), style_id: Some(0), cell_percentage: Some(0.25), blinkwait: Some(0), blinkon: Some(0), blinkoff: Some(0) }, CursorMode { shape: None, style_id: None, cell_percentage: None, blinkwait: None, blinkon: None, blinkoff: None }, CursorMode { shape: None, style_id: None, cell_percentage: None, blinkwait: None, blinkon: None, blinkoff: None }, CursorMode { shape: None, style_id: None, cell_percentage: None, blinkwait: None, blinkon: None, blinkoff: None }, CursorMode { shape: None, style_id: None, cell_percentage: None, blinkwait: None, blinkon: None, blinkoff: None }, CursorMode { shape: None, style_id: None, cell_percentage: None, blinkwait: None, blinkon: None, blinkoff: None }, CursorMode { shape: None, style_id: None, cell_percentage: None, blinkwait: None, blinkon: None, blinkoff: None }, CursorMode { shape: None, style_id: None, cell_percentage: None, blinkwait: None, blinkon: None, blinkoff: None }, CursorMode { shape: Some(Block), style_id: Some(0), cell_percentage: Some(0.0), blinkwait: Some(0), blinkon: Some(0), blinkoff: Some(0) }] }
TRACE [neovide::channel_utils] neovim_handler ModeChange { mode: Normal, mode_index: 0 }
TRACE [neovide::channel_utils] neovim_handler MouseOn
TRACE [neovide::channel_utils] neovim_handler Flush
TRACE [neovide::editor] Image flushed
TRACE [neovide::editor] send_batch
TRACE [neovide::editor] Image flushed
TRACE [neovide::editor] send_batch
TRACE [neovide::renderer::rendered_window] Handling Viewport 2
TRACE [neovide::renderer::rendered_window] Handling Viewport 2
TRACE [neovide::renderer::rendered_window] region: Box2D((0.0, 0.0), (1917.0, 1134.0)), inner: Rect { left: 0.0, top: 0.0, right: 1917.0, bottom: 1134.0 }, pics: 1
TRACE [neovide::renderer::rendered_window] region: Box2D((0.0, 0.0), (1917.0, 1116.0)), inner: Rect { left: 0.0, top: 0.0, right: 1917.0, bottom: 1116.0 }, pics: 52
TRACE [neovide::channel_utils] UICommand Parallel(FocusGained)
TRACE [neovide::renderer::rendered_window] region: Box2D((0.0, 0.0), (1917.0, 1134.0)), inner: Rect { left: 0.0, top: 0.0, right: 1917.0, bottom: 1134.0 }, pics: 1
TRACE [neovide::renderer::rendered_window] region: Box2D((0.0, 0.0), (1917.0, 1116.0)), inner: Rect { left: 0.0, top: 0.0, right: 1917.0, bottom: 1116.0 }, pics: 52
TRACE [neovide::window::keyboard_manager] KeyEvent {
    physical_key: Code(
        KeyQ,
    ),
    logical_key: Character(
        "q",
    ),
    text: Some(
        "q",
    ),
    location: Standard,
    state: Pressed,
    repeat: false,
    platform_specific: KeyEventExtra {
        text_with_all_modifers: Some(
            "q",
        ),
        key_without_modifiers: Character(
            "q",
        ),
    },
}
TRACE [neovide::window::keyboard_manager] Key pressed q ModifiersState(0x0)
TRACE [neovide::channel_utils] UICommand Serial(Keyboard("q"))
TRACE [neovide::bridge::ui_commands] In Serial Command
TRACE [neovide::bridge::ui_commands] Keyboard Input Sent: q
TRACE [neovide::bridge::handler] Neovim request: "neovide.quit"
INFO [neovide::running_tracker] Quit with code 0: Quit from neovim
DEBUG [neovide::settings::window_size] Saved Window Settings: {"window":{"Windowed":{"position":{"x":0,"y":0},"pixel_size":{"width":1920,"height":1140},"grid_size":[213,63]}}}
DEBUG [neovide::settings::window_size] Saved Window Settings: {"window":{"Windowed":{"position":{"x":0,"y":0},"pixel_size":{"width":1920,"height":1140},"grid_size":[213,63]}}}
INFO [neovide::running_tracker] Quit neovim processed failed

Additional context
It seems that the handling of the Alt + Enter combination is managed differently in the latest Neovide master, introducing a regression.

@sid-6581
Copy link
Contributor

sid-6581 commented May 7, 2024

I have the same problem as mentioned here: #2215 (comment)

I have a solution for it, I'll submit a PR in a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants