Hi,
hm. I can't get it to throw in Debug on win7 ... :\
out of curiosity, since i'll likely put an option in, is there an issue (or not) with a Win10 Release build? these two seem to contradict ...
remember there is a short delay by design [SystemInformation.DoubleClickTime]. Are you saying that there is a longer delay, like the OS stalls for a second or two?
To be sure, I waited to pull the latest commit and tested what I reported in these conditions: (placing a tile from Topview with right mouse button)
- Windows 10 native, opening Debug\MapView.exe from file explorer: just the short delay, the tile is placed.
- Windows 7 SP1 X64 from VM, opening Debug\MapView.exe from the file explorer: just the short delay, the tile is placed
Same conditions of course if you run Release\Mapview.exe.
- Windows 10 native, running "run without executing debug" debug from IDE (VS 2019) just the short delay, the tile is placed
- Windows 7 SP1 X64 from VM, running "run without executing debug" debug from IDE (VS 2019) just the short delay, the tile is placed
- Windows 10 native, running "run debug" debug from IDE: (VS 2019) the exception is thrown, application won't crash, you can click "continue" two times, the tile is not placed, but the application is still running.
- Windows 7 SP1 X64 from VM, running "run debug" debug from IDE: (VS 2019) the exception is thrown, application won't crash, you can click "continue" two times, the tile is not placed, but the application is still running.
Looks like is VS2019 debugging being quite picky, could explain the crash I get in Mono doing same thing.
I'm going to test with Mono if I manage to make my Monodevelop in a working condition, then I gladly test on your latest commit.
Hold on...
ADD 1 : for unknown reason, Monodevelop worked again.
- Linux Mint 18.2, Monodevelop 7.8.4, run debug: that's strange... it placed normally a tile, then I did on adjacent tile and the entire application got frozen, Monodevelop does not return a call stack. Could not close from Monodevelop: I had to
xkill it.
- Linux Mint 18.2, Monodevelop 7.8.4, run "without debug": I placed various tiles until the application closed itself.
This is valid either if I run the Debug or the Release version: by pressing ENTER I can put all of tiles I want: with RMB the app will crash at a certain time.
If I use Mono outside Monodevelop, at the crash it returns that stacktrace I posted some posts above.
OK, I'm trying now with latest commit...
ADD 2: Basically, now RMB behaves like pressing ENTER: in all of combinations I can put all of tiles I want.
If I set
EnableRightClickWaitTimer to
true I have the issues as reported above.
In conclusion:This issue exists, but affects mainly Linux/Mono users, and it is revealed only by Visual Studio 2019.
I don't know how much difficult would be to fix it, but your idea to opt-in the mouse delay is just simple as smart
Moreover, it made Mono builds much stable.