i3 / i3/i3

Move Absolute Position Command Fails to Execute on First Invocation of Keybinding

Open
#6,266 3 comments 0 reactions 0 assignees View on GitHub
4.23 bug waiting
Dominant language
C
Stars
10.6k
Forks
822
PR merge metrics
No merged PRs in 30d

Description

### Welcome

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

### Current Behavior

The window becomes floating, the border disappears, and the size changes, but the window does not move to the center.

### Expected Behavior

The window becomes floating, the border disappears, the size changes, and the window moves to the center
![2024-10-13_14-59](https://github.com/user-attachments/assets/5be59a78-3c71-4f01-ae1c-a2692eb4224f)
![2024-10-13_14-59_1](https://github.com/user-attachments/assets/57e558bc-a0a8-4b22-9b49-c69acc84ac38)

### Reproduction Instructions

1. Open a window (e.g., a terminal or a browser).
2. Press Ctrl + $mod + f to invoke the keybinding.
3. Observe the window's behavior: the window becomes floating, the border disappears, and the size changes, but the window does not move to the center.
4. Press Ctrl + $mod + f again.
5. Observe that the window now moves to the center as expected.

### i3 version

```text
Binary i3 version: 4.23 (2023-10-29) © 2009 Michael Stapelberg and contributors
Running i3 version: 4.23 (2023-10-29) (pid 1960)
Loaded i3 config:
/home/skafiend/.config/i3/config (main) (last modified: Sun 13 Oct 2024 02:50:16 PM MSK, 381 seconds ago)

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

### Config file

```text
#=================================== COLORS ============================

# Use Mouse+$mod to drag floating windows to their wanted position
# floating_modifier Mod1
floating_modifier Ctrl
bindsym Alt_L nop
set $mod mod1
bindsym $mod+shift+r restart

font pango:JetBrainsMono Nerd Font, Mono 10

gaps outer 1
gaps inner 4

smart_gaps on
hide_edge_borders smart
focus_on_window_activation focus
focus_follows_mouse yes

bindsym Ctrl+$mod+f floating enable, border none, resize set 1920 1080, move absolute position center
```

### Linux distribution & Version

OS: Fedora Linux 40 x86_64 Kernel: Linux 6.10.12-200.fc40.x86_64

### Are you using a compositor?

picom

### Logfile

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.