spurious missing menu #2691

issue schildbach opened this issue on May 24, 2013
  1. schildbach commented at 9:12 AM on May 24, 2013: contributor

    Several times now I realized that bitcoin-qt is missing its menu sometimes. This is on Ubuntu 13.04, but I've also seen it on 12.10 and perhaps earlier. Its with bitcoin-qt 0.8.2rc2 (compiled myself), but I've also seen it with 0.8.1 and earlier. If this happens, the rest of the client appears to work without problems.

  2. laanwj commented at 9:57 AM on May 24, 2013: member

    I use Ubuntu exclusively (both 12.04 and 13.04), and I've never noticed this. Then again, I compile from source.

    Is this with the precompiled / statically linked version?

    This must be an issue with appmenu-qt, ie the Qt plugin that exports the menu to Ubuntu the tray.

  3. laanwj commented at 10:26 AM on May 24, 2013: member

    See also #1242

    This is a long-running issue without a clear cause or solution... Some people even switched to GNOME in frustration :)

  4. schildbach commented at 10:58 AM on May 24, 2013: contributor

    I'm not sure at the moment if this is also with the precompiled version from the PPA (I use both). I'll keep an eye on this.

    It appears randomly at about 10% of app starts (very rough guess). Normally its not that much of a bother because all you need to do is quit and start bitcoin-qt again. But yesterday I had it twice in a row so I thought it might be worth to report this.

  5. dooglio commented at 11:26 PM on June 4, 2013: none

    I have this problem on Ubuntu 12.10. When I first log in to Unity, then start bitcoin up, the systray icon is gone. However, once the application appears, I can close it and restart it. The systray icon starts working.

    The Qt4 systray feature places an icon in the /tmp folder. It's quite possible that the first time it runs, the icon isn't placed properly. I have played around with the QSystrayIcon class before and if your image isn't the right size (16x16), the icon just won't appear. The next time I restart, I'll test this theory and check to see if the icon is there or not.

    For example, on my current run, the systray icon is here on my system: /tmp/sni-qt_bitcoin-qt_3492-oWuoa7/icons/hicolor/16x16/apps/bitcoin-qt_3492_9a114a7b8a7f55c82a4ec988525f9be5.png

  6. dooglio commented at 11:52 PM on June 4, 2013: none

    By the way, this exact issue happens for me when I compile the litecoin gui from the git archive. Restart it, and the systray icon magically appears...

  7. laanwj commented at 6:08 AM on June 6, 2013: member

    16x16? Isn't the default height of the tray 22, or 24? Did you change the tray size from the default? If so, that in combination with the issue that you mention can explain why it happens to some people and not others.

    This seems an upstream QSystrayIcon issue (at least the Unity plugin)... we can hardly account for all possible tray sizes and give a custom-sized icon (maybe we could somehow pre-resize it after quering?...) :-/

  8. laanwj commented at 11:28 PM on June 7, 2013: member

    I first thought the tray icon didn't appear at all, then I noticed:

    wtf

    Despite the strange position, the icon is fully functional... :confused: This started happening for me today on my laptop (ubuntu 13.04). Don't know what triggered it, a week ago when I just upgraded my Ubuntu I think it was fine. There's no way bitcoin is doing this, we don't manually position the tray icon.

  9. laanwj commented at 8:41 AM on January 7, 2014: member

    duplicate of #1242

  10. laanwj closed this on Jan 7, 2014

  11. MarcoFalke 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