electrum icon indicating copy to clipboard operation
electrum copied to clipboard

Persisting 'window permanent in background' bug on OS X, ever since Electrum-2.5.1

Open zanglebert opened this issue 11 years ago • 13 comments

Electrum-2.5.1 OS X 10.11

Two problems, perhaps related:

(1) New windows opened inside Electrum (e.g. "Details" of a transaction in history, "Sign/Broadcast" in Send) don't open in the foreground anymore.

(2) After opening a new window (i.e. (1) above), after cmd-tabbing away from Electrum, I cannot cmd-tab back to Electrum. To go back to Electrum, I need to use Dock or Mission control.

Note: After going back to Electrum as described in (2), the newly opened window (details, sign tx) is in the foreground now, and can be used e.g. to sign a tx.

zanglebert avatar Oct 18 '15 20:10 zanglebert

I can reproduce this. Unfortunately I don't have a dev env setup on my Mac; I will try to get that working.

kyuupichan avatar Oct 19 '15 03:10 kyuupichan

I can reproduce this running the binary from electrum.org. However it does not happen, and works correctly, when running from source (which I finally managed to get working). So this appears to be something to do with the packaging on the official site....

kyuupichan avatar Oct 24 '15 14:10 kyuupichan

I've just upgraded to El Capitan, and this still happens with the official binary. I notice however that when opening e.g. the tx details window, and it doesn't appear, that clicking on the dock icon causes it to appear, and then the issue no longer occurs for that session. I have no idea what is causing this.

kyuupichan avatar Nov 07 '15 08:11 kyuupichan

same problem here (2.5.4), even if I'm trying to close that window (eg. tx, second wallet) it is still on desktop. Hitting cmd+o brings up open dialog and also "closes" that already closed window. But weirdly sometimes it is working normally.

I was trying few scenarios, and it looks like that it never working when you open electrum and immediately open for example tx detail. On the other hand, if you open electrum and if you switch focus to another window (eg. safari) and then bring back electrum then it is working like normal, details windows, open wallets, closing, everything is working.

So issue should be related somehow on focus after start or something like that. Hopefully it helps.

kriznik avatar Dec 13 '15 16:12 kriznik

Seem to run into the same problem giving Encompass v0.6.0rc1 a test drive on Yosemite. Encompass supports a number of altcoins that is built on top of Electrum with Trezor support. Specifically, while trying to import import a few Dash, very well aware of sweeps being much safer. (Saw Encompass v0.6.0rc2 is what is really supporting Trezor functionality.)

Trying to build v0.6.0rc2 forced me down the path of trying to build Electrum from brew details (not using MacPorts) posted at Build Electrum on Mac OS X. Ended up running down the rabbit hole of there being brew issues with qt from % brew install python pyqt package dependencies mentioned by Electrum documentation. In short, building Electrum using brew seems to be on hold.

skaht avatar Dec 14 '15 04:12 skaht

update: it's necessary to loose focus with window, which will completely hide electrum window. Then when I bring back electrum it is working normally (details tx, closing etc.). If focus is on different program but electrum is still visible to your eyes, eg. it is not hidden under another window, it has mentioned bugs.

kriznik avatar Dec 14 '15 19:12 kriznik

Reporting back on this issue:

UI bug is still present as of Electrum version 2.5.4 on OSX.

Changing windows ("losing focus", as kriznik above described it) still is a valid work-around, but I'm wondering if there are any plans to look into an actual fix for the next release?

zanglebert avatar Feb 14 '16 21:02 zanglebert

Hello, update in electrum 2.6.2 for OSX is still this annoying bug in place :(

kriznik avatar Mar 14 '16 21:03 kriznik

This is still present in 2.6.4, and after various OS reinstalls :/

tommcintyre avatar Aug 23 '16 18:08 tommcintyre

I updated the title, to be more clear about the topic/content of the bug, but also to mention how long it has been around.

Frankly, I would really appreciate at least some feedback from one of the regular contributors. Anything, from "it's being looked at", to "too low priority, deal with it". In either case, some acknowledgement would be nice, that the bug persists.

And while it's not a showstopper admittedly, it does make using Electrum on OS X a lot less convenient, and might even scare off new users, since the trick/workaround described above, to "unhide"/bring back into focus the missing window by invoking Mission Control is perhaps not something everyone tries, so new users might just conclude the window (transaction, details, whatever) is entirely missing.

(edit) As @kyuupichan mentioned above, possibly this only affects the (current, and previous) OS X binaries. Maybe someone can confirm?

zanglebert avatar Sep 09 '16 16:09 zanglebert

@zanglebert it's been looked at

ecdsa avatar Oct 06 '16 10:10 ecdsa

this should be fixed in 2.8.0 builds. please confirm.

ecdsa avatar Mar 09 '17 18:03 ecdsa

Sorry for missing the notification earlier.

Just tried to reproduce the bug, but strangely I wasn't able to reproduce already in a previous version, 2.7.18. Was the relevant fix only applied now?

In any case, tested 2.8.1 as well, and cannot replicate it there either anymore. Previous windows that got stuck in the background (e.g. Transaction: Details , Send: Preview) are now correctly opened in foreground, and switching between different Electrum windows by shortcut works as well.

Thanks!

zanglebert avatar Mar 21 '17 16:03 zanglebert