Add GTK headerbar menu options to Chrome's top frame menu
Reported by
ola...@gmail.com,
Nov 6
|
|||||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36 Steps to reproduce the problem: 1. open chrome app as window 2. mouse right click on the window title bar 3. no standard window menu items like "always on top", "always visible on all workspaces" or "only on this workspace" What is the expected behavior? possibility to share or move the chrome app window between desktop workspaces What went wrong? no ubuntu standard menu items in the right-click menu on the title bar of the chrome app window Did this work before? Yes 69 Chrome version: 70.0.3538.77 Channel: stable OS Version: Ubuntu 16.04.5 LTS, 4.4.0-137-generic, x86_64 Flash Version: 31.0.0.122
,
Nov 8
Thanks for filling the issue... Tried to reproduce the issue on chrome browser 70.0.3538.77 using Ubuntu 14.04. Attaching screenshot for reference. Steps: ----- 1. Launched reported chrome 2. Right click on the window title bar As we are able see the "always on top" and not seen "always visible on all workspaces" or "only on this workspace" >> Observed the same behavior from M-60 to latest chrome m-72 (72.0.3604.0) as attached screenshot. @Repoter: Could you please check the attached screen cast and please let us know if anything missed from our end and could you please confirm the issue specific to Ubuntu 16.04.5 or not. Note:As we have not found chrome app (As per step-1 in the comment #0). Hence tested the issue using chrome browser. Thanks..!
,
Nov 9
You have opened a normal chrome window. Its title bar in Ubuntu 16.04 is all right (see Screenshot_normal_chrome_window.png). I try to clear the problem based on Screenshots: 1. Screenshot_chrome_apps_overview.png - overview of apps in my chrome, where the HipChat web-client is linked and configured to be opened in a separate window 2. Screenshot_hipchat_app_window.png - the window of Hipchat client with right-click menu on its title bar. As You can see, the menu has no expected items. The same behavior You can reproduce for example with Spotify presented as PWA in the Chrome 70 News, see https://developers.google.com/web/updates/2018/10/nic70
,
Nov 9
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Nov 12
Thanks for the feedback... As per comment #3, retired the issue on reported chrome 70.0.3538.77 using Ubuntu 14.04 and 17.10. Attaching screenshot for reference. Steps: ----- 1. Launched chrome 2. Installed and opened Spotify (PWA), as we have not found Hipchat app (attaching screenshot for reference) and also tried with https://killer-marmot.appspot.com/web 3. Right clicked app title window As we have observed "always on top " and not seen always visible on all workspaces. @Reporter: Could you please check the attached screenshot and please let us know if anything missed from our end and verify this issue with fresh profile that is not having any extensions and apps or reset all the flags. Let us know whether issue still persists. Thanks..
,
Nov 13
Hello. I tested again on Ubuntu 18.04.1 LTS with Chrome 70.0.3538.102 and a fresh profile: the same behavior. See screenshots: 1. Screenshot_Spotify_App.png - Spotify installed as app in Chrome 2. Screenshot_Spotify_Window_with_context_menu.png - Spotify app window with opened context menu. As You see I still have the same right-click menu in here. 3. Screenshot_Spotify_Window_with_3_dots_menu.png - Spotify app window with opened "3 dots" menu I suspect something is wrong with your Ubuntu, maybe You have changed some default OS settings? Because: a. each normal application window in Ubuntu should have this 4/5 right-click menu items: "always on top", "always visible on all workspaces", "only on this workspace", "move to workspace top/down/right/left". But You have only "always on top". b. The title bar of your Spotify window does not have "3 dots" menu (see my screenshot or screenshot in the Chrome presentation https://developers.google.com/web/updates/2018/10/nic70)
,
Nov 13
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Nov 13
Thanks for the feedback.. As per comment #6, retried the issue on reported chrome 70.0.3538.77 using ubuntu 14.04, 17.10 and 16.04, as we are unable to reproduce the issue from our end. As per comment #6, this issue seems to be reproducible on Ubuntu 18.04.1 LTS, hence adding TE-NeedsTriageFromMTV for further investigation of the issue.
,
Nov 13
CC'ing Dev.
,
Nov 15
**UI mass Triage** As per C#8,adding appropriate labels.
,
Nov 19
The menu options Chrome provides are different from the one your window manager provides. You can enable WM-provided menus by disabling Chrome's client side decorations. You can do this by right-clicking on the tabstrip and selecting "Use system titlebar and borders". When using client side decorations, we probably want to add at least all of the ones GTK adds. For reference, on my machine, Chrome has: Minimize Maximize New tab Reopen closed tab Use system titlebar and borders Close And GTK has: Minimize Maximize Move Resize Always on top Always on visible workspace Only on this workspace Move to another workspace Close
,
Nov 21
Hello @thomasanderson. Your suggestion works only for a normal chrome window, but unfortunately not for a chrome app window (see screenshots above). How can I enable "Use system titlebar and borders" for such windows? Thanks. |
|||||||||
►
Sign in to add a comment |
|||||||||
Comment 1 by viswa.karala@chromium.org
, Nov 7