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

Recent update positioning problem with lf #192

Closed
BEST8OY opened this issue May 11, 2024 · 10 comments
Closed

Recent update positioning problem with lf #192

BEST8OY opened this issue May 11, 2024 · 10 comments

Comments

@BEST8OY
Copy link

BEST8OY commented May 11, 2024

Hello
lf with st and X11

No lf(or lfub) process in background and run lfub and everything is fine
pic-window-240511-2035-09

Now I close lf (st terminal) and there is lf(and lfub) process in background and then run lfub, now you can see the positioning is off
pic-window-240511-2035-31

To fix I have to pkill lf
It was totally fine with 2.9.4

@BEST8OY
Copy link
Author

BEST8OY commented May 11, 2024

Not sure why the image in my NTFS partition turned into a black image
It's more clear in these screenshots
pic-selected-240511-2112-54
pic-selected-240511-2114-10

Update: Same problem with alacritty (but instead of going to the bottom it makes the image fullscreen. (to fix I have to pkill lf)

@jstkdng
Copy link
Owner

jstkdng commented May 11, 2024

Hello, try to reproduce the issue and post the log located in /tmp

@BEST8OY
Copy link
Author

BEST8OY commented May 11, 2024

Hello, try to reproduce the issue and post the log located in /tmp

No log.
Just some .socket files!

@jstkdng
Copy link
Owner

jstkdng commented May 11, 2024

there should be a logfile called /tmp/ueberzugpp-$USER.log

@BEST8OY
Copy link
Author

BEST8OY commented May 11, 2024

there should be a logfile called /tmp/ueberzugpp-$USER.log

Weird, I have no such file!
Bug video demonstration

231.mp4

My tmp foldr
pic-selected-240512-0150-01

@jstkdng
Copy link
Owner

jstkdng commented May 11, 2024

It is weird that no log file is being created but sockets are. I don't know why you don't have them but without those logs I can't do much.

Closing until you can provide the logs.

@jstkdng jstkdng closed this as completed May 11, 2024
@BEST8OY
Copy link
Author

BEST8OY commented May 12, 2024

@jstkdng Sorry. I forgot I've had .log files hidden!!!!!
ueberzugpp-best8oy.log

Another log
log.log

First run opens the images cache file.
but the second run (when lf is in background) opens the image files.

@jstkdng jstkdng reopened this May 12, 2024
@BEST8OY
Copy link
Author

BEST8OY commented May 12, 2024

The previous log is from ueberzugpp 2.9.5 from archlinuxcn repo
This log is from ueberzugpp 2.9.5 from AUR repo
The difference is that in second start of lf (already open in background) I can't see any image being loaded but in the build from archlinuxcn I could at least see the image is misplaced!
Example of ueberzugpp 2.9.5 built from AUR

2333333331.mp4
 _   _      _
| | | |    | |                                _     _
| | | | ___| |__   ___ _ __ _____   _  __ _ _| |_ _| |_
| | | |/ _ \ '_ \ / _ \ '__|_  / | | |/ _` |_   _|_   _|
| |_| |  __/ |_) |  __/ |   / /| |_| | (_| | |_|   |_|
 \___/ \___|_.__/ \___|_|  /___|\__,_|\__, |
                                       __/ |
                                      |___/     v2.9.5
[2024-05-12 21:58:27.044] [terminal] [info] TERM = st-256color
[2024-05-12 21:58:27.044] [terminal] [info] PTY = /dev/pts/0
[2024-05-12 21:58:27.151] [X11] [info] Canvas created
[2024-05-12 21:58:27.151] [main] [info] Listening for commands on socket /tmp/ueberzugpp-570115.socket
[2024-05-12 21:58:28.989] [main] [info] Command received: {"action":"add","identifier":"PREVIEW","max_height":46,"max_width":105,"path":"/home/best8oy/pic-full-240507-1535-35.png","x":105,"y":1}
[2024-05-12 21:58:29.071] [opencv] [info] loading file /home/best8oy/pic-full-240507-1535-35.png

 _   _      _
| | | |    | |                                _     _
| | | | ___| |__   ___ _ __ _____   _  __ _ _| |_ _| |_
| | | |/ _ \ '_ \ / _ \ '__|_  / | | |/ _` |_   _|_   _|
| |_| |  __/ |_) |  __/ |   / /| |_| | (_| | |_|   |_|
 \___/ \___|_.__/ \___|_|  /___|\__,_|\__, |
                                       __/ |
                                      |___/     v2.9.5
[2024-05-12 21:58:30.733] [terminal] [info] TERM = st-256color
[2024-05-12 21:58:30.734] [terminal] [info] PTY = /dev/pts/0
[2024-05-12 21:58:30.840] [X11] [info] Canvas created
[2024-05-12 21:58:30.840] [main] [info] Listening for commands on socket /tmp/ueberzugpp-570259.socket
[2024-05-12 21:58:33.786] [main] [info] Command received: {"action":"add","identifier":"PREVIEW","max_height":46,"max_width":105,"path":"/home/best8oy/pic-full-240507-1535-35.png","x":105,"y":1}
[2024-05-12 21:58:33.867] [opencv] [info] loading file /home/best8oy/pic-full-240507-1535-35.png
[2024-05-12 21:58:34.641] [main] [info] Command received: {"action":"remove","identifier":"PREVIEW"}
[2024-05-12 21:59:40.160] [main] [info] Exiting ueberzugpp

@jstkdng
Copy link
Owner

jstkdng commented May 18, 2024

ok, I was able to reproduce the issue and I think it works now. Please do test master.

@BEST8OY
Copy link
Author

BEST8OY commented May 18, 2024

ok, I was able to reproduce the issue and I think it works now. Please do test master.

Solved!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants