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

MacOS: Does not open in assigned desktop #2432

Open
juancoquet opened this issue Mar 21, 2024 · 0 comments
Open

MacOS: Does not open in assigned desktop #2432

juancoquet opened this issue Mar 21, 2024 · 0 comments
Labels
bug Something isn't working macos Specific to macOS and not investigable on other platforms

Comments

@juancoquet
Copy link

juancoquet commented Mar 21, 2024

On MacOS, you can assign applications to open in a particular desktop by default. E.g. if I have two desktops, I could assign my browser to open in desktop 1 and my terminal to open in desktop 2. This behaviour previously worked in Neovide, but after upgrading to 0.12.2 it no longer works — Neovide opens in the same desktop as the terminal that it was launched from, even if I have assigned it a different desktop.

Steps to reproduce the behavior:

  1. Add multiple desktops by entering mission control (usually F3) and clicking the + button at the top-right
  2. In one desktop, open a terminal window
  3. Launch Neovide
  4. Move the Neovide window to a different desktop than the terminal window
  5. In the dock, ctrl-click the Neovide icon, click Options > Assign to > This desktop
  6. Close neovide
  7. Go back to the terminal which was in a different desktop
  8. Launch Neovide
  9. Neovide does not launch in the assigned desktop; instead it launches in the same desktop as the terminal that launched it

Expected behavior
Neovide should launch in the desktop it is assigned to, even if it is different than desktop containing the terminal that launches it.

Desktop (please complete the following information):

  • OS: Sonoma 14.0
  • Neovide Version: 0.12.2
  • Neovim Version: 0.9.5

Log:

