Forum Discussion

kinger's avatar
kinger
New Contributor
1 month ago
Solved

1Password on Linux missing window mgmt controls

Just installed 1Password (8.11.22) on Elementary OS 8.1 using a Debian package downloaded from 1password.com.  The application installed correctly and i am able to login and access my vault.  However the window controls for the app windows are missing.  The title bar is gray but does not have minimize/maximize/close.

Any ideas on how to correct?

 

  • Adding the technical resolution in case anyone else runs into this.  Follows is what support sent me and it worked like a charm.


    On elementary OS this behaviour is caused by an upstream limitation with Electron on Linux rather than a bug specific to 1Password. Native GTK applications work normally because they let the operating system draw the window title bar and controls (close, minimize, maximize). Electron apps, including 1Password, draw their own title bar and controls inside the app window instead (“client-side”window decorations).

    Eelementary OS does not fully support Electron’s approach to drawing its own window controls, particularly when running under Wayland, which can result in the controls not appearing at all. Electron documents that on Linux the responsibility for window controls is shared between the application and the desktop environment, which can lead to inconsistent behaviour across different window managers. This limitation is discussed directly in Electron’s issue tracker here: https://github.com/electron/electron/issues/44540

    As a workaround, forcing 1Password to run using X11 by running this command in Terminal: 1password --ozone-platform=x11 causes elementary OS to draw the window controls itself again, which restores the Closebutton (top left) and toggle between full screen (maximised) and windowed mode button (in the top right). You can also right click the menubar or tap Alt+Space on your keyboard to open additional settings from the menu that appears including Resize, Maximise or Hide, which may help workaround the limitation.

7 Replies

  • kinger's avatar
    kinger
    New Contributor

    Adding the technical resolution in case anyone else runs into this.  Follows is what support sent me and it worked like a charm.


    On elementary OS this behaviour is caused by an upstream limitation with Electron on Linux rather than a bug specific to 1Password. Native GTK applications work normally because they let the operating system draw the window title bar and controls (close, minimize, maximize). Electron apps, including 1Password, draw their own title bar and controls inside the app window instead (“client-side”window decorations).

    Eelementary OS does not fully support Electron’s approach to drawing its own window controls, particularly when running under Wayland, which can result in the controls not appearing at all. Electron documents that on Linux the responsibility for window controls is shared between the application and the desktop environment, which can lead to inconsistent behaviour across different window managers. This limitation is discussed directly in Electron’s issue tracker here: https://github.com/electron/electron/issues/44540

    As a workaround, forcing 1Password to run using X11 by running this command in Terminal: 1password --ozone-platform=x11 causes elementary OS to draw the window controls itself again, which restores the Closebutton (top left) and toggle between full screen (maximised) and windowed mode button (in the top right). You can also right click the menubar or tap Alt+Space on your keyboard to open additional settings from the menu that appears including Resize, Maximise or Hide, which may help workaround the limitation.

    • 1P_Timothy's avatar
      1P_Timothy
      Icon for Community Manager rankCommunity Manager

      Thanks for sharing that context and workaround! I'm glad to hear our team could help get things sorted. 

  • kinger's avatar
    kinger
    New Contributor

    Thanks 1P_Gem!  It is a brand new install of the OS.  No themes or tweaks.  All other apps work as expected and have the window controls present. I have applied system updates and restarted but the issue with 1Password is still present.

    • 1P_Gem's avatar
      1P_Gem
      Icon for Moderator rankModerator

      Hi kinger, thanks for confirming this for me!

      So that our team can dig into this further, I'd like to ask you to create and share a diagnostics report from 1Password for Linux:

      Send a diagnostics report

      Attach the diagnostics to an email message addressed to support@1password.com

      With your email please include:

      • A link to this thread: https://www.1password.community/discussions/1password/1password-on-linux-missing-window-mgmt-controls/166161
      • Your forum username: Kinger


      You should receive an automated reply from our BitBot assistant with a Support ID number.  Please post that number here.  Thanks very much!

      • kinger's avatar
        kinger
        New Contributor

        Thank you 1P_Gem​ ​!  I have sent a diagnostic file and associated info to the support address.  The support ticket ID is RLK-98321-175.

  • Hi kinger​ , welcome to the Community!

    I understand that 1Password for Linux is missing window controls on Elementary OS 8.1. To help narrow this down, could you answer a couple of questions for me?

    • Are window management controls missing for any other apps as well, or only for 1Password?
    • Are you running the default Elementary desktop environment, without any third-party themes or window manager tweaks?

     

    Looking forward to hearing from you!