Skip to content

Failed to open image file with Image Viewer eog #1422

@cgbahk

Description

@cgbahk

Environment

  • Operating System: Ubuntu 22.04
  • Vim/Neovim version :version:
    NVIM v0.6.1
    Build type: Release
    LuaJIT 2.1.0-beta3
    Compiled by team+vim@tracker.debian.org
    
    Features: +acl +iconv +tui
    
  • NERDTree version, found on first line of quickhelp ?: 6.10.16
  • Are you using any of these NERDTree-dependent plugins?
    None of suggested plugins.
  • Provide a minimal .vimrc file that will reproduce the issue.
    It's too big... https://github.com/cgbahk/vimrc

Steps to Reproduce the Issue

  1. Given image file, say image.svg of image.png
  2. Using NerdTree menu feature, browse to the image file in Nerdtree, press m then o to execute the file with system editor

Current Behavior (Include screenshots where appropriate.)

No log, image viewer not opened

Expected Result

Image viewer (eog, https://en.wikipedia.org/wiki/Eye_of_GNOME) opens up to show image.

I recently migrate into nvim. I've used vim in combination with NerdTree for 5+ years without this issue. Configuration is totally same between vim and nvim.

In nvim with same environment, I can open other types of files as usual, like opening directories or libreoffice files. This issue only occurs to image files (or maybe I haven't met any other bug file types).

It is hard to find related issue or stackoverflow thread. Also as there is no log, there is hardly no point to start with for me.

What would be the source of the issue, or at least, how can I debug..?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions