wezterm
wezterm copied to clipboard
activate-pane Fail
What Operating System(s) are you seeing this problem on?
Linux Wayland
Which Wayland compositor or X11 Window manager(s) are you using?
Plasma v5 wl_compositor, version: 5, name: 1 wl_subcompositor, version: 1, name: 33
WezTerm version
20240508-081413-d2fa4e98
Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?
Yes, and I updated the version box above to show the version of the nightly that I tried
Describe the bug
Build from main:
-
wezterm 20240508-081413-d2fa4e98
To Reproduce
- Start in WezTerm pane:
- current window:
$WEZTERM_PANE => 616
- current window:
- Open new WezTerm window:
- new window:
$WEZTERM_PANE => 777
- new window:
- Apply
activate-pane
command -- Intention to (re-)activate, or return to, pane:616
- from new within pane:
777
. - No change, focus/activation stayed on the
777
pane.
- from new within pane:
- Use
wezterm cli send-text
activate original pane (id:616
) frombash
shell inxterm
session.- No change, focus/activation did not change to
616
pane.
- No change, focus/activation did not change to
- The command:
wezterm cli activate-pane --pane-id 616
from different pane (id =778
) in the same window as616
...- Worked as expected;
- Focus changed from the other pane (778) to the target pane 616
Configuration
(no config)
Expected Behavior
- Expect that:
activate-pane
command would change GUI focus to the target pane (and window).- E.g.:
--pane-id "616"
- E.g.:
- To set-focus/activate pane:
616
(and the window containing pane616
). - The
activate-pane
is expected to change focus to the target, e.g.:616
from any location. - Should work like the successful example:
wezterm cli activate-pane --pane-id 616
* Issued from another pane in the same window as616
.
Logs
There was nothing reported in the logs aviable. There is one entry following the spawn
--new-window
instruction:
ERROR wezterm_mux_server_impl::local > writing pdu data buffer: Broken pipe (os error 32)
Which is also emitted on the terminal (launched from bash session).
Anything else?
- See discussion: How to remain on current pane following --new-window