i3 / i3

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

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

Open skafiend opened 1 week ago

skafiend commented 1 week ago

Welcome

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 2024-10-13_14-59_1

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

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

#=================================== 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

i3bot commented 1 week ago

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.)