Cannot open GNOME Application menu if title bar is hidden

REOPENED
Unassigned

Status

()

defect
P5
normal
REOPENED
2 years ago
23 days ago

People

(Reporter: hidenosuke, Unassigned)

Tracking

(Blocks 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

Reporter

Description

2 years ago
I can open GNOME Application menu by clicking title bar.
But when title bar is hidden I cannot open GNOME Application menu
by clicking anywhere.

In windows, I can open system menu by clicking upper left corner
on the window.
Reporter

Comment 1

a year ago
I think this bug is related to bug 1283299.
Depends on: gtktitlebar
Priority: -- → P2

Comment 2

a year ago
> I think this bug is related to bug 1283299.

Almost definitely ;)

Workaround in the meantime (works on any window, not just Firefox:

* Hold <Super> (the "Win" key) and right-click anywhere on the window; or
* <Alt>+<Space>
Reporter

Comment 3

a year ago
(In reply to moz-nuc from comment #2)
> > I think this bug is related to bug 1283299.
> 
> Almost definitely ;)
> 
> Workaround in the meantime (works on any window, not just Firefox:
> 
> * Hold <Super> (the "Win" key) and right-click anywhere on the window; or
> * <Alt>+<Space>

Thanks for your information.
This is very useful.
Blocks: gtktitlebar
No longer depends on: gtktitlebar
We can try implement that by right-click on close button. I just checked Windows 10 builds and it behaves the same way as the Linux/Gtk+ one.
This functionality can be implemented by gdk_window_show_window_menu() call.
Priority: P2 → P5
It's the same as on Windows, let's close it as WONTFIX then. Alt+Space or enabling titlebar at Customize also works.
Status: NEW → RESOLVED
Last Resolved: 9 months ago
Resolution: --- → WONTFIX

Comment 7

9 months ago
No, this should not be WONTFIX.

I am interpreting "title bar is hidden" as meaning the "Title Bar" checkbox in "Customize" is unticked, i.e. CSD enabled in Firefox.

Open any GNOME CSD application (e.g. Nautilus) and right-click on the header bar, and it shows the window manager's window menu (minimise, maximise, move, close, resize, always on top, etc.).

Firefox should behave consistently with any other CSD app when its title bar is hidden.

There is the problem that Firefox has a toolbar menu ("Remove from toolbar", "Customise" etc.), but this could be shown only when e.g. right-clicking a widget, and not "empty" space (i.e. toolbar spacers).

The close button also currently has no context menu, so at the very least the window manager menu could be shown on right click then.

Enabling titlebar in customise is not a solution for a user who wants CSD but wants to sometimes access the window manager menu - that's about 10 steps just to access a menu...!

Alt-Space is not a solution either because it's not a well-known shortcut.

Comment 8

9 months ago
A little trick on Ubuntu 18.04 is to right-click on the top resize margin of the window to show the application menu.
Okay, reopening if anybody wants to work on that.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
You need to log in before you can comment on or make changes to this bug.