planify icon indicating copy to clipboard operation
planify copied to clipboard

Black borders around windows and dialog boxes

Open bfsgr opened this issue 6 years ago • 24 comments

Describe the bug When running the app under i3wm/Compton there's big black borders all around the window. The issue seems to be related with i3wm since disabling compton has no effect.

To Reproduce Steps to reproduce the behavior:

  1. Open the app while using i3wm

Expected behavior Not to have these borders

Screenshots plannerBug

Desktop

  • Fedora 31
  • i3wm 4.18

Additional context I tried to fix this by adding

.window-frame {
     box-shadow: none;
     margin: 0
}

to ~/.config/gtk-3.0/gtk.css but it didn't work. If I open the app with GTK_DEBUG=interactive and choose another theme besides elementary the problem seems to go away, so maybe the problem is there.

bfsgr avatar Mar 02 '20 23:03 bfsgr

I have the same issue when using awesomewm. But it happens only when the window is not set to maximized. EDIT: Also happens when using Openbox, bspwm or Dwm.

Hanouta avatar Mar 22 '20 18:03 Hanouta

I am having the same problem but it goes away when I switch it to fullscreen in bspwm, if I do this I cannot see everything because my polybars are blocking it. 2020-04-07-200103_1920x1080_scrot edit: the problem also goes away when I use the fullscreen button in the app. This issue still needs fixing. I am using the aur package.

PaxSov avatar Apr 07 '20 19:04 PaxSov

Can confirm that same issue also exists on Kbuntu 18.04

wax911 avatar Apr 08 '20 09:04 wax911

Same issue here, on i3wm 4.17.1

ricardoseriani avatar Apr 08 '20 14:04 ricardoseriani

Same here, KDE.

faelana avatar Apr 09 '20 03:04 faelana

Same issue on XFCE 4.14.

gokberkakdeniz avatar Apr 09 '20 11:04 gokberkakdeniz

I found its fix. https://github.com/alainm23/planner/issues/303

gokberkakdeniz avatar Apr 15 '20 11:04 gokberkakdeniz

Confirmed that the fix found in #303 works in Fedora 31 with i3wm in Planner 2.3.

It seems that the problem is in elementary theme, although I think this should be a concern of Planner, since it most definitely is going to keep users away, so if this css tweak can be added to the source code it should. I'm gonna wait feedback before closing this issue.

Solution:

Add the following code to your ~/.config/gtk-3.0/gtk.css

window decoration {
    box-shadow: none;
    margin: 1px;
}

bfsgr avatar Apr 15 '20 14:04 bfsgr

Can confirm that same issue also exists on Kubuntu 19.10 using official app from flathub. Only when window is not maximized.

Screenshot_20200419_115457

rolodoom avatar Apr 19 '20 17:04 rolodoom

Yes, the error only happens in KDE, for some reason KDE cannot draw a CSS box-shadow correctly, I have a solution for this but I still want to investigate further.

alainm23 avatar Apr 19 '20 17:04 alainm23

I'm using PopOS with regolith/i3wm and still see the same issue, even with the gtk.css patch mentioned in #303 .

EDIT: It displays correctly if I force the theme to Adwaita before launch (and the gtk.css patch is not needed):

flatpak --env="GTK_THEME=Adwaita" run com.github.alainm23.planner

EDIT2: Running with Adwaita breaks other parts though: adwaita

^ Adwaita

elementary

^ elementary

ankitson avatar May 24 '20 03:05 ankitson

Same issue on Qtile using the elementary-planner-git AUR package as of today. The mentioned gtk.css fix works.

Domesdos avatar Jun 09 '20 10:06 Domesdos

workaround doesn't work if you installed via flatpak. @alainm23 any chance you can push the update you tested out here? https://github.com/alainm23/planner/issues/303#issuecomment-614316932

gregflynn avatar Jun 30 '20 18:06 gregflynn

Same issue on debian buster with i3wm (flatpak)

volker-schukai avatar Sep 30 '20 13:09 volker-schukai

Unfortunately this is a bug in the elementary OS stylesheet that other applications like Akira also suffer from. It's unlikely we will fix it here.

We can reopen if elementary refuses the issue.

elementary/stylesheet#843

alainm23 avatar Oct 06 '20 03:10 alainm23

I still have this issue with label view in Plasma 5 https://i.imgur.com/8Qouv8C.png

When there is no task in this view the window look normal. As soon as I add tasks it gets a black frame.

The work around doesn't work for me. Installation from AUR on Manjaro.

omega3 avatar Dec 22 '20 16:12 omega3

Please, reopen this issue. It is not about KDE or elementary OS, I am running LXQt on Lubuntu 20.04.1 LTS (no i3 wm) and same bug with black borders. Installed via flatpak. Workarounds does not work.

jerry-ne avatar Dec 29 '20 07:12 jerry-ne

Same problem with Manjaro/i3, the workaround fixes the black borders for the main window but not for other secondary windows, especially when using the feature to open a secondary window to get a kind of memo.

almandin avatar Jan 04 '21 15:01 almandin

Having the same issue on Xubuntu using both Compiz Fusion and XFWM4. Screenshot_2021-01-05_11-46-48

Flare183 avatar Jan 05 '21 16:01 Flare183

I still have this issue on bspwm.

xxyangyoulin avatar Feb 21 '21 06:02 xxyangyoulin