-
-
Notifications
You must be signed in to change notification settings - Fork 789
Open
Description
Compact-bar not clickable in full screen
Issue description
Using the default compact-bar
plugin, when the focused pane is in full screen, clicking other tabs in the compact-bar does not switch tab.
In fact the plugin does not receive any mouse event when the focused pane is in full screen. This comes from the get_pane_id_at
function in zellij-server/src/tab/mod.rs. This function always returns the full screened pane when there is one.
Minimal reproduction
From this layout.kdl
file:
layout {
tab name="Tab #1" hide_floating_panes=true {
pane
pane size=1 borderless=true {
plugin location="zellij:compact-bar"
}
}
tab name="Tab #2" focus=true hide_floating_panes=true {
pane
pane
pane size=1 borderless=true {
plugin location="zellij:compact-bar"
}
}
}
Then toggle full screen mode for a pane in the second tab, and click on Tab #1
on the compact-bar, and nothing happens.
Other relevant information
I managed to fix the issue by checking for non selectable panes if full screen is active. I will fill in a PR with my suggestion.
Metadata
Metadata
Assignees
Labels
No labels