-
Notifications
You must be signed in to change notification settings - Fork 32
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
Execute windows rules before creating wayland windows #207
Comments
Are you perhaps using wayland? |
@jstkdng yeah I am on hyprland with wayland. |
i knew it, those "animations" aren't really animations. U++ just creates wayland windows with an image and then moves them by using the wm's rules. Only way to fix that would be to first create the rules and then the windows but that'd need some more complex changes. |
@HenningCode
|
Maybe we could create the window one time and then make the window update its shown image. And make it invisible if nothing is shown. |
Sorry for the late replay. This kind of works, but the images are sometimes rendered in the middle of the screen first. So I think this but is still present? |
@jstkdng |
sorry for the late response, this has been implemented in https://github.com/jstkdng/ueberzugpp-new, do give it a try and provide feedback if you can @HenningCode that is expected as previews are just child windows |
Hi, I saw in this repos cmakelists that its possible to use the library as system library. Would this be possible for ueberzugpp-new as well? I think than it would be possible for me to build it on nixos and tests it. |
sure, run cmake with the option |
It's a huge improvement over current version in Wayland 1.mp4The only problem I faced is 2.mp4 |
it is indeed fast, and I believe it can be faster
yeah, the current solution is not robust enough and covers the simplest cases |
@jstkdng Thanks a lot. Got it compiling, but it does not work for me with Alacritty+yazi. Yazi is recognizing ueberzugpp 0.0.1 so I guess its the right version, but not pictures or pdfs are getting shown. |
@jstkdng I did some more testing and found that very few images are working. So ueberzugpp_new is doing something, but a lot of pictures are not working and pdf are not working at all. |
hm, that is weird, it should work fine unless yazi is doing something else on its side. I'll try to test yazi and see what's going on. |
@HenningCode I think it should be fixed now on master, please do test. Also, noticed yazi resizes the images before sending them to |
@BEST8OY that issue should also be fixed now, |
@jstkdng Some more pictures are loading, still not all. Also pdfs are not working at all. |
@HenningCode are you using the latest commit? pdfs work on my machine ™️ |
sure, run |
Okay this is a log. I selected images that work and pdfs and images that dont work. The ones working dont have these log messages
|
Hmmm, only INFO messages are being logged, seems SPDLOG_LEVEL is not reaching |
@jstkdng I just tested it with ranger now. Pictures are all getting shown now, but PDFs still no good. Also when using ranger no logs were created. I dont really know why... And I found another bug while in tmux. Pictures not not getting drawn in the right place. |
pdfs don't show with ranger afaik
tmux is not yet implemented
maybe ranger is overriding TMP_DIR or something under nixos |
Okay I just checked it with my Arch install I still had. There it works fine with yazi. Everything shows up. Seems to be an install issue from my side on nixos. Any ideas whentmux support will come? |
weird that it only happens with nixos
probably after gif support |
Hello,
sorry if this is already answered anywhere, but I cloud not find anything.
I am using Alacritty with Überzeug++ to preview images and it works flawlessly, but the images are "flying in" as some sort of animation. How can I turn this animation off?
Greetings
The text was updated successfully, but these errors were encountered: