Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Items in the Menu Bar are invisible on Ubuntu 18.10 when atom window is focused. #18535

Description

@bagratte

Prerequisites

Description

Items in the Menu Bar are invisible on Ubuntu 18.10 when atom window is focused.

Steps to Reproduce

  1. Launch Atom.

Expected behavior: Menu Bar items (File, Edit, etc) visible.

Actual behavior: Menu Bar items invisible.

Reproduces how often: Always.

Versions

Atom : 1.33.0
Electron: 2.0.11
Chrome : 61.0.3163.100
Node : 8.9.3

apm 2.1.2
npm 6.2.0
node 8.9.3 x64
atom 1.33.0
python 2.7.15+
git 2.19.1

Distributor ID: Ubuntu
Description: Ubuntu 18.10
Release: 18.10
Codename: cosmic

Linux buddy 4.18.0-11-generic #12-Ubuntu SMP Tue Oct 23 19:22:37 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Ubuntu is apt-upgraded as of today.

Additional Information

screenshot from 2018-12-03 13-09-52
screenshot from 2018-12-03 13-11-23

Activity

  1. bliepp commented on Dec 3, 2018

    @bliepp

    For me, too. Updated today. (Ubuntu 18.10, too)

  2. Seb182 commented on Dec 3, 2018

    @Seb182

    For me, too. Updated today. (Ubuntu 18.10, too, snap)

  3. njee commented on Dec 3, 2018

    @njee

    I had the same problem! After tweaking ubuntu to default theme for applications (Adwaita) the menu text reappeared! Hope this helps?

  4. holayeah commented on Dec 3, 2018

    @holayeah

    Same issue, after new atom installation.

  5. rsese commented on Dec 3, 2018

    @rsese
    Contributor

    Thanks for the report! Just noting that I can't reproduce on Ubuntu 18.04 with 1.33.0.

    Did anyone seeing this issue have previous versions of Atom installed and can confirm if this behavior is new to 1.33.0 on Ubuntu 18.10?

    For me, too. Updated today. (Ubuntu 18.10, too, snap)

    The Snap installation is unofficial and not supported by us. @bagratte - you used the official package repository to install Atom yes?

  6. added
    linux
    on Dec 3, 2018
  7. rsese commented on Dec 3, 2018

    @rsese
    Contributor

    Looks like this is an Electron issue:

    electron/electron#15194 and electron/electron#15194 (comment)

  8. jeremie2 commented on Dec 4, 2018

    @jeremie2

    I have tried the other themes available in the Gnome Tweak Tool and they work perfectly, the menu bar is visible.
    So this problems seems to be related to the default theme "Yaru". Also the dark variant "Yaru-dark" works as expected.

  9. williamcanin commented on Dec 5, 2018

    @williamcanin

    Same problem here. I hope they solve this, I like the clear theme in Ubuntu 18.10, and only the dark theme does not stay that way. If someone knows how to get around without changing the theme, thank you.

  10. tekvsakdan commented on Dec 7, 2018

    @tekvsakdan

    Ubuntu 18.10. Menu bar is invisible if Adapta theme is enabled. It works fine with the default theme Yaru.

  11. zypro commented on Dec 13, 2018

    @zypro

    Ubuntu 18.10. Menu bar is invisible if Adapta theme is enabled. It works fine with the default theme Yaru.

    Seems to be an issue "caused" by Ubuntu themes?

  12. rzelnik commented on Dec 13, 2018

    @rzelnik

    I don't know if the issue is on the Ubuntu side, or on the Atom side. There is a basic web design principle which says that if your rewrite a text colour, you should also rewrite a background colour. And vice versa, of course.

  13. 50 remaining items

  14. ludovicdeluna commented on May 24, 2019

    @ludovicdeluna

    I use Ubuntu 19.04 and have the same issue. I think this is a bug with the default theme of Ubuntu and not directly related to Atom.

    The default theme is Yaru and other apps have the same issue than Atom with this theme. I've noticed also a bad choice of font color and bg color for the focused item in the contextual menu outside Atom (really not easy to read). I hope Canonical (or other) will fix this theme soon.

    You can fix yourself this issue by doing one of this action

    • Revert back your theme to Ambiance (the default theme for the previous Ubuntu version).
    • Use Yaru-dark if you want the dark mode.

    The new version of Ubuntu don't let you the possibility to easily change your theme. You have to install Gnome Tweak Tool before (what a shame).

    sudo apt-get install gnome-tweak-tool
    

    Launch the app and go to appearance: select the theme you wish to use for "Applications" (Ambiance or Yaru-dark). When done, your Atom menu bring back to you.

    Contextual menus (outside Atom) are also more readable for the focused item.

  15. timburgess commented on May 25, 2019

    @timburgess

    @ludovicdeluna instructtions are on the right path. Once you've installed gnome-tweak-tool it's available as gnome-tweaks

    I did a fresh install of 19.04 and unfortunately Ambiance is not available as a theme. A search of packages.ubuntu.com on ambiance or theme shows no relevant packages. yaru-dark makes the Atom menu reappear but unfortunately it makes chromium tabs unreadable IMHO.

  16. ludovicdeluna commented on May 28, 2019

    @ludovicdeluna

    @timburgess : Ok, perhaps you can get it with :

    sudo apt-get install light-themes
    

    A apt-cache show light-themes return this for me:

    Package: light-themes
    Architecture: all
    Version: 19.04-0ubuntu1
    Multi-Arch: foreign
    Priority: optional
    Section: universe/gnome
    Source: ubuntu-themes
    Origin: Ubuntu
    Maintainer: Ubuntu Artwork Team <[email protected]>
    Bugs: https://bugs.launchpad.net/ubuntu/+filebug
    Installed-Size: 17247
    Depends: gtk2-engines-murrine (>= 0.90.3+git20100810), humanity-icon-theme, ubuntu-mono
    Filename: pool/universe/u/ubuntu-themes/light-themes_19.04-0ubuntu1_all.deb
    Size: 458280
    MD5sum: 7ed04a70c6d10efd2c29561d88b26a3f
    SHA1: 31bcdf1744b101b74e349293d5c4aa1d18c2c770
    SHA256: 627d26bbe1d3060edcff2e8e5b941c978b20754d90d14e293b897e6f7899885f
    Homepage: https://launchpad.net/ubuntu-themes
    Description-en: Light Themes (Ambiance and Radiance)
     Includes matching Ambiance and Radiance themes
     .
     * Ambiance is a light-on-dark theme
     * Radiance is a dark-on-light theme
     .
     Introduced as the default themes in Ubuntu 10.04 LTS.
    Description-md5: 66093fe5a19671849351e8d6fad66909
    Task: ubuntukylin-desktop
    

    I hope this will help.

  17. iuuuuan commented on Jun 1, 2019

    @iuuuuan

    I am using Yaru theme on ubuntu 19.04. Workaround for this issue is to modify line Exec in file /usr/share/applications/atom.desktop and add env GTK_THEME=Yaru-dark before /usr/bin/atom %F, for example Exec=env GTK_THEME=Yaru-dark /usr/bin/atom %F

    My file /usr/share/applications/atom.desktop looks like this

    [Desktop Entry]
    Name=Atom
    Comment=A hackable text editor for the 21st Century.
    GenericName=Text Editor
    Exec=env GTK_THEME=Yaru-dark /usr/bin/atom %F
    Icon=atom
    Type=Application
    StartupNotify=true
    Categories=GNOME;GTK;Utility;TextEditor;Development;
    MimeType=text/plain;
    StartupWMClass=atom
    

    Other GTK_THEME can be used as well. Found this on https://discuss.atom.io/t/hardly-visible-menu-on-linux/61816/8

  18. psycholein commented on Jun 7, 2019

    @psycholein

    or use an alias for command line: alias atom='GTK_THEME=Yaru-dark atom'

  19. TriMoon commented on Jun 10, 2019

    @TriMoon

    or use an alias for command line: alias atom='GTK_THEME=Yaru-dark atom'

    This is IMHO the better work-around because changes to files installed from packages will be overwritten with new versions when they arrive...

  20. luixal commented on Jun 11, 2019

    @luixal
  21. rsese commented on Jun 12, 2019

    @rsese
    Contributor

    Electron 3 is in 1.39 (currently in beta) and the menu bar is ok on Ubuntu 18.10. I'm assuming the same for 19.04, can anyone running 19.04 confirm with 1.39?

  22. mfonville commented on Jun 12, 2019

    @mfonville
    Contributor

    I can confirm that with 19.04 it is works (with Yaru theme)

  23. mhterres commented on Jun 13, 2019

    @mhterres
  24. wesinator commented on Jul 14, 2019

    @wesinator

    Still seeing a similar issue in atom 1.38.2 (snap) with Arc-Darker theme

    • Ubuntu 18.04.2
    • GNOME 3.28.2
    • Arc-Darker theme (20180114-1ubuntu1), set via tweak tool

    The menu bar text is always barely visible:
    image

    possibly electron/electron#15823 ?

  25. Aerijo commented on Jul 14, 2019

    @Aerijo
    Contributor

    @wesinator

    1. Please read the above comments. The fix is currently in beta, and will likely land in stable on next release.

    2. The Snap install is neither official nor supported. So any issues you encounter with it will not be considered until you reproduce them on an official build. If you want a package manager to handle updates, look at the installing section of the flight manual.

  26. AllanC56 commented on Jul 24, 2019

    @AllanC56

    Finally fixed on stable channel with Atom 1.39, yay

  27. lock commented on Jan 24, 2020

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

  28. locked as resolved and limited conversation to collaborators on Jan 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    electronlinux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions