Comments (8)
Hi,
MM 3.5.0 uses .NET 4.5.2, whereas previous versions used .NET 2.0. Windows will normally detect this and prompt you to download the required version of .NET Framework.
Can you see if install .NET Framework 4.5.2 resolves your issue?
https://www.microsoft.com/en-gb/download/details.aspx?id=42642
from movemouse.
Hi @sw3103,
Thanks for the response. I have .NET 4.5.2, I just also have newer versions. I am successfully able to create a new application in visual studio and target 4.5.2 (and run it, of course).
I think 4.7 is an in-place upgrade over 4.5 (well, specifically over 4.6).
Is there any reason you don't want to update to the latest .net?
from movemouse.
I had to go to a 4.5.2 to support the KryptonWinFormControls package. I could've just gone straight to 4.7, but as unlikely as it may be, there may still be a few Windows Vista machines out there that I would've alienated. I'll probably make the jump on my next release.
Are you able to download the source for 3.5.0 and compile it?
from movemouse.
Personally, I would say that if they are on Windows Vista, the inability to run the latest version of this software is probably not their biggest concern. :)
Running from source
Attempt 1: Running as-is
Same thing, crashes when I try to pull up the UI with a stackoverflow on SystemTrayIcon.cs:191
_moveMouse.ShowInTaskbar = true;
Attempt 2: Change target
Changed the target to 4.7.1 (I don't have the 4.7.2 sdk on this machine). Reinstalled the nuget dependencies to target net471.
Same result as above.. Incidentally, commenting that line seems to fix the immediate problem of crashes. So whatever hooks into that property seems to be the issue.
from movemouse.
This issue is related to #8. The reason, why it is solved either by disabling minimise_to_system_tray
in settings or commenting line _moveMouse.ShowInTaskbar = true;
in SystemTrayIcon.cs is that assignment of ShowInTaskbar property fires MouseForm_Resize event, which in its turn also interacts with this property. I didn't investigate, what exactly in code has changed that caused this to broke, but I was able to fix it with next change:
private FormWindowState _lastWindowState = FormWindowState.Minimized;
private void MouseForm_Resize(object sender, EventArgs e)
{
if (WindowState != _lastWindowState)
{
_lastWindowState = WindowState;
if (WindowState == FormWindowState.Minimized)
{
ShowInTaskbar = !minimiseToSystemTrayCheckBox.Checked;
}
}
}
from movemouse.
It must be the KryptonWinFormControls package which is the cause of this, as it is the only thing that has really changed. The idea was to give the UI a more modern look, but it is not worth it if it is causing crashes.
I think I'll release another update without the KryptonWinFormControls package.
from movemouse.
Thanks @sw3103. FWIW, I've always liked MM for its simple UI anyway:)
from movemouse.
Version 3.6.0 now available without KryptonWinFormControls UI components.
from movemouse.
Related Issues (20)
- Tooltip seems to be stuck in top left corner of the screen HOT 13
- Feature Request / Issue - Random Start Time HOT 3
- Mac support HOT 1
- Mouse move doesn't work when hyper-v guest window is selected HOT 12
- Does not work after a hibernate. HOT 5
- Version 4.16.3 is seen as a trojan horse by Trellix AV HOT 2
- Microsoft Defender SmartScreen issue HOT 1
- Doesnt register clicks for this game HOT 1
- Add Name properties to controls for accessibility
- Import Export of settings HOT 1
- Change Process Name HOT 7
- [Feature Request] Taskbar icon status indicator - disable HOT 3
- Scroll random distance HOT 1
- Hide the annoying popup in the top left corner. HOT 1
- Stops working and sometimes doesn't work on start. HOT 14
- Is it possible to export settings? HOT 1
- Windows Defender detect MoveMouse as an virus HOT 1
- Range of mouse movement distance and probability HOT 2
- "Automatically Resume" is missing HOT 2
- [FEATURE REQUEST]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from movemouse.