Skip to content

Rounded corners and titlebars are inconsistent #1442

@widogg

Description

@widogg

I'm using Picom with I3 and I use rounded borders.

When using stacked or tabbed windows, the title bar and windwo gets rounded in all directions.

This means, the area where the title bar meets the window gets rounded in both directions. This doesn't happens on regular layouts and this is how (I think) should look like.

Here are 3 screenshots to try showing this. These examples use the exact same window.

Here are 2 windows, both are "tabbed"
Image

Here's one "regular" window and one tabbed
Image

Here are the same window, both "regular". This is how they should look all the time (to me)
Image

Other context:

  • I'm running stock Ubuntu 24.04
  • i3 version 4.23
  • polybar version 3.7.1
  • Still on Xorg
    • X.Org X Server 1.21.1.11
    • X Protocol Version 11, Revision 0

Here's my Picom configuration:

# General
backend = "glx";
glx-no-stencil = true
glx-swap-method=1;

vsync = true;
detect-rounded-corners = true;
#detect-rounded-corners = false;
detect-client-leader = false;
detect-client-opacity = true;

use-damage = true;
log-level = "error";
mark-ovredir-focused = true;

## Corners
corner-radius = 10;
rounded-corners-exclude = [
  "window_type = 'dock'",
  "window_type = 'desktop'"
];

## Shadow
shadow = false;

## fading
fading = true;
fade-delta = 6;
fade-in-step = 0.03;
fade-out-step = 0.03;
fade-exclude = [];

# Window Types
wintypes: {
  normal = { fade = true; opacity = 1; }
  tooltip = { fade = false; opacity = 1; focus = false; };
  dock = { fade = false; opacity = .95; }
  dnd = { fade = false; opacity = .9; }
  popup_menu = { opacity = 1; }
  dropdown_menu = { opacity = 1; }
};

blur-background-exclude = [
 "window_type = 'menu'",
 "window_type = 'dropdown_menu'",
 "window_type = 'popup_menu'",
 "window_type = 'tooltip'"
];

opacity-rule = [
  "100:class_g = 'Google-chrome'",
  "100:class_g = 'i3lock'",
  "100:class_g = 'gwenview'",
  "100:class_g = 'darktable'"
];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions