Gala: Header context menu on not-native apps

Created on 14 Feb 2018  路  17Comments  路  Source: elementary/gala

In native apps we can open header context menu with some useful options like "Always on top". But with another apps we can't. Looks like this is only for GTK3 apps. But I remember that earlier, in previous version of elementary, we can do it with any app.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Most helpful comment

It appears Juno stable no longer has menus at all, on native or legacy decorations. I can open a new issue, but I'm not sure if this (or #339) is related.

All 17 comments

@Djaler It's also possible on third party apps...

bildschirmfoto von 2018-02-14 21 32 58

@artemanufrij That app (GraphUI) is also made with GTK-3:
https://github.com/artemanufrij/graphui/blob/master/CMakeLists.txt#L20

Examples would be Chromium and Electron based apps like Atom and Gitkraken.

I can confirm that this happens to me in Firefox. This should be related with the fact that the title bar doesn't appear in screenshots.

screenshot from 2018-02-26 10 20 44

Just wanted to note that this also effects the menu button that can be added via dconf:

image

Repro:

1) With dconf, set org > pantheon > desktop > gala > appearance : button layout to: close,menu:maximize.
2) Open an non-gtk application (I've tested with Firefox and VLC)
3) Click the menu button

Expected behavior:

The window menu is displayed

Actual Behavior:

The menu is not displayed; pressing the button has no effect.

Closing because this was fixed in #179

Reopening because apparently this wasn't ever fixed in #179, and #338 was opened as a dupe.

I've created a new virtual Juno installation with all the latest daily stuff, installed VirtualBox in the live session (it's a common non-GTK app), and right-clicked the VirtualBox title bar. No menu, but a new journal entry with every right click:

screenshot von 2018-09-20 19 53 51

It appears Juno stable no longer has menus at all, on native or legacy decorations. I can open a new issue, but I'm not sure if this (or #339) is related.

Actually I now found I don't have any context menus anywhere on headerbars nor titlebars, I have no idea why :O I'm super-puzzled now.

Edit: aha, I don't have them anywhere, even if i right-click on this page - so probably different problem..? Weird regardless

Hello, I'm also getting no menus at all in any app.
I am however using Gala on Xfce instead of Pantheon.
Any idea how I can fix this..?
Thanks!!

Are you up to date? For me it solved itself after some reboots and/or updates.

Yup, I'm building from master on GitHub.

I am no longer able to reproduce this on a fresh Juno install, on loDPI or HiDPI. Is anyone else still seeing this in Juno? :grimacing:

@nkkollaw if that's _all_ context menus鈥攏ot just ones in titlebars/headerbars鈥攖hen it would be a separate issue. Please file it so the developers can see it and take a look.

I have titlebar menus everywhere just fine, even GTK2, snaps, flatpaks, all work. Up-to-date Juno, 11" HD monitor.

Lucky you!

This should be fixed again

This should be fixed again

Has the fix been pushed in a prior update or is it yet to be released?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

peteruithoven picture peteruithoven  路  3Comments

bencemozsar picture bencemozsar  路  3Comments

danrabbit picture danrabbit  路  3Comments

uncertainquark picture uncertainquark  路  4Comments

wout picture wout  路  3Comments