telescope-media-files.nvim icon indicating copy to clipboard operation
telescope-media-files.nvim copied to clipboard

Strange behaviour

Open gmr458 opened this issue 3 years ago • 26 comments
trafficstars

This happened to me in Kitty, Alacritty and GNOME Terminal, it's weird because I've used this before and this didn't happen.

gmr458 avatar May 07 '22 06:05 gmr458

Same behavior. My neofetch output:

                __.;=====;.__                   strongleong@void
            _.=+==++=++=+=+===;.                ----------------
             -=+++=+===+=+=+++++=_              OS: Void Linux x86_64
        .     -=:``     `--==+=++==.            Host: 20138 Lenovo G780
       _vi,    `            --+=++++:           Kernel: 5.15.36_1
      .uvnvi.       _._       -==+==+.          Uptime: 7 hours, 56 mins
     .vvnvnI`    .;==|==;.     :|=||=|.         Packages: 820 (xbps-query)
+QmQQmpvvnv; _yYsyQQWUUQQQm #QmQ#:QQQWUV$QQm.   Shell: zsh 5.8.1
 -QQWQWpvvowZ?.wQQQE==<QWWQ/QWQW.QQWW(: jQWQE   Resolution: 1600x900, 1920x1080
  -$QQQQmmU'  jQQQ@+=<QWQQ)mQQQ.mQQQC+;jWQQ@'   WM: awesome
   -$WQ8YnI:   QWQQwgQQWV`mWQQ.jQWQQgyyWW@!     Theme: Nordic-darker-v40 [GTK2/3]
     -1vvnvv.     `~+++`        ++|+++          Icons: Adwaita [GTK2/3]
      +vnvnnv,                 `-|===           Terminal: tmux
       +vnvnvns.           .      :=-           CPU: Intel i7-3612QM (8) @ 3.100GHz
        -Invnvvnsi..___..=sv=.     `            GPU: Intel 3rd Gen Core processor Graphics Controller
          +Invnvnvnnnnnnnnvvnn;.                GPU: NVIDIA GeForce GT 635M
            ~|Invnvnvvnvvvnnv}+`                Memory: 5054MiB / 15874MiB
               -~|{*l}*|~

Strongleong avatar May 12 '22 05:05 Strongleong

The same thing! Screenshot from 2022-05-14 02-01-04 Screenshot from 2022-05-14 02-02-28

hardcodd avatar May 13 '22 19:05 hardcodd

Happening to me as well

NVIM v0.8.0

OS:      ArcoLinux 
WM:      dwm 
Shell:   zsh 5.9 
Kernel:  5.15.41-1-lts 
Host:    Darter Pro darp7 
CPU:     11th Gen Intel i5-1135G7 (8) @ 4.2GHz 

CSpencerND avatar May 28 '22 08:05 CSpencerND

Happens to me on Arch Linux too.

explocion avatar Jun 05 '22 15:06 explocion

I am on Artix Linux with NVIM v0.7.0. I've tested ST and urxvt and am having the same issue. Plus, when I close the Telescope window, one photo stays on the screen.

Johnsonnn64 avatar Jun 09 '22 14:06 Johnsonnn64

Plus, when I close the Telescope window, one photo stays on the screen.

It stays even after closing neovim

Strongleong avatar Jun 09 '22 22:06 Strongleong

I'm Manjaro user. I've also got this problem.

SDA-31 avatar Jun 10 '22 21:06 SDA-31

I think this has something to do with the vimg file, although I am not smart enough to figure out what is going on.

If you look you can see a lot of instances of ueberzug being created

❯ ps -ef | grep ueberzug                                                                                                                                                                                                                                                                               
evanr     189682  189675  0 11:38 pts/15   00:00:00 tail --follow /tmp/tmp.bnnyeEDL8ivimg-189675-ueberzug                                                                                                                                                                                              
evanr     189683  189675  0 11:38 pts/15   00:00:00 /usr/bin/python3.9 /home/evanr/.local/bin/ueberzug layer --silent --parser bash                                                                                                                                                                    
evanr     189701  189694  0 11:38 pts/17   00:00:00 tail --follow /tmp/tmp.pXIaXOdhJAvimg-189694-ueberzug                                                                                                                                                                                              
evanr     189702  189694  1 11:38 pts/17   00:00:01 /usr/bin/python3.9 /home/evanr/.local/bin/ueberzug layer --silent --parser bash                                                                                                                                                                    
evanr     189715  189707  0 11:38 pts/18   00:00:00 tail --follow /tmp/tmp.OH8vOfUcwJvimg-189707-ueberzug                                                                                                                                                                                              
evanr     189716  189707  0 11:38 pts/18   00:00:00 /usr/bin/python3.9 /home/evanr/.local/bin/ueberzug layer --silent --parser bash                                                                                                                                                                    
evanr     189732  189725  0 11:38 pts/19   00:00:00 tail --follow /tmp/tmp.vOEKta4AhZvimg-189725-ueberzug                                                                                                                                                                                              
evanr     189733  189725  2 11:38 pts/19   00:00:02 /usr/bin/python3.9 /home/evanr/.local/bin/ueberzug layer --silent --parser bash                                                                                                                                                                    
evanr     189751  189743  0 11:38 pts/26   00:00:00 tail --follow /tmp/tmp.BdHnfgZk6Ivimg-189743-ueberzug                                                                                                                                                                                              
evanr     189752  189743  1 11:38 pts/26   00:00:01 /usr/bin/python3.9 /home/evanr/.local/bin/ueberzug layer --silent --parser bash                                                                                                                                                                    
evanr     189773  189766  0 11:38 pts/28   00:00:00 tail --follow /tmp/tmp.hFbojK3Vv0vimg-189766-ueberzug                                                                                                                                                                                              
evanr     189774  189766  1 11:38 pts/28   00:00:01 /usr/bin/python3.9 /home/evanr/.local/bin/ueberzug layer --silent --parser bash                                                                                                                                                                    
evanr     189795  189787  0 11:38 pts/31   00:00:00 tail --follow /tmp/tmp.F4QwE1TI5lvimg-189787-ueberzug                                                                                                                                                                                              
evanr     189796  189787  0 11:38 pts/31   00:00:00 /usr/bin/python3.9 /home/evanr/.local/bin/ueberzug layer --silent --parser bash 

❯ ps -elf | grep ueberzug | awk '{print $4 }' | xargs -I {} kill {} >/dev/null 2>&1

This command will stop the image from persisting on the screen, but it does not seem to help with the strange overlapping of images.

rogueinkamp avatar Jun 28 '22 16:06 rogueinkamp

This is happening in xfce terminal too

Edgar-Avila avatar Jul 06 '22 00:07 Edgar-Avila

same issue, using xst terminal, i can preview images on ranger just fine.

kasdeya avatar Jul 17 '22 22:07 kasdeya

i can preview images on ranger just fine.

vifm works perfectly too

Strongleong avatar Jul 18 '22 00:07 Strongleong

Looks like this project is abandon-ware. Let's wait until somebody fork it and will continue support

Strongleong avatar Jul 18 '22 00:07 Strongleong

This is also hapenning in st and alacritty. Is like ueberzug dont clean the layer

anrras avatar Sep 02 '22 18:09 anrras

Is like ueberzug dont clean the layer

I am using vifm with vifmimg image previewer, which use ueberzug to render images and it is works perfectly.

I think it is specifically plugin issue

Strongleong avatar Sep 02 '22 23:09 Strongleong

Also looks like this plugin pretty much abandoned. Sad :(

Strongleong avatar Sep 02 '22 23:09 Strongleong

Please post if you figure this out. Mine, on Alacritty, isn't clearing the previous image as well. Same behavior on Terminology, and Deepin.

doc1623 avatar Sep 08 '22 17:09 doc1623

Everything works as expected for me on both Alacritty and St... Only change I make in my config is this:

https://github.com/engeir/stowfiles/blob/6d2a8f3142d9ac2a0077d24c52b7080a644ef6ba/nvim_lua/.config/nvim/lua/engeir/telescope.lua#L34-L39

engeir avatar Sep 08 '22 17:09 engeir

I'm glad yours works. I guess, a config could be wrong, but I wouldn't be sure what setting.

doc1623 avatar Sep 08 '22 17:09 doc1623

Everything works as expected for me on both Alacritty and St...

Would you be able to link to your neovim config. I could try..and see?

doc1623 avatar Sep 08 '22 17:09 doc1623

Everything works as expected for me on both Alacritty and St... Only change I make in my config is this:

https://github.com/engeir/stowfiles/blob/6d2a8f3142d9ac2a0077d24c52b7080a644ef6ba/nvim_lua/.config/nvim/lua/engeir/telescope.lua#L34-L39

Well, I tried. Tried 'fd', 'rg', and 'fdfind'. No difference. 'rg' is what I had

doc1623 avatar Sep 08 '22 17:09 doc1623

I see. I had, at some point, the same problem, which is why I was subscribed to the issue. But then it just worked at some point. No idea why, didn't do anything myself and I only have the most standard config for it.

engeir avatar Sep 08 '22 17:09 engeir

I am sorry that we, anyone from the telescope-core team, hasnt responded to any issue in this repo. Extension in the org where always meant to be community maintained, this excludes fzf-native because its written by me, and the author of this extension disappeared.

I can merge PRs that fix this issue but i sadly cant spend time and tracking down the bug, i already have my hands full with telescope core and plenary.

So yeah this project is unmaintained. I know that this is a pretty sad reality and i am sorry that i cant change it anytime soon

Conni2461 avatar Sep 08 '22 17:09 Conni2461

@Conni2461 I can't complain, awesome plugins for neovim (to which I'm new). Thanks!

doc1623 avatar Sep 08 '22 18:09 doc1623

@engeir Thanks for trying! I could try and check logging. I wonder if I'm missing a dependancy for Überzug.

I do see

draw | Boolean | redraw window after adding the image, default True | Yes

from the repo

doc1623 avatar Sep 08 '22 18:09 doc1623

I think I fixed this....

dharmx avatar Dec 27 '22 23:12 dharmx

But it's a fork of a fork lol

dharmx avatar Dec 27 '22 23:12 dharmx