Fix issue MR-397 - Putty disappears from the screen

Fix issue MR-402 - scrollbar touch moves putty window
This commit is contained in:
Riley McArdle
2013-03-20 15:36:30 -05:00
parent 7820707e46
commit a2b3a815e7
7 changed files with 68 additions and 0 deletions

View File

@@ -1,4 +1,6 @@
Fixed issue MR-397 - Putty disappears from the screen
Fixed issue MR-398 - Full Screen mode doesn't correctly make use of available space
Fixed issue MR-402 - scrollbar touch moves putty window
Fixed issue MR-406 - Items disappear from External Tools toolbar when accessing External Tools panel
Fixed issue MR-410 - Unhandled exception when clicking New button under Theme
Fixed issue MR-413 - Can't use aplication

View File

@@ -2,6 +2,8 @@
Imports mRemoteNG.Messages
Imports mRemoteNG.Connection
Imports mRemoteNG.Tools
Imports mRemoteNG.My
Imports PSTaskDialog
Imports WeifenLuo.WinFormsUI.Docking
Imports System.IO
Imports Crownwood
@@ -377,6 +379,11 @@ Namespace App
Public Class Startup
Public Shared Sub CheckCompatibility()
CheckFipsPolicy()
CheckLenovoAutoScrollUtility()
End Sub
Private Shared Sub CheckFipsPolicy()
Dim regKey As RegistryKey
Dim isFipsPolicyEnabled As Boolean = False
@@ -399,6 +406,22 @@ Namespace App
End If
End Sub
Private Shared Sub CheckLenovoAutoScrollUtility()
If Not Settings.CompatibilityWarnLenovoAutoScrollUtility Then Return
Dim proccesses() As Process = {}
Try
proccesses = Process.GetProcessesByName("virtscrl")
Catch
End Try
If proccesses.Length = 0 Then Return
cTaskDialog.MessageBox(System.Windows.Forms.Application.ProductName, Language.strCompatibilityProblemDetected, String.Format(Language.strCompatibilityLenovoAutoScrollUtilityDetected, System.Windows.Forms.Application.ProductName), "", "", Language.strCheckboxDoNotShowThisMessageAgain, eTaskDialogButtons.OK, eSysIcons.Warning, Nothing)
If cTaskDialog.VerificationChecked Then
Settings.CompatibilityWarnLenovoAutoScrollUtility = False
End If
End Sub
Public Shared Sub CreatePanels()
Windows.configForm = New UI.Window.Config(Windows.configPanel)
Windows.configPanel = Windows.configForm

View File

@@ -927,6 +927,24 @@ Namespace My
End Get
End Property
'''<summary>
''' Looks up a localized string similar to {0} has detected the Lenovo Auto Scroll Utility running on this system. This utility is known to cause problems with {0}. It is recommended that you disable or uninstall it..
'''</summary>
Friend Shared ReadOnly Property strCompatibilityLenovoAutoScrollUtilityDetected() As String
Get
Return ResourceManager.GetString("strCompatibilityLenovoAutoScrollUtilityDetected", resourceCulture)
End Get
End Property
'''<summary>
''' Looks up a localized string similar to Compatibility problem detected.
'''</summary>
Friend Shared ReadOnly Property strCompatibilityProblemDetected() As String
Get
Return ResourceManager.GetString("strCompatibilityProblemDetected", resourceCulture)
End Get
End Property
'''<summary>
''' Looks up a localized string similar to Components Check.
'''</summary>

View File

@@ -2217,4 +2217,10 @@ mRemoteNG will now quit and begin with the installation.</value>
<data name="strPuttySavedSessionsRootName" xml:space="preserve">
<value>PuTTY Saved Sessions</value>
</data>
<data name="strCompatibilityProblemDetected" xml:space="preserve">
<value>Compatibility problem detected</value>
</data>
<data name="strCompatibilityLenovoAutoScrollUtilityDetected" xml:space="preserve">
<value>{0} has detected the Lenovo Auto Scroll Utility running on this system. This utility is known to cause problems with {0}. It is recommended that you disable or uninstall it.</value>
</data>
</root>

View File

@@ -2384,6 +2384,19 @@ Namespace My
Me("PuttySavedSessionsPanel") = value
End Set
End Property
<Global.System.Configuration.UserScopedSettingAttribute(), _
Global.System.Configuration.SettingsProviderAttribute(GetType(mRemoteNG.Config.Settings.Providers.ChooseProvider)), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Configuration.DefaultSettingValueAttribute("True")> _
Public Property CompatibilityWarnLenovoAutoScrollUtility() As Boolean
Get
Return CType(Me("CompatibilityWarnLenovoAutoScrollUtility"),Boolean)
End Get
Set
Me("CompatibilityWarnLenovoAutoScrollUtility") = value
End Set
End Property
End Class
End Namespace

View File

@@ -542,5 +542,8 @@
<Setting Name="PuttySavedSessionsPanel" Provider="mRemoteNG.Config.Settings.Providers.ChooseProvider" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="CompatibilityWarnLenovoAutoScrollUtility" Provider="mRemoteNG.Config.Settings.Providers.ChooseProvider" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
</Settings>
</SettingsFile>

View File

@@ -577,6 +577,9 @@
<setting name="PuttySavedSessionsPanel" serializeAs="String">
<value />
</setting>
<setting name="CompatibilityWarnLenovoAutoScrollUtility" serializeAs="String">
<value>True</value>
</setting>
</mRemoteNG.My.MySettings>
</userSettings>
<applicationSettings>