[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-9073) Strange input behaviour in Deploy Only server settings

Rob Stryker (JIRA) jira-events at lists.jboss.org
Mon Jun 6 23:03:59 EDT 2011


    [ https://issues.jboss.org/browse/JBIDE-9073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12606716#comment-12606716 ] 

Rob Stryker commented on JBIDE-9073:
------------------------------------

I'm going with a slightly different patch, since one of the undo's was missing a refresh, but great tip. 

Index: src/org/jboss/ide/eclipse/as/rse/ui/DeployOnlyRSEPrefComposite.java
===================================================================
--- src/org/jboss/ide/eclipse/as/rse/ui/DeployOnlyRSEPrefComposite.java	(revision 31664)
+++ src/org/jboss/ide/eclipse/as/rse/ui/DeployOnlyRSEPrefComposite.java	(working copy)
@@ -129,7 +129,6 @@
 		public void execute() {
 			callback.getServer().setAttribute(
 					IDeployableServer.DEPLOY_DIRECTORY, newDir);
-			updateDeployOnlyWidgets();
 		}
 
 		public void undo() {
@@ -162,6 +161,7 @@
 		public void undo() {
 			callback.getServer().setAttribute(
 					IDeployableServer.TEMP_DEPLOY_DIRECTORY, oldDir);
+			updateDeployOnlyWidgets();
 		}
 	}
 }


> Strange input behaviour in Deploy Only server settings
> ------------------------------------------------------
>
>                 Key: JBIDE-9073
>                 URL: https://issues.jboss.org/browse/JBIDE-9073
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS
>    Affects Versions: 3.2.0.Final, 3.2.1.CR1
>         Environment: Mac OS X 10.6 Snow Leopard
> (only happens on Max, Linux is not affected)
>            Reporter: Martin Malina
>            Assignee: Rob Stryker
>         Attachments: jbide-9073.patch
>
>
> The Deploy Directory field in Deploy Only server settings behaves strange. After every character you type your cursor is moved to the beginning of the string.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list