After the update, the program does not appear in the system tray. Also there is no global menu.
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-
Folko85 commented at 2:04 PM on May 9, 2012: none
-
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.
-
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).
-
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...
-
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
-
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.
-
mmazi commented at 12:57 PM on May 26, 2012: none
I described my problem in a bit more detail here: http://bitcoin.stackexchange.com/questions/3832/bitcoin-qt-icon-not-showing-in-top-edge-panel-linux-mint
-
rebroad commented at 7:13 PM on July 2, 2012: contributor
This is also a problem in 0.6.3
-
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.
-
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.
-
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?
-
laanwj commented at 6:57 PM on August 29, 2012: member
@interfect can you try building from source, and see whether it still happens?
-
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.
-
laanwj commented at 7:06 PM on August 29, 2012: member
doc/readme-qt.rst
-
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.
-
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.
-
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>
-
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.
-
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.
-
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.
- ghost assigned laanwj on Sep 21, 2012
-
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.
-
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 .
-
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.
-
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.
-
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.
-
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 .
-
Diapolo commented at 10:24 AM on April 26, 2013: none
@interfect I'm sorry AFAIK Unity / Linux doesn't use Mac stuff ^^.
-
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. :)
-
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.
-
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.
-
Diapolo commented at 6:14 AM on May 21, 2013: none
@themighty1 Can you try with #2672? What Qt version is Bitcoin-Qt using?
-
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.
-
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
-
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.
-
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 .
-
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
-
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.
-
laanwj commented at 10:29 AM on January 7, 2014: member
For the people that can reproduce this: does providing the -nosplash option help?
-
laanwj commented at 8:04 AM on January 9, 2014: member
Must be a temporary fluke with github, that sometimes happens, try again later.
- laanwj closed this on Jan 13, 2014
-
elichai commented at 11:49 PM on February 14, 2015: contributor
This problem is back in the last version
- suprnurd referenced this in commit f6ca563ab2 on Dec 5, 2017
- lateminer referenced this in commit 0086fe97ea on Jan 22, 2019
- lateminer referenced this in commit 2bfde4e7b9 on May 6, 2020
- DrahtBot locked this on Sep 8, 2021