Schneegans / Gnome-Pie

A pie menu launcher for linux. Read the release announcement of version 0.7.2 at https://schneegans.github.io/news/2018/10/30/gnome-pie-072 Or have a look at the homepage!
http://schneegans.github.io/gnome-pie.html
MIT License
309 stars 54 forks source link

see window around the Gnome-Pie graph #192

Closed jerome-diver closed 3 years ago

jerome-diver commented 3 years ago

On archlinux i didn't see this window container around the gnome-pie graph. On Fedora-34, i do install it from github clone then compile, and i see the window container. What i did wrong and how to fix this please ?

Schneegans commented 3 years ago

This behavior strongly depends on the window manager and there seems to be no real ubiquitous solution. Which window manager are you using? Gnome-Pie actually requests a not-decorated window: https://github.com/Schneegans/Gnome-Pie/blob/02e26da4ee56c3874df20dc49336ede07acce107/src/renderers/pieWindow.vala#L128 But this is ignored by some. There is also the type hint, which makes some window managers remove decorations: https://github.com/Schneegans/Gnome-Pie/blob/02e26da4ee56c3874df20dc49336ede07acce107/src/renderers/pieWindow.vala#L127 You could try another type hint there. Here's a list: https://valadoc.org/gdk-3.0/Gdk.WindowTypeHint.html For example, this.set_type_hint(Gdk.WindowTypeHint.SPLASHSCREEN); could work.

jerome-diver commented 3 years ago

@Schneegans I'm using Awesome tiling Window Manager. When i use it under Archlinux with Gnome-Pie; these window container doesn't appear, and under Fedora-34 with awesome, it does appear.

So good to know about the Vala code on pieWindow.vala code... mine has DIALOG container on line 127 for public (class ? (i don't know Vala language, but it seems to be a class)) PieWindow(). set_decorated variable is already false value defined.

I tryed to change DIALOG by DOCK and it is far better... now i don't have this window container, but still get the green border color that awesome-wm-nice show me for selected "container", but i think i can do something from Awesome to add an exception to not design the border on this Gnome-Pie container.

I consider the problem to be partialy resolved (then tyhank you @Schneegans for your great help), but still would be happy to know why it does not happen under Archlinux that it do happen inder Fedora with the same Awesome WM... i have to check this part of the Vala source code to compare, maybe. Or there is something more ?

Schneegans commented 3 years ago

Did you compile it on Arch from source as well? Maybe the package maintainers modified this part?

jerome-diver commented 3 years ago

No, from AUR repo named "gnome-pie-git"

Schneegans commented 3 years ago

Maybe they took the develop branch of Gnome-Pie. There it's set to DIALOG.