notepad4 icon indicating copy to clipboard operation
notepad4 copied to clipboard

[Single File Instance] doesn't work well, if I click the same file more than twice , it will open it again.

Open tp01-gogogo opened this issue 1 year ago • 1 comments

[Single File Instance] doesn't work well, if I click the same file more than twice , it will open it again.

tp01-gogogo avatar Aug 10 '24 07:08 tp01-gogogo

It seems the failure is due to 1 second "Reuse Window Lock Timeout": https://github.com/zufuliu/notepad4/blob/cb275770ca7b85c17911241cd231fbefa7b71619/src/Notepad4.h#L123-L125

Open same file within 1 second will open multiple Notepad4.

"Reuse Window Lock Timeout" is removed by fed47535dd5a2934fe17bc909c2087b9d50ac729, please test latest builds from https://github.com/zufuliu/notepad4/actions

zufuliu avatar Aug 22 '24 10:08 zufuliu