Open ghost opened 2 years ago
Which operating system and version? If OS=GNU/Linux, which desktop environment or window manager? Which GoldenDict version?
Windows 10 version 21H1 goldendict version 1.5.0-RC2-372-gc3ff15f
Have you tried both Qt4- and Qt5-based builds?
Yes. I used the Qt4-based build before but it can't display the phonetic transcription properly. There will often be some letters missing. Thus I switched to the Qt5-based build and it fixes this problem. And it seems the popup window can disappear properly in the Qt4-based build.
I have implemented advanced scan popup window flags options in #995. But I use only GNU/Linux and couldn't test the various options on Windows. So they are limited to the single platform. Perhaps someone could try enabling this customization on Windows and checking if it solves the problem. If some option works perfectly with Qt 5 in all Windows versions, even the default for this platform could be changed.
But all this requires someone who can build GoldenDict on Windows. I think there are too few such people, because the large number of dependencies makes building difficult (see #1322).
Note that #995 solves much bigger problems than the one reported in this issue. If this minor annoyance is the only issue with the scan popup on Windows, then it is likely that other window flags would cause worse regressions than what they fix.
When I use the hotkey 'ctrl+c+c' for the first time, the popup window won't disappear if I click somewhere else. I need to click on the popup window and then click somewhere else in order to make it disappear. However, if I use this hotkey for the second time, the popup window will disappear properly.