Cannot get CopyQ to consistently open in current workspace
- Dominant language
- C++
- Stars
- 12.3k
- Forks
- 593
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 9
Description
Before creating a new issue, see list of [known
issues](https://copyq.readthedocs.io/en/latest/known-issues.html).
**Describe the bug**
I have mentioned this issue before in #2064 . Another similar issue is #1886
I am using [Herbstluftwm](https://github.com/herbstluftwm/herbstluftwm) window manager
When I use the keybind `hc keybind $Mod-q spawn copyq toggle` to toggle ` copyq` from any workspace/tag, it only appears in the workspace/tag from where it was called the first time.
Say I started copyq from workspace 3. Then I move to workspace 4. Toggle copyq, then it still appears in workspace 3.
However, this behaviour is not shown when I have a _tray software_ open like [`stalonetray`](https://github.com/kolbusa/stalonetray)
I have attached a video of the issue.
I use `env COPYQ_LOG_LEVEL=DEBUG copyq` to run `copyq`
https://imgur.com/a/Ll4aHq1
**To Reproduce**
1. Toggle `copyq` in a workspace
2. Hide it
3. Toggle `copyq` in another workspace
4. `copyq` still opens in the workspace used in step `
**Expected behavior**
`copyq` should always appear in the current workspace
**Version, OS and Environment**
(Get details from `copyq version` command if possible.)
-
```
CopyQ Clipboard Manager 7.0.0
Qt: 5.15.8
KNotifications: 5.104.0
Compiler: GCC
Arch: x86_64-little_endian-lp64
OS: Arch Linux
```
- Arch Linux
- Herbstluftwm window manager
**Additional context**
I opened a [discussion](https://github.com/herbstluftwm/herbstluftwm/discussions/1552) in the herbstluftwm repo
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.