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

command criteria ignore class when container without window is focused #6037

Open
2 tasks done
orestisfl opened this issue May 3, 2024 · 0 comments
Open
2 tasks done
Assignees
Labels
4.23 bug reproducible A bug that has been reviewed and confirmed by a project contributor

Comments

@orestisfl
Copy link
Member

Welcome

  • Yes, I'm using the latest major release or the current development version. These are the only supported versions.
  • Yes, I've searched similar issues and discussions on GitHub and didn't find any.

Current Behavior

When a criteria sequence with multiple criteria (e.g. con_id and class) is executed in a command, i3 will not check the class criterion if the focused container is not a window (e.g. a workspace)

Expected Behavior

i3 should check all criteria

Reproduction Instructions

bindsym $mod+g [con_id=__focused__ class="firefox"] exec notify-send "this is a browser"

and press $mod+g on an empty workspace

i3 version

Binary i3 version:  4.23-28-g5834b7e8 © 2009 Michael Stapelberg and contributors
(Getting version from running i3, press ctrl-c to abort…)
�[KRunning i3 version: 4.23-28-g5834b7e8 (pid 2740)
Loaded i3 config:
  /home/orestis/.config/i3/config (main) (last modified: 2024-05-03T10:48:18 CEST, 1644 seconds ago)
  /home/orestis/dotfiles/i3/.config/i3/include/appearance.config (included) (last modified: 2024-04-28T12:00:01 CEST, 429341 seconds ago)
  /home/orestis/dotfiles/i3/.config/i3/include/bar.config (included) (last modified: 2024-04-28T12:00:01 CEST, 429341 seconds ago)
  /home/orestis/dotfiles/i3/.config/i3/include/bindsym.config (included) (last modified: 2024-04-29T10:24:09 CEST, 348693 seconds ago)
  /home/orestis/dotfiles/i3/.config/i3/include/modes.config (included) (last modified: 2022-07-02T11:55:46 CEST, 57971996 seconds ago)
  /home/orestis/dotfiles/i3/.config/i3/include/windows.config (included) (last modified: 2023-11-11T18:08:27 CET, 15005235 seconds ago)
  /home/orestis/dotfiles/i3/.config/i3/include/workspaces.config (included) (last modified: 2023-03-15T13:11:44 CET, 35845438 seconds ago)

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

Config file

bindsym $mod+g [con_id=__focused__ class="firefox"] exec notify-send "this is a browser"

Linux distribution & Version

arch

Are you using a compositor?

I am sure I don't run any compositor

Logfile

No response

@orestisfl orestisfl added bug reproducible A bug that has been reviewed and confirmed by a project contributor labels May 3, 2024
@i3bot i3bot added missing-log Read the CONTRIBUTING.md file for instructions 4.23 labels May 3, 2024
@orestisfl orestisfl self-assigned this May 3, 2024
@orestisfl orestisfl removed the missing-log Read the CONTRIBUTING.md file for instructions label May 3, 2024
@i3 i3 deleted a comment from i3bot May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.23 bug reproducible A bug that has been reviewed and confirmed by a project contributor
Projects
None yet
Development

No branches or pull requests

2 participants