Discord (Electron Application) Make GNOME freeze for 1 second when the tray icon change












0















Discord recently moved to new GNOME tray icon system (I don't know what they call it technically in GNOME). so when you click on tray icon it has shell theme style menu instead of GTK 2 theme.



When Discord want to change the tray icon from normal to new message, it makes GNOME freeze for one second.



How can you reproduce the problem:




  • Open Discord.

  • Click on close to just have Discord icon in tray.

  • Open a movie or just work normally with chrome or nautilus or any application.


  • Let the new message come in, so tray icon can change from normal to new message tray icon.



    Discord tray icon



  • On changing to the new message tray icon, the system freezes for one second.



I don't know it's about Electron or Discord or GNOME.



This problem happening in Ubuntu GNOME 18.04.1 with GNOME shell 3.28.3.



I also tried XFCE just for this problem. didn't have this problem at all.










share|improve this question



























    0















    Discord recently moved to new GNOME tray icon system (I don't know what they call it technically in GNOME). so when you click on tray icon it has shell theme style menu instead of GTK 2 theme.



    When Discord want to change the tray icon from normal to new message, it makes GNOME freeze for one second.



    How can you reproduce the problem:




    • Open Discord.

    • Click on close to just have Discord icon in tray.

    • Open a movie or just work normally with chrome or nautilus or any application.


    • Let the new message come in, so tray icon can change from normal to new message tray icon.



      Discord tray icon



    • On changing to the new message tray icon, the system freezes for one second.



    I don't know it's about Electron or Discord or GNOME.



    This problem happening in Ubuntu GNOME 18.04.1 with GNOME shell 3.28.3.



    I also tried XFCE just for this problem. didn't have this problem at all.










    share|improve this question

























      0












      0








      0








      Discord recently moved to new GNOME tray icon system (I don't know what they call it technically in GNOME). so when you click on tray icon it has shell theme style menu instead of GTK 2 theme.



      When Discord want to change the tray icon from normal to new message, it makes GNOME freeze for one second.



      How can you reproduce the problem:




      • Open Discord.

      • Click on close to just have Discord icon in tray.

      • Open a movie or just work normally with chrome or nautilus or any application.


      • Let the new message come in, so tray icon can change from normal to new message tray icon.



        Discord tray icon



      • On changing to the new message tray icon, the system freezes for one second.



      I don't know it's about Electron or Discord or GNOME.



      This problem happening in Ubuntu GNOME 18.04.1 with GNOME shell 3.28.3.



      I also tried XFCE just for this problem. didn't have this problem at all.










      share|improve this question














      Discord recently moved to new GNOME tray icon system (I don't know what they call it technically in GNOME). so when you click on tray icon it has shell theme style menu instead of GTK 2 theme.



      When Discord want to change the tray icon from normal to new message, it makes GNOME freeze for one second.



      How can you reproduce the problem:




      • Open Discord.

      • Click on close to just have Discord icon in tray.

      • Open a movie or just work normally with chrome or nautilus or any application.


      • Let the new message come in, so tray icon can change from normal to new message tray icon.



        Discord tray icon



      • On changing to the new message tray icon, the system freezes for one second.



      I don't know it's about Electron or Discord or GNOME.



      This problem happening in Ubuntu GNOME 18.04.1 with GNOME shell 3.28.3.



      I also tried XFCE just for this problem. didn't have this problem at all.







      gnome gnome-shell system-tray electron






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 8 hours ago









      ICEICE

      7903724




      7903724






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1118259%2fdiscord-electron-application-make-gnome-freeze-for-1-second-when-the-tray-icon%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1118259%2fdiscord-electron-application-make-gnome-freeze-for-1-second-when-the-tray-icon%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Category:香港粉麵

          List *all* the tuples!

          Channel [V]