Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XembedSniProxy displaying a small black square #7130

Open
ErikReider opened this issue Aug 5, 2022 · 3 comments
Open

XembedSniProxy displaying a small black square #7130

ErikReider opened this issue Aug 5, 2022 · 3 comments
Labels
bug Not working as intended

Comments

@ErikReider
Copy link
Contributor

ErikReider commented Aug 5, 2022

Please fill out the following:

  • Sway Version:

    • sway version 1.8-dev-89d73bee (Aug 5 2022, branch 'master')
  • Debug Log:

  • Configuration File:
    Default config with Waybar (also reproducible with swaybar)

  • Description:

    • Run xembedsniproxy or start its user service (compiled from xembed-sni-proxy-git in the AUR)
    • Run a xembed supported application like iBus (ibus-daemon -drx) or a Windows program in Wine that supports the tray
    • Interact with the xembed tray icon (in my case: right click ibus icon)
    • Observe a black box randomly placed on the screen

image

image
Firefox was running in another workspace but right clicking the box interacted with different applications on other workspaces depending where I clicked

@ErikReider ErikReider added the bug Not working as intended label Aug 5, 2022
@progandy
Copy link
Contributor

progandy commented Aug 6, 2022

sway does not have special support for this tool, which might be necessary for the hacks and workarounds it uses. As far as i know, xembedsniproxy tries to move an X window to the position of your click, then simulate the click again to open the context menu at the desired position.

@ghost
Copy link

ghost commented Nov 13, 2022

I have the same issue. Weirdly enough the position seems to be random.
Example, if you hit the insert key to minimize osu!stable, the icon shows up in the right spot, but it isn't clickable. The black square that is somewhere else is clickable and it does bring osu! back.

@4e554c4c
Copy link
Contributor

i found this issue years ago (while working on #1234 back in 2017, blast from the past!) anyway point is that xembed-sni-proxy does crappy stuff like rendering a window offscreen that is totally unsupported in xwayland. I don't think that supporting this behaviour has ever been a goal of Sway, or Wayland in general.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not working as intended
Development

No branches or pull requests

3 participants