Bitcoin-Qt 0.6.2 for Ubuntu 12.04 invisible in systray, no global menu #1242

issue Folko85 opened this issue on May 9, 2012
  1. Folko85 commented at 2:04 PM on May 9, 2012: none

    After the update, the program does not appear in the system tray. Also there is no global menu.

  2. Blackhawke commented at 12:40 AM on May 21, 2012: none

    Same problem here. It would usually show up in the system tray and I would have a menu -- until I encrypted my wallet. Now there's no menu on the top bar of Unity, and nowit doesn't appear either in the system tray or in the side bar menu.

    Also (different issue, but I'll stick it in this comment and let a dev decide what to do with it): The .lock file is not removed on exit. Therefore starting Bitcoin-Qt will fail unless I go in and manually delete the lock file from the ./bitcoin directory.

  3. mmazi commented at 7:06 AM on May 26, 2012: none

    I have the same problem: no icon in the top panel (system tray?) on Linux Mint, Gnome Desktop. Bitcoin-qt is running, though (can see it in process list and it's updating the log).

    The only way I know to get the Bitcon-qt window is to stop the process and restart it.

    This appeared just recently, some time after installyng 0.6.2, for no apparent reason (other than maybe updating the system).

  4. Diapolo commented at 9:11 AM on May 26, 2012: none

    Could you guys try with a clean data-dir and see if there is anything special in the debug.log. Seems to be a weird issue, as our GUI-master is on Ubuntu, too I guess...

  5. Folko85 commented at 9:37 AM on May 26, 2012: none

    If clean data-dir, then the problem disappears. debug.log After Update http://clck.ru/d/bq5rKXYN19Ag8 After Clean http://clck.ru/d/RCZsHvTt19AgA

  6. mmazi commented at 12:56 PM on May 26, 2012: none

    Which directory is data-dir?

    I tried cleaning (deleting) ~/.bitcoin but bitcoin wouldn't start after that. Then I had to restore the directory from an old backup (from 3 weeks ago, that is before the problem and probably before the 0.6.2 upgrade). The problem is still there.

  7. mmazi commented at 12:57 PM on May 26, 2012: none
  8. rebroad commented at 7:13 PM on July 2, 2012: contributor

    This is also a problem in 0.6.3

  9. Diapolo commented at 8:06 PM on July 2, 2012: none

    @rebroad Is this true with a clean data-dir? What are your observations with current Git master?

  10. rebroad commented at 12:36 PM on July 3, 2012: contributor

    @Diapolo This is also a problem with current git master also.

    If I delete ~/.bitcoin then the tray icon does appear, but a few seconds after the main window appears (once blocks start downloading).

  11. Diapolo commented at 12:43 PM on July 3, 2012: none

    Can you post a screenshot that shows the missing menu and tray-icon? Perhaps @laanwj Should take a look at this, I guess he is also using Linux, while I'm on Windows. Hard to debug, as on Windows this is not an issue.

  12. rebroad commented at 1:06 PM on July 3, 2012: contributor

    @Diapolo I don't really understand the reason for the screenshot request, but can provide one if you tell me where to upload it to.

  13. Diapolo commented at 1:15 PM on July 3, 2012: none

    I don't want to see the "no tray-icon" ^^, but want to ensure which menu is missing, as I was not sure about that one. Just use http://tinypic.com for such a thing.

  14. rebroad commented at 10:04 PM on July 3, 2012: contributor

    @Diapolo the only thing that shows is the icon on far left for restoring windows.there are no menus nor a tray icon.

  15. laanwj commented at 9:01 AM on August 18, 2012: member

    I'm running on 12.04 and though I don't have this specific issue, I had another issue with Unity, with minimized windows that refused to come back: https://bugs.launchpad.net/unity/+bug/1001498 . But they didn't take it serious upstream.

    I find it strange that Unity manages to mess up a well-behaved Qt program. The problem is that Unity hooks plugins into various things (qt menu, qt tray icon, application management) which are in varying states of maturity.

    You might (or might not) have luck building it yourself instead of using the static build.

  16. interfect commented at 5:23 PM on August 29, 2012: none

    I'm also having this problem, using the Bitcoin from the bitcoin.org-recommended PPA on Ubuntu 12.04. I had the tray icon for a little bit when I started with a clean ~/.bitcoin, but then I copied over my wallet.dat and it started downloading blocks, and today my menu and tray icon are gone.

    Is there any sort of debug information I can provide?

  17. laanwj commented at 6:57 PM on August 29, 2012: member

    @interfect can you try building from source, and see whether it still happens?

  18. interfect commented at 7:03 PM on August 29, 2012: none

    Is there a single, unified page that explains exactly what packages to install and what commands to run on a stock Ubuntu 12.04 system to build from source? Because if so, yes I can.

    On Wed, Aug 29, 2012 at 1:57 PM, Wladimir J. van der Laan < notifications@github.com> wrote:

    @interfect https://github.com/interfect can you try building from source, and see whether it still happens?

    — Reply to this email directly or view it on GitHubhttps://github.com/bitcoin/bitcoin/issues/1242#issuecomment-8136908.

  19. laanwj commented at 7:06 PM on August 29, 2012: member

    doc/readme-qt.rst

  20. laanwj commented at 7:11 PM on August 29, 2012: member

    Also there's the packages: appmenu-qt sni-qt

    Those provide plugins for qt to export the appmenu and tray icon respectively to unity. Maybe try installing/uninstalling/upgrading them.

  21. dnohales commented at 2:30 AM on September 18, 2012: none

    I tried to remove package appmenu-qt, now I see the menu, but not the tray icon.

    I also noticed that when I try to execute bitcoin-qt again, the program throw me an error because is already running, while this error message is shown, appears the tray icon, when I close the error message box, the tray icon disappears.

  22. laanwj commented at 5:29 AM on September 18, 2012: member

    It would be wonderful if someone knowledgeable in the intricacies of Unity could look at this. I cannot help you further here, and my previous tries to get help from the Unity team weren't exactly succesful. Also I still cannot reproduce the problem.

    <b>Can you try out the .tar.gz blob and deinstalling the .deb package? I think this will work around the problem for now as the .tar.gz isn't linked against any of the fancy stuff</b>

  23. interfect commented at 6:12 AM on September 18, 2012: none

    I reported this as a bug against appmenu-qt, no response from the devs there at all.

    On Mon, Sep 17, 2012 at 10:29 PM, Wladimir J. van der Laan < notifications@github.com> wrote:

    It would be wonderful if someone knowledgeable in the intricacies of Unity could look at this. I cannot help you further here, and my previous tries to get help from the Unity team weren't exactly succesful.

    — Reply to this email directly or view it on GitHubhttps://github.com/bitcoin/bitcoin/issues/1242#issuecomment-8641515.

  24. laanwj commented at 6:30 AM on September 18, 2012: member

    I suspect it has something to do with Unity regarding the first window opened somehow as main window. In the case of bitcoin this is the splash screen. Getting rid of the splash screen is on the TODO list (#1028), so if that's the case the problem will solve itself eventually.

  25. interfect commented at 8:32 PM on September 18, 2012: none

    That could be it. Of the two Qt apps I use that exhibit Unity menu issues (Bitcoin and Retroshare), both have splash screens. For some reason RetroShare's icons still show up, but they are dynamic and may be set up differently than Bitcoin's.

    Are there any Qt apps with splash screens in the official Ubuntu repositories?

    On Mon, Sep 17, 2012 at 11:30 PM, Wladimir J. van der Laan < notifications@github.com> wrote:

    I suspect it has something to do with Unity regarding the first window opened somehow as main window. In the case of bitcoin this is the splash screen. Getting rid of the splash screen is on the TODO list, so if that's the case the problem will solve itself eventually.

    — Reply to this email directly or view it on GitHubhttps://github.com/bitcoin/bitcoin/issues/1242#issuecomment-8642897.

  26. ghost assigned laanwj on Sep 21, 2012
  27. jprupp commented at 9:10 PM on March 24, 2013: none

    This happens also to me in Ubuntu 12.10 with Bitcoin version v0.8.1.0-g34d62a8-beta.

    There's something curious about it: when I launch it for the first time after a reboot, the splash screen lasts for longer, and both menus and tray icon are hidden after application launch. If I close the application and launch it a second time, it takes less time, and both menu and tray icon appear.

    Even when the menu bar is invisible, I can press and release the alt key quickly to get the HUD, and access the menu entries from there by typing.

    I believe the time it takes between launching the application and having the main window appear is key to solve this issue. There's probably a time limit somewhere that is being reached.

  28. interfect commented at 4:30 PM on March 25, 2013: none

    The time limit idea is interesting. 0.8 starts up much faster than 0.7 did, and the other day the menu and tray icon worked properly for the first time in months. Unfortunately, that only happened once. On Mar 24, 2013 2:10 PM, "Jean-Pierre Rupp" notifications@github.com wrote:

    This happens also to me in Ubuntu 12.10 with Bitcoin version v0.8.1.0-g34d62a8-beta.

    There's something curious about it: when I launch it for the first time after a reboot, the splash screen lasts for longer, and both menus and tray icon are hidden after application launch. If I close the application and launch it a second time, it takes less time, and both menu and tray icon appear.

    Even when the menu bar is invisible, I can press and release the alt key quickly to get the HUD, and access the menu entries from there by typing.

    I believe the time it takes between launching the application and having the main window appear is key to solve this issue. There's probably a time limit somewhere that is being reached.

    — Reply to this email directly or view it on GitHubhttps://github.com/bitcoin/bitcoin/issues/1242#issuecomment-15369307 .

  29. laanwj commented at 6:39 AM on March 30, 2013: member

    Interesting, so a time limit may be part of the picture. Though this is confusing, and would make this impossible to fix 100% in cases as linux is not a hard realtime OS. And bitcoin certainly isn't the only program that can be slow to start. I wonder if there is a way to hold off the time limit.

  30. jfisbein commented at 9:42 AM on April 26, 2013: none

    I have the same problem with ubuntu 12.10, and bitcoin-qt 0.8.1-quantal1, the incon only appears sometimes but generally it doesnt appears.

  31. Diapolo commented at 9:51 AM on April 26, 2013: none

    Perhaps fixed already with current master or fixed with #2530.

  32. jprupp commented at 9:54 AM on April 26, 2013: none

    I've been trying Bitcoin-QT since upgrade to Ubuntu 13.04, and it has been working consistently. I get the tray icon and global menu every time I open the application.

  33. interfect commented at 10:22 AM on April 26, 2013: none

    Does Unity use the MacDocIconHandler?

    I'm glad to hear the good news about 13.04. I'm planning to upgrade soon; perhaps an underlying Qt bug has been fixed upstream?

    On Fri, Apr 26, 2013 at 2:55 AM, Jean-Pierre Rupp notifications@github.comwrote:

    I've been trying Bitcoin-QT since upgrade to Ubuntu 13.04, and it has been working consistently. I get the tray icon and global menu every time I open the application.

    — Reply to this email directly or view it on GitHubhttps://github.com/bitcoin/bitcoin/issues/1242#issuecomment-17064692 .

  34. Diapolo commented at 10:24 AM on April 26, 2013: none

    @interfect I'm sorry AFAIK Unity / Linux doesn't use Mac stuff ^^.

  35. stevenh512 commented at 2:26 PM on April 26, 2013: none

    I have the same problem in Ubuntu 12.10 without Unity (running a GNOME Panel/Classic desktop). The problem exists with bitcoin-qt and also litecoin-qt, but oddly enough feathercoin-qt works fine (and I haven't tried any other altcoin clients based on bitcoin-qt's code).

    edit: I only mention the other two clients because they're both based on bitcoin-qt and one shows this same problem (on my machine) while the other doesn't. Now that I think about it, I remember installing bitcoin-qt and litecoin-qt as precompiled binaries (bitcon-qt from the PPA) while I had to compile feathercoin-qt from source. That could be the difference I'm seeing between the three clients here, I'll try recompiling bitcoin-qt from source and see what happens. :)

  36. themighty1 commented at 5:44 PM on May 17, 2013: none

    This issue is so strange, I'm on 12.04.02/64 Unity. When I start "bitcoin-qt" there is no menu or systray, But when I start "bitcoin-qt -testnet" there is both menu and systray. Weird.

  37. kapcom01 commented at 9:13 PM on May 20, 2013: none

    I confirm that on Ubuntu 13.04 even though appindicator and global menu doesnt work, the HUD works if you press ALT, and if you exit through hud and rerun the app, it starts much faster and the problem dissapears. The appindicator and global menu show up and everything is ok.

  38. Diapolo commented at 6:14 AM on May 21, 2013: none

    @themighty1 Can you try with #2672? What Qt version is Bitcoin-Qt using?

  39. themighty1 commented at 7:45 AM on May 21, 2013: none

    @Diapolo. Using latest stable bitcoin-qt, with Qt 4.8.1 Sorry, I cant apply the patch. I switched to gnome since my last post and have not looked back.

  40. br0x commented at 10:21 PM on December 17, 2013: none

    Issue still exists. Was using all newest bitcoin-qt versions and Ubuntu 12.10, 13.04, 13.10 It reproduces if you set bitcoin-qt to run on system reboot (startup applications). Icon is absent but processes bitcoin-qt are running and consuming memory and CPU. Killing the process and relaunching bitcoin-qt gets things to normal

  41. dooglio commented at 10:55 PM on December 17, 2013: none

    I notice that the ppcoin-qt project has this problem cleared up, yet it appears to be a similar code-base. Litecoin-qt doesn't, though.

  42. interfect commented at 12:31 AM on December 18, 2013: none

    Can we get their patch merged back? What did they do?

    On Tue, Dec 17, 2013 at 4:56 PM, dooglio notifications@github.com wrote:

    I notice that the ppcoin-qt project has this problem cleared up, yet it appears to be a similar code-base. Litecoin-qt doesn't, though.

    — Reply to this email directly or view it on GitHubhttps://github.com/bitcoin/bitcoin/issues/1242#issuecomment-30800203 .

  43. br0x commented at 8:11 AM on January 3, 2014: none

    No matter which fork. If wallet is small, there is no issue. When it grows to 400KB issue is reproducing sometimes. If wallet.dat is 1MB or more - reproduces always

  44. laanwj commented at 8:21 AM on January 3, 2014: member

    Thank for posting that observation @br0x, that's the first that may give some hope to reproduce this issue.

  45. laanwj commented at 8:40 AM on January 7, 2014: member

    I had this problem as well today, no global menu...

    edit: damn, but I can't reproduce it, not even by putting sleeps() in the wallet verification nd handling; it only happened once

    One guess is that the GUI is unresponsive to events while starting up. Initialization blocks the GUI thread. Maybe that causes some kind of menu registration to time out. In that case the solution would be to run AppInit2 in a thread instead.

  46. laanwj commented at 10:29 AM on January 7, 2014: member

    For the people that can reproduce this: does providing the -nosplash option help?

  47. laanwj commented at 10:05 AM on January 8, 2014: member

    Please help testing #3493. If my gut feeling is right that they're caused by timeouts, it solves the menu and icon issues.

  48. br0x commented at 11:35 PM on January 8, 2014: none

    @laanwj I was unable to test it - seems to be unavailable on github

  49. laanwj commented at 8:04 AM on January 9, 2014: member

    Must be a temporary fluke with github, that sometimes happens, try again later.

  50. br0x commented at 9:05 PM on January 9, 2014: none

    @laanwj Yes it works! Icon appears immediately and become responsive in a minute. Quite a workaround for me!

  51. laanwj commented at 10:01 PM on January 9, 2014: member

    Thanks for testing @br0x

  52. laanwj commented at 5:36 PM on January 13, 2014: member

    Closing by #3493

  53. laanwj closed this on Jan 13, 2014

  54. elichai commented at 11:49 PM on February 14, 2015: contributor

    This problem is back in the last version

  55. suprnurd referenced this in commit f6ca563ab2 on Dec 5, 2017
  56. lateminer referenced this in commit 0086fe97ea on Jan 22, 2019
  57. lateminer referenced this in commit 2bfde4e7b9 on May 6, 2020
  58. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-13 15:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me