Files
zed/crates
Piotr Osiewicz f0d4d71e97 pane: Always notify status bar items on Pane::Focused events (#10275)
Due to peculiarities in handling of terminal panes (namely the fact that
they are not actually tracked by the Workspace::active_pane member), it
was possible to get into a state where status bar items "lost track" of
an active pane item; one way to reproduce it was to open a new terminal
via "workspace: new terminal" with a pane open in a central view; once a
new terminal is opened, the language selector and line number indicator
lose track of an active item. Focusing central view does nothing - it
will only go away after switching a tab in the central view.

To remedy this, we now always notify the status bar items of a pane
focus change, even if Workspace::active_pane points to the same pane.

Release Notes:

- Fixed status bar focus issues when spawning a terminal via `workspace:
new terminal` action.
2024-04-08 17:03:25 +02:00
..
2024-03-29 21:12:47 -04:00
2024-03-28 18:32:11 +01:00
2024-03-20 15:52:02 +01:00
2024-03-11 10:45:57 +01:00
2024-03-11 10:45:57 +01:00
2024-04-08 13:12:24 +02:00
2024-04-06 19:48:11 -07:00
2024-03-26 16:10:09 -07:00
2024-03-14 17:05:07 -04:00
2024-03-28 18:32:11 +01:00