Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spurious missing menu #2691

Closed
schildbach opened this issue May 24, 2013 · 8 comments
Closed

spurious missing menu #2691

schildbach opened this issue May 24, 2013 · 8 comments

Comments

@schildbach
Copy link
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.

@laanwj
Copy link
Member

laanwj commented May 24, 2013

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.

@laanwj
Copy link
Member

laanwj commented May 24, 2013

See also #1242

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

@schildbach
Copy link
Contributor Author

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.

@dooglio
Copy link

dooglio commented Jun 4, 2013

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

@dooglio
Copy link

dooglio commented Jun 4, 2013

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

@laanwj
Copy link
Member

laanwj commented Jun 6, 2013

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?...) :-/

@laanwj
Copy link
Member

laanwj commented Jun 7, 2013

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

wtf

Despite the strange position, the icon is fully functional... 😕 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.

@laanwj
Copy link
Member

laanwj commented Jan 7, 2014

duplicate of #1242

@laanwj laanwj closed this as completed Jan 7, 2014
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants