Page 1 of 1

[cantfix/win7] Window not put to front, one instance

Posted: 18.08.2017 19:10
by schuitem
I put the option ui_one_instance to true and opened a file. I opened another application fullscreen (Total Commander) and started the editing of a second file with CudaText. The file is opened by CudaText but the window is not put to the front to make the file visible. In my case Total Commander stays on top so it looks like the editing of a second file with CudaText is not working.

Please make CudaText the top-most application when a second file is opened via the command line.

Posted: 22.08.2017 04:42
by Alexey
Hi. we use Win API which is ok on Win10, but not full ok on Win7. can you try the same in Win10?

Posted: 27.08.2017 09:20
by schuitem
This indeed works on Windows 10! Strange. So it might be a Windows 7 bug somehow. Is there maybe a workaround possible?

Posted: 28.08.2017 09:50
by Alexey
I and one helper man made this show-to-front code, we don't know how to fix for Win7...