TRACE [neovide] Neovide version: 0.12.2
DEBUG [neovide::settings::window_size] Loaded window settings: Maximized
DEBUG [neovide::bridge::command] Starting neovim with: Command { std: "/bin/zsh" "-c" "/opt/homebrew/bin/nvim --embed -p", kill_on_drop: false }
INFO [neovide::bridge::setup] Neovide registered to nvim with channel id 1
TRACE [neovide::settings] Initial value load failed for remember_window_position: Error processing request: 1 - 'Key not found: neovide_remember_window_position')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for background_color: Error processing request: 1 - 'Key not found: neovide_background_color')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for cursor_vfx_particle_curl: Error processing request: 1 - 'Key not found: neovide_cursor_vfx_particle_curl')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for scroll_animation_length: Error processing request: 1 - 'Key not found: neovide_scroll_animation_length')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for cursor_trail_size: Error processing request: 1 - 'Key not found: neovide_cursor_trail_size')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for debug_renderer: Error processing request: 1 - 'Key not found: neovide_debug_renderer')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for idle: Error processing request: 1 - 'Key not found: neovide_idle')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for padding_right: Error processing request: 1 - 'Key not found: neovide_padding_right')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for cursor_vfx_opacity: Error processing request: 1 - 'Key not found: neovide_cursor_vfx_opacity')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for remember_window_size: Error processing request: 1 - 'Key not found: neovide_remember_window_size')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for cursor_vfx_particle_speed: Error processing request: 1 - 'Key not found: neovide_cursor_vfx_particle_speed')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for floating_blur: Error processing request: 1 - 'Key not found: neovide_floating_blur')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for underline_stroke_scale: Error processing request: 1 - 'Key not found: neovide_underline_stroke_scale')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for touch_deadzone: Error processing request: 1 - 'Key not found: neovide_touch_deadzone')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for light_radius: Error processing request: 1 - 'Key not found: neovide_light_radius')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for cursor_animation_length: Error processing request: 1 - 'Key not found: neovide_cursor_animation_length')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for iso_layout: Error processing request: 1 - 'Key not found: neovide_iso_layout')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for cursor_animate_command_line: Error processing request: 1 - 'Key not found: neovide_cursor_animate_command_line')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for cursor_unfocused_outline_width: Error processing request: 1 - 'Key not found: neovide_cursor_unfocused_outline_width')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for cursor_vfx_particle_density: Error processing request: 1 - 'Key not found: neovide_cursor_vfx_particle_density')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for padding_bottom: Error processing request: 1 - 'Key not found: neovide_padding_bottom')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for padding_top: Error processing request: 1 - 'Key not found: neovide_padding_top')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for refresh_rate: Error processing request: 1 - 'Key not found: neovide_refresh_rate')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for profiler: Error processing request: 1 - 'Key not found: neovide_profiler')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for floating_shadow: Error processing request: 1 - 'Key not found: neovide_floating_shadow')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for cursor_antialiasing: Error processing request: 1 - 'Key not found: neovide_cursor_antialiasing')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for scale_factor: Error processing request: 1 - 'Key not found: neovide_scale_factor')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for cursor_animate_in_insert_mode: Error processing request: 1 - 'Key not found: neovide_cursor_animate_in_insert_mode')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for cursor_vfx_particle_phase: Error processing request: 1 - 'Key not found: neovide_cursor_vfx_particle_phase')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for hide_mouse_when_typing: Error processing request: 1 - 'Key not found: neovide_hide_mouse_when_typing')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for light_angle_degrees: Error processing request: 1 - 'Key not found: neovide_light_angle_degrees')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for theme: Error processing request: 1 - 'Key not found: neovide_theme')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for window_blurred: Error processing request: 1 - 'Key not found: neovide_window_blurred')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for unlink_border_highlights: Error processing request: 1 - 'Key not found: neovide_unlink_border_highlights')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for fullscreen: Error processing request: 1 - 'Key not found: neovide_fullscreen')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for padding_left: Error processing request: 1 - 'Key not found: neovide_padding_left')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for position_animation_length: Error processing request: 1 - 'Key not found: neovide_position_animation_length')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for scroll_animation_far_lines: Error processing request: 1 - 'Key not found: neovide_scroll_animation_far_lines')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for confirm_quit: Error processing request: 1 - 'Key not found: neovide_confirm_quit')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for transparency: Error processing request: 1 - 'Key not found: neovide_transparency')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for floating_blur_amount_x: Error processing request: 1 - 'Key not found: neovide_floating_blur_amount_x')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for refresh_rate_idle: Error processing request: 1 - 'Key not found: neovide_refresh_rate_idle')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for input_macos_alt_is_meta: Error processing request: 1 - 'Key not found: neovide_input_macos_alt_is_meta')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for floating_blur_amount_y: Error processing request: 1 - 'Key not found: neovide_floating_blur_amount_y')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for floating_z_height: Error processing request: 1 - 'Key not found: neovide_floating_z_height')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for input_ime: Error processing request: 1 - 'Key not found: neovide_input_ime')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for cursor_distance_length_adjust: Error processing request: 1 - 'Key not found: neovide_cursor_distance_length_adjust')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for touch_drag_timeout: Error processing request: 1 - 'Key not found: neovide_touch_drag_timeout')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for cursor_vfx_mode: Error processing request: 1 - 'Key not found: neovide_cursor_vfx_mode')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::settings] Initial value load failed for cursor_vfx_particle_lifetime: Error processing request: 1 - 'Key not found: neovide_cursor_vfx_particle_lifetime')
TRACE [neovide::bridge::handler] Neovim notification: "setting_changed"
TRACE [neovide::bridge::handler] Neovim notification: "redraw"
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: ArabicShape(true) }
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: AmbiWidth("single") }
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: Emoji(true) }
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: GuiFont("") }
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: GuiFontWide("") }
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: LineSpace(0) }
TRACE [neovide::editor] Option set ArabicShape(true)
TRACE [neovide::editor] Option set AmbiWidth("single")
TRACE [neovide::editor] Option set Emoji(true)
TRACE [neovide::editor] Option set GuiFont("")
TRACE [neovide::editor] Option set GuiFontWide("")
TRACE [neovide::editor] Option set LineSpace(0)
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: Unknown("mousefocus", Boolean(false)) }
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: Unknown("mousemoveevent", Boolean(false)) }
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: Pumblend(0) }
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: ShowTabLine(1) }
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: TermGuiColors(true) }
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: Unknown("ttimeout", Boolean(true)) }
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: Unknown("ttimeoutlen", Integer(PosInt(50))) }
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: Unknown("verbose", Integer(PosInt(0))) }
TRACE [neovide::editor] Option set Unknown("mousefocus", Boolean(false))
TRACE [neovide::editor] Option set Unknown("mousemoveevent", Boolean(false))
TRACE [neovide::editor] Option set Pumblend(0)
TRACE [neovide::editor] Option set ShowTabLine(1)
TRACE [neovide::editor] Option set TermGuiColors(true)
TRACE [neovide::editor] Option set Unknown("ttimeout", Boolean(true))
TRACE [neovide::editor] Option set Unknown("ttimeoutlen", Integer(PosInt(50)))
TRACE [neovide::editor] Option set Unknown("verbose", Integer(PosInt(0)))
TRACE [neovide::channel_utils] neovim_handler SetTitle { title: "" }
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: Unknown("ext_linegrid", Boolean(true)) }
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: Unknown("ext_multigrid", Boolean(true)) }
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: Unknown("ext_hlstate", Boolean(true)) }
TRACE [neovide::channel_utils] neovim_handler OptionSet { gui_option: Unknown("ext_termcolors", Boolean(false)) }
TRACE [neovide::channel_utils] neovim_handler DefaultColorsSet { colors: Colors { foreground: Some(Color4f { r: 1.0, g: 1.0, b: 1.0, a: 1.0 }), background: Some(Color4f { r: 0.0, g: 0.0, b: 0.0, 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_linegrid", Boolean(true))
TRACE [neovide::editor] Option set Unknown("ext_multigrid", Boolean(true))
TRACE [neovide::editor] Option set Unknown("ext_hlstate", Boolean(true))
TRACE [neovide::editor] Option set Unknown("ext_termcolors", Boolean(false))
...
@juancoquet juancoquet added the bug Something isn't working label Mar 21, 2024
@fredizzimo fredizzimo added the macos Specific to macOS and not investigable on other platforms label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working macos Specific to macOS and not investigable on other platforms
Projects
None yet
Development

No branches or pull requests

2 participants