Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

see window around the Gnome-Pie graph #192

Closed
jerome-diver opened this issue Apr 20, 2021 · 5 comments
Closed

see window around the Gnome-Pie graph #192

jerome-diver opened this issue Apr 20, 2021 · 5 comments

Comments

@jerome-diver
Copy link

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
Copy link
Owner

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:

this.set_decorated(false);

But this is ignored by some. There is also the type hint, which makes some window managers remove decorations:
this.set_type_hint(Gdk.WindowTypeHint.DOCK);

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
Copy link
Author

jerome-diver commented Apr 21, 2021

@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
Copy link
Owner

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

@jerome-diver
Copy link
Author

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

@Schneegans
Copy link
Owner

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants