i3 / i3

A tiling window manager for X11
https://i3wm.org/
BSD 3-Clause "New" or "Revised" License
9.39k stars 771 forks source link

Window from the scratchpad isn't shown on activation #4445

Open AdamantGarth opened 3 years ago

AdamantGarth commented 3 years ago

I'm submitting a…

[x] Bug ?
[x] Feature Request ?
[ ] Documentation Request
[ ] Other (Please describe in detail)

Current Behavior

When a window that exists is in the scratchpad (in my case - Telegram) gets activated (by clicking on a tray icon, or a notification) - nothing happens.

Expected Behavior

I'd expect the window to be shown in such case. It seems that the issue #2455 was about something similar and it got resolved. Also, the focus_on_window_activation focus option works correctly with Telegram, i.e. when I click on the tray icon or a notification - i3 jumps to the workspace with Telegram on it. That's why I think this might be a bug.

Reproduction Instructions

  1. Put the Telegram window (or any other that behaves the same on activation, I'm not really sure how activation works in different programs) in the scratchpad.
  2. Click on the tray icon (or a notification).

Environment

Output of i3 --moreversion 2>&-:

Binary i3 version:  4.19.2 (2021-02-27) © 2009 Michael Stapelberg and contributors
Running i3 version: 4.19.2 (2021-02-27) (pid 12345)
Loaded i3 config: /home/username/.config/i3/config (Last modified: 1144 seconds ago)

The i3 binary you just called: /usr/bin/i3
The i3 binary you are running: i3

Config file

The only relevant line there is focus_on_window_activation, I think, but here you go: https://github.com/AdamantGarth/dotfiles/blob/master/i3/config#L17


i3bot commented 3 years ago

Please note that new features which require additional configuration will usually not be considered. We are happy with the feature set of i3 and want to focus in fixing bugs instead. We do accept feature requests, however, and will evaluate whether the added benefit (clearly) outweighs the complexity it adds to i3.

Keep in mind that i3 provides a powerful way to interact with it through its IPC interface: https://i3wm.org/docs/ipc.html.