Skip to content

When using wl-copy/wl-paste (wl-clipboard) the dock shows up although Terminal is maximized #2724

@zinga666

Description

@zinga666

What Happened?

Note: I don't know if this is the same issue as #2630 and neither if it is an issue of gala or the dock but I guess it is some window focus/state problem (hence I put it here).

I use neovim in a maximized terminal window for editing code and the dock shows up and hides all the time although it is configured to "hide when the focused window overlaps the dock".

Usually this is not an issue and since it happens only when deleting/yanking/pasting text in neovim I figured it might have to do with wl-copy/wl-paste which is needed in neovim on Wayland to access the system clipboard.

And indeed I could reproduce the issue just using wl-copy/wl-paste in a maximized terminal window.

Steps to Reproduce

  1. sudo apt install wl-clipboard (provides wl-copy/wl-paste).
  2. Configure the dock to "hide when the focused window overlaps the dock".
  3. Open terminal window and maximize it.
  4. In the terminal execute wl-copy hello dock.
  5. In the terminal execute wl-paste several times.

At some point the dock shows up although it shouldn't and does not hide again. The terminal window is still focused though and executing another wl-paste hides it.

Hovering the dock with the mouse does not hide the dock.

Image

Expected Behavior

The dock should stay hidden.

OS Version

8.x (Circe)

OS Architecture

amd64 (on most hardwares)

Session Type

Secure Session (Wayland, This is the default)

Software Version

Latest release (I have run all updates)

Log Output

Hardware Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    ConfirmedVerified by someone other than the reporter

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions