i3 icon indicating copy to clipboard operation
i3 copied to clipboard

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

Open skafiend opened this issue 1 year ago • 3 comments

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

skafiend avatar Oct 13 '24 12:10 skafiend

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 avatar Oct 13 '24 12:10 i3bot

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

Works as expected for me, can you share some logs?

orestisfl avatar Oct 27 '24 13:10 orestisfl

sure, https://logs.i3wm.org/logs/6286272247103488.bz2

skafiend avatar Oct 27 '24 13:10 skafiend