GNOME Bugzilla – Bug 736420
Don't user GtkHeaderBar as decoration out of gnome-shell
Last modified: 2018-05-22 15:53:01 UTC
Some environments don't support GtkHeaderBar decoration well/prefer to use wm decorations for their application due to consistency reason. It would be nice if evince had a flag/runtime option to allow using normal decorations
Sebastien, since you keep advocating for this, can you please provide people with links to the best practice for this, instead of just asking for a 'flag/runtime option' ? Thats a recipe for divergence, and that can't be in your interest either.
Created attachment 288918 [details] GtKHeaderBar shows extra buttons on KDE
I think that the GtkHeaderBar “decoration-layout” property should either: 1. Not default to showing things that KDE already shows. I think the problem is described here: The “gtk-decoration-layout” property https://developer.gnome.org/gtk3/stable/GtkSettings.html#GtkSettings--gtk-decoration-layout Default value: "menu:minimize,maximize,close" The default should have been: "" Why is it up to other wm like KDE to set this value to NULL? 2. The widget-show code should search around to make sure gnome is the desktop before showing things that gnome does not show (like the min/max/close buttons). I've added the image of who a GtkHeaderBar looks on KDE.
kde could avoid this problem by including an xsettings manager.
can you suggest an xsettings manager or is that something that must still be created.
looks like there is something called xsettings-kde: https://apps.fedoraproject.org/packages/xsettings-kde Note that it will need to learn about some of the new (gtk-specific) xsettings that we've added to deal with client-side-decorations.
I installed that and confirm that it makes no difference (probably for the reason you mention).
After last update evince window does not have KDE decoration at all. To put it in a polite way - it is pretty annoying that evince does not respect window manager decoration. I like when all the "fatal" widgets are at right corner of the title bar and harmless things, like "minimise" and "maximise", are at left corner. From layman point of view this user interface is inconsistent with window manager. I will prefer application to check environment and behave like law-abiding member of the environment. Arch Linux 64bits, evince 3.14.1-1, kde 4.14.1-2 if it is of any use.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/512.