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

Using horizontal i3bar padding results in offsetted workspace button click coordinates #5476

Closed
cipriancraciun opened this issue Apr 7, 2023 · 2 comments · Fixed by #6064
Labels
4.22 bug reproducible A bug that has been reviewed and confirmed by a project contributor

Comments

@cipriancraciun
Copy link

I'm submitting a…

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

Current Behavior

When using padding 0 64 in the bar section of the configuration file, in order to click on the workspace buttons, one has to click in the "original" position (as without the padding). Clicking at the "visual" coordinates (i.e. where the button is actually drawn) doesn't work.

Expected Behavior

When one uses padding 0 64 to introduce horizontal padding in the i3bar display, click coordinates should take the padding into account when it comes to workspace buttons.

Reproduction Instructions

Set padding 0 64 in the bar section of the configuration file, then open a few workspaces, and try to click on their buttons in the bar.

Environment

Output of i3 --moreversion 2>&-:

Binary i3 version:  4.22 (2023-01-02) © 2009 Michael Stapelberg and contributors
Running i3 version: 4.22 (2023-01-02) (pid 13239)
Loaded i3 config:
  /home/ciprian/.config/i3/config (main) (last modified: Fri Apr  7 12:40:53 2023, 9296 seconds ago)

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

(If the bug is not easily reproduceable, I can try to provide a minimum configuration file. However, I didn't apply many changes to my configuration file.)

- Linux Distribution & Version: openSUSE Tumbleweed (rolling release)
- Are you using a compositor (e.g., xcompmgr or compton): no, plain XOrg, on multiple monitors;
@i3bot i3bot added bug missing-log Read the CONTRIBUTING.md file for instructions labels Apr 7, 2023
@i3bot
Copy link

i3bot commented Apr 7, 2023

I don’t see a link to logs.i3wm.org. Did you follow https://i3wm.org/docs/debugging.html? (In case you actually provided a link to a logfile, please ignore me.)

@i3bot i3bot added the 4.22 label Apr 7, 2023
@saurik
Copy link

saurik commented Mar 27, 2024

FWIW, I'm also seeing this issue (with i3 from Arch).

Binary i3 version:  4.23 (2023-10-29) © 2009 Michael Stapelberg and contributors
Running i3 version: 4.23 (2023-10-29) (pid 1176)
Loaded i3 config:
  /home/saurik/.i3/config (main) (last modified: Tue 26 Mar 2024 06:45:27 PM PDT, 66 seconds ago)

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

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

Successfully merging a pull request may close this issue.

4 participants