# editor: Make buffer search bar capture CopyPath & CopyRelativePath actions \(\#38645\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/a0514af58955a21401b4c10918a45c9c241a4a74)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: a0514af58955a21401b4c10918a45c9c241a4a74

Requested commit: a0514af58955a21401b4c10918a45c9c241a4a74

Commit: a0514af58955a21401b4c10918a45c9c241a4a74

Tree: d4668a90f07fa4e981b0ebb3113957c81ae89c1a

Author: Miao

Committer: GitHub

## Message

```
editor: Make buffer search bar capture CopyPath & CopyRelativePath actions (#38645)

Closes #38495

Cause:

- When the Find input is focused, CopyPath/CopyRelativePath were handled
by the editor and stopped during the bubble phase, preventing
BufferSearchBar from relaying to the file-backed editor.

Release Notes:

- Fixes “Workspace: Copy Relative Path” not copying while the Find bar
is focused.
```

## Parents

- [c88fdaf02d82160a5d321c28f238320c08e965e5](https://git.cafe/gitcafe/zed/commit/c88fdaf02d82160a5d321c28f238320c08e965e5?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/a0514af58955a21401b4c10918a45c9c241a4a74?format=markdown)
