i3
i3 copied to clipboard
Ignoring round borders when creating new window
I'm submitting a…
[x] Bug [ ] Feature Request [ ] Documentation Request [ ] Other (Please describe in detail)
Current Behavior
When opening a new single window in an empty workspace, the borders are straight and not rounded, making me going floating mode and back to tiled to see the expected effect
Expected Behavior
Having rounded corners from the start, as soon as opening any new program.
Reproduction Instructions
Opening any program in an empty workspace
Environment
Output of i3 --moreversion 2>&-:
Binary i3 version: 4.16.1-184-g00181678 (2019-07-03, branch "makepkg") © 2009 Michael Stapelberg and contributors Running i3 version: 4.16.1-184-g00181678 (2019-07-03, branch "makepkg") (pid 4907)
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
for_window [class="^.*"] border pixel 0
exec_always --no-startup-id bash ~/Documentos/Programación/shell/startup_scripts.sh &
set $mod Mod4
# Font for window titles. Will also be used by the bar unless a different fegular 11
# is used in the bar {} block below.
font pango:Inconsolata 10
#font pango:Monospace 10
#font pango:Tamzen Regular 10
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# start a terminal
bindsym $mod+Shift+Return exec i3-sensible-terminal
# Define names for default workspaces for which we configure key bindings later on.
# We use variables to avoid repeating the names in multiple places.
set $ws1 "1"
set $ws2 "2"
set $ws3 "3"
set $ws4 "4"
set $ws5 "5"
set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
set $ws9 "9"
set $ws10 "10"
# Exclusive worspaces rules
assign [class="firefox"] $ws1
assign [class="pamac-manager"] $ws10
# class border bground text indicator child_border
client.focused #121212 #121212 #FFFFFF #121212 #5F676A
client.focused_inactive #333333 #5F676A #FFFFFF #484E50 #121212
client.unfocused #333333 #222222 #888888 #292D2E #121212
client.urgent #2F343A #655D9B #FFFFFF #655D9B #494370
client.placeholder #000000 #0C0C0C #FFFFFF #000000 #0C0C0C
client.background #FFFFFF
bar {
mode invisible
colors {
background #000000
statusline #FFFFFF
separator #666666
focused_workspace #4C7899 #285577 #FFFFFF
active_workspace #333333 #222222 #FFFFFF
inactive_workspace #333333 #222222 #888888
urgent_workspace #2F343A #900000 #FFFFFF
binding_mode #2F343A #900000 #FFFFFF
}
}
# Dropdowns
for_window [instance="calendar"] floating enable
for_window [instance="calendar"] sticky enable
# Thunar windows config
for_window [class="Thunar"] floating enable
for_window [class="Thunar"] resize set width 820 px
for_window [class="Thunar"] resize set height 480 px
for_window [class="Thunar"] move absolute position center
for_window [class="Engrampa"] floating enable
for_window [class="Engrampa"] resize set width 720 px
for_window [class="Engrampa"] resize set height 380 px
for_window [class="Engrampa"] move absolute position center
border_radius 10
# ==============================
# i3-gaps stuff :)
# ==============================
gaps inner 10
gaps outer 10
smart_borders on
new_window none
bindsym $mod+g exec ~/dotfiles/scripts/toggle_gaps.sh
#edit gaps mode
#########################################################################
set $mode_gaps Gaps: (o) outer, (i) inner
set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global)
bindsym $mod+Shift+g mode "$mode_gaps"
mode "$mode_gaps" {
bindsym o mode "$mode_gaps_outer"
bindsym i mode "$mode_gaps_inner"
bindsym Return mode "default"
bindsym Escape mode "default"
}
mode "$mode_gaps_inner" {
bindsym plus gaps inner current plus 5
bindsym minus gaps inner current minus 5
bindsym 0 gaps inner current set 0
bindsym Shift+plus gaps inner all plus 5
bindsym Shift+minus gaps inner all minus 5
bindsym Shift+0 gaps inner all set 0
bindsym Return mode "default"
bindsym Escape mode "default"
}
mode "$mode_gaps_outer" {
bindsym plus gaps outer current plus 5
bindsym minus gaps outer current minus 5
bindsym 0 gaps outer current set 0
bindsym Shift+plus gaps outer all plus 5
bindsym Shift+minus gaps outer all minus 5
bindsym Shift+0 gaps outer all set 0
bindsym Return mode "default"
bindsym Escape mode "default"
}
Logfile URL:
- Linux Distribution & Version: Manjaro Linux 18.1.3 - Are you using a compositor (e.g., xcompmgr or compton): Compton
Can confirm. Happens to some corners on some windows, otherwise round corners aren't set without reloading, which only applies to workspace one.

I am working with my own fork of i3, which has this merged into it. Basically an updated resloved/i3.
i3 --moreversion 2>&-
Binary i3 version: 4.17.1-144-g3f890a75 (2020-01-04, branch "gaps-next") © 2009 Michael Stapelberg and contributors
Running i3 version: 4.17.1-144-g3f890a75 (2020-01-04, branch "gaps-next") (pid 12075)
Loaded i3 config: /home/bella/.config/i3/config (Last modified: Thu Jan 9 14:26:41 2020, 56 seconds ago)
The i3 binary you just called: /usr/bin/i3
The i3 binary you are running: i3
This behavior seems to solve itself after restarting i3 completely
Nevermind, sometimes it comes back. Super inconsistent.
I'm not seeing the behavior after following the steps given. I'd need more reproduction steps sadly.
@S-B99 in particular I'd need steps from this fork not yours. I don't want to take into account anything from upstream (although I will have to merge eventually, but that's for another day and another issue)
I've tried your fork as well and I have the same issue. Sorry I didn't provide a ton of detail. It happens when opening some windows on a blank workspace, opening another window fixes it for all windows.

Fresh workspace doesn't seem to be an issue for me.
https://streamable.com/jtczw
It's going to be hard for me to track down without more information sadly. Could be a timing thing, something with your environment, or maybe I'm just reproducing it wrong. I'll leave this open, but I probably won't look into it unless a lot more people are running into this issue or something more concrete is found.
Ugh, sorry about that. Is your dotfiles repo current?
I just pushed a commit with some random changes so /dots should be up to date now.
If you want an alternative for rounded corners and already use compton take a look at this pull request.
I see you updated it just now. I'll try a fresh vm after exams and try to replicate it.
Oh lkasdkas you commented c: