This problem happens only in some terminal emulator, such as wezterm and kitty.
When I execute zathura some.pdf in wezterm in my shell,
the window opens normally but it appears under the wezterm window and didn't focus on it.
It is raised (like xdotool windowraise) but not focused (like xdotool windowactive).
When using konsole, alacritty, gnome-terminal, it focuses on the pdf viewer normally.
If lauching from rofi or krunner, it focuses on it normally too.
It seems that neither kitty nor wezterm use gui frameworks like GTK so it might be the point?
On GitLab by @omelet on Mar 23, 2023, 08:45
I'm using KDE plasma with Linux X11.
This problem happens only in some terminal emulator, such as wezterm and kitty.
When I execute
zathura some.pdf
in wezterm in my shell, the window opens normally but it appears under the wezterm window and didn't focus on it. It is raised (likexdotool windowraise
) but not focused (likexdotool windowactive
).When using konsole, alacritty, gnome-terminal, it focuses on the pdf viewer normally. If lauching from rofi or krunner, it focuses on it normally too.
It seems that neither kitty nor wezterm use gui frameworks like GTK so it might be the point?
reference: https://github.com/wez/wezterm/issues/3324
EDIT: current zathura version:
The problem will still happen without the plugin